摘要: G. Raffles time limit per test:5 seconds memory limit per test:256 megabytes input:standard input output:standard output Johnny is at a carnival which 阅读全文
posted @ 2017-06-29 22:01 Angel_Kitty 阅读(358) 评论(0) 推荐(0) 编辑
摘要: [编程题] 黑白树 时间限制:1秒 空间限制:32768K 一棵n个点的有根树,1号点为根,相邻的两个节点之间的距离为1。树上每个节点i对应一个值k[i]。每个点都有一个颜色,初始的时候所有点都是白色的。 你需要通过一系列操作使得最终每个点变成黑色。每次操作需要选择一个节点i,i必须是白色的,然后i 阅读全文
posted @ 2017-06-29 21:56 Angel_Kitty 阅读(240) 评论(0) 推荐(0) 编辑
摘要: F. Group Projects time limit per test:2 seconds memory limit per test:256 megabytes input:standard input output:standard output There are n students i 阅读全文
posted @ 2017-06-29 21:00 Angel_Kitty 阅读(784) 评论(1) 推荐(0) 编辑
摘要: E. Simple Skewness time limit per test:3 seconds memory limit per test:256 megabytes input:standard input output:standard output Define the simple ske 阅读全文
posted @ 2017-06-29 19:39 Angel_Kitty 阅读(327) 评论(0) 推荐(0) 编辑
摘要: D. Jerry's Protest time limit per test:2 seconds memory limit per test:256 megabytes input:standard input output:standard output Andrew and Jerry are 阅读全文
posted @ 2017-06-29 17:07 Angel_Kitty 阅读(376) 评论(0) 推荐(0) 编辑
摘要: B. Cards time limit per test:2 seconds memory limit per test:256 megabytes input:standard input output:standard output Catherine has a deck of n cards 阅读全文
posted @ 2017-06-29 12:41 Angel_Kitty 阅读(269) 评论(0) 推荐(0) 编辑
摘要: A. Robot Sequence time limit per test:2 seconds memory limit per test:256 megabytes input:standard input output:standard output Calvin the robot lies 阅读全文
posted @ 2017-06-29 11:44 Angel_Kitty 阅读(300) 评论(0) 推荐(0) 编辑
摘要: C. Block Towers time limit per test:2 seconds memory limit per test:256 megabytes input:standard input output:standard output Students in a class are 阅读全文
posted @ 2017-06-29 11:12 Angel_Kitty 阅读(268) 评论(0) 推荐(0) 编辑