基础算法--------------------------
xxtz_xt
wa到怀疑人生
展开
-
codeforces839C Journey(DFS)
点击打开链接 C. Journey time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output There are n cities and n - 1 roads原创 2017-08-16 19:31:48 · 209 阅读 · 0 评论 -
CodeForces - 719B Anatoly and Cockroaches
Anatoly lives in the university dorm as many other students do. As you know, cockroaches are also living there together with students. Cockroaches might be of two colors: black and red. There are n co原创 2017-07-13 21:04:15 · 300 阅读 · 0 评论 -
Magic Spheres
Carl is a beginner magician. He has a blue, b violet and c orange magic spheres. In one move he can transform two spheres of the same color into one sphere of any other color. To make a spell that h原创 2017-01-17 11:04:16 · 253 阅读 · 0 评论