接下来n行
原创 2022-08-08 18:21:09
54阅读
查找字符串 时间限制:1000 ms  |  内存限制:65535 KB 难度:3 输入 第一行包含一个整数T(T<=100).表示测试数据组数。 接下来每组数据第一行包含两个整数n,m(n,m<100000),分别表示有n个字符串,小明要问你m次。 接下来n行,每行包含一个字符串,长度不大于15。 接下来m行,每行包含一个字符串,表示小明要问该串出现的次数。 输出 输出每...
原创 2022-02-15 11:24:07
52阅读
查找字符串时间限制:1000 ms  |  内存限制:65535 KB难度:3输入第一行包含一个整数T(T<=100).表示测试数据组数。接下来每组数据第一行包含两个整数n,m(n,m<100000),分别表示有n个字符串,小明要问你m次。接下来n行,每行包含一个字符串,长度不大于15。接下来m行,每行包含一个字符串,表示小明要问该串出现的次数。输出输出每...
原创 2021-09-06 14:36:00
43阅读
In your test database:-You are using Recovery Manager (RMAN) to perform incremental backups of your test database-The test database is running in NOAR
转载 2017-11-15 13:14:00
52阅读
2评论
In this problem, a rooted tree is a directed graph such that, there is exactly one node (the root) for which all other nodes are descendants of this node, plus every node has exactly one parent, exce...
转载 2018-11-09 07:34:00
88阅读
2评论
题目In this problem, a rooted tree is a directed graph such that, there is exactly one node (the root) for which all other nodes are descendants of this node, plus every node has exactly one parent,
原创 2023-03-07 12:56:19
55阅读
分类讨论+并查集。也不是那么难的哈,主要就是思维的训练。
原创 2022-09-10 07:06:37
1223阅读
In this problem, a rooted tree is a directed graph such that, there is exactly one no
原创 2022-08-03 21:32:07
59阅读
它和 requestAnimationFrame 一样吗?最初我以为这个函数就是和实现动画的 requestAnimationFrame 拥有相同的行为,因为它们的使用方法非常类似,但实际使用后发现它们的差别还是蛮大的。本文主要对这个神秘的函数进行一些说明和分析。定义和用法首先来看一下它的定义和用法,MDN是这样定义它的:这是一个实验中的功能,window.requestIdleCallback(
转载 2022-11-09 10:24:19
193阅读
In this problem, a rooted tree is a directed graph such that, there is exactly one node (the root) for which all other nodes are descendants of this n
转载 2020-08-04 13:33:00
63阅读
认识Mixin Mixin的基本使用 Mixin的合并规则 全局混入Mixin extends import { createApp } from 'vue'; import App from './01_mixin和extends/App.vue'; // import App from './0
转载 2021-06-18 16:27:00
678阅读
2评论
problem1 link 依次枚举每个元素$x$,作为$S$中开始选择的第一个元素。对于当前$S$中任意两个元素$i,j$,若$T[i][j]$不在$S$中,则将其加入$S$,然后继续扩展;若所有的$T[i][j]$都在$S$中,则结束扩展。每次扩展结束之后保存$|S|$的最小值。 problem
原创 2021-09-05 14:59:10
49阅读
原题链接在这里:https://leetcode.com/problems/redundant-connection-ii/ 题目: In this problem, a rooted tree is a directed graph such that, there is exactly one
转载 2019-07-24 12:07:00
65阅读
2评论
过整个树大小的一半 具体细节看代码实现 /** * @Date: 2019-04-16T18:47:46+08:00 * @Last modified time: 2019-04-16T19:30:05+08:00 */ #include <iost...
原创 2022-10-25 14:54:58
67阅读
A. Subtract or Divide(AC)题意:猜想n可以通过若干次的下面两个操作变为1,输出最小操作次数1:
原创 2022-11-25 19:01:00
16阅读
CF685C 在一个三维空间中有若干个点。 你要找到一个整点使得它与若干个整点的曼哈顿距离最大值最小。 \(n\le 10^5\) \(坐标\le 10^{18}\) 简单题+调半天 首先可以类比二维平面的曼哈顿距离和切比雪夫距离的转化:$(x,y)\(到原点的曼哈顿距离为\)|x|+|y|$,切比
转载 2020-09-25 22:19:00
52阅读
2评论
Codeforces Round #685 (Div. 2) ...
转载 2021-10-13 11:47:00
42阅读
2评论
题意:给 a,b两个字符串,然后让a变成b方法:可以对前缀1-k的01串进行翻转,最后对前缀
原创 2022-09-19 09:56:39
23阅读
this time, we will be given a directed graph, and we need to find ...
转载 2020-05-13 04:26:00
51阅读
2评论
The page format dialog allows the user to change the default page format values such as the orientation and paper size.
转载 2018-09-02 21:55:00
34阅读
2评论
  • 1
  • 2
  • 3
  • 4
  • 5