#include int main() { printf("***************\n\n Very Good!\n\n***************"); return 0; } ...
分类:
编程语言 时间:
2018-09-14 13:55:45
阅读次数:
240
#include int main() { printf("***************\n\n Very Good!\n\n***************"); return 0; } ...
分类:
编程语言 时间:
2018-09-14 01:15:38
阅读次数:
274
In a world where ordinary people cannot reach, a boy named "Koutarou" and a girl named "Sena" are playing a video game. The game system of this video ...
分类:
其他好文 时间:
2018-09-13 22:40:48
阅读次数:
247
Description Longge is good at mathematics and he likes to think about hard mathematical problems which will be solved by some graceful algorithms. Now ...
分类:
其他好文 时间:
2018-09-13 16:34:58
阅读次数:
266
"传送门" Description 有N个点(N=0那么这个点为定义为good。现在给这N个点间连上N 1条边,使它们构成一个生成树,定义树中的点为great点当且仅当这个点本身是good点且与其相邻的点中至少有另一个good点。树的价值等于树中所有great点的价值和。定义限制价值树是指价值不大于 ...
分类:
其他好文 时间:
2018-09-13 16:16:58
阅读次数:
199
262144K In a world where ordinary people cannot reach, a boy named "Koutarou" and a girl named "Sena" are playing a video game. The game system of thi ...
分类:
其他好文 时间:
2018-09-13 01:18:33
阅读次数:
232
Ryuji is not a good student, and he doesn't want to study. But there are n books he should learn, each book has its knowledge a[i]a[i]. Unfortunately, ...
分类:
其他好文 时间:
2018-09-13 01:17:21
阅读次数:
184
define&endef 1. 命令包(canned recipes)&多行变量(muti line variables) The define directive is followed on the same line by the name of the variable being defi ...
分类:
其他好文 时间:
2018-09-12 21:10:30
阅读次数:
380
E - New Year Domino 思路:我用倍增写哒,离线可以不用倍增。 ...
分类:
其他好文 时间:
2018-09-12 01:22:13
阅读次数:
198
题意 两个人在一起玩galgame,一个人想看good ending,另一个想看bad ending,两个人轮流选选项都按最优策略选,问最后能看到什么结局。 思路 可以理解为一个人想让最终分数尽可能高,另一个想让最终分数尽可能低,然后根据每个问题双向dp,一下子就写出来了。 代码 后记 这题赛时没想 ...
分类:
其他好文 时间:
2018-09-11 23:58:43
阅读次数:
315