08 2017 档案
摘要:C. String Reconstructiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIvan had string s consis...
阅读全文
摘要:T1:A 求和时间限制: 1 Sec 空间限制: 256 MB输入输出文件名:A.in,A.out题目描述给出一棵以1为根的有n个节点的树,树上每条边都有其边权。求所有点对之间的路径上的边权和的总和。输入格式:第一行为n接下来n-1行,每行三个整数,分别表示一条边的两端点编号和边权。(编号为1.....
阅读全文
摘要:USACO ORZTime Limit: 5000/1500 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5470 Accepted Submission(s): 1802P...
阅读全文
摘要:骰子(dice.pas/c/cpp) 1s 128MB骰子。骰子就是很普通的骰子:骰子有六个面,分别标号1到6,三对面上的数字之和均为7。游戏的地图:一个高为R宽为C的网格图。 骰子一开始的状态如上图所示(即上面为1,下面为6,左面为4,右面为3,前面为2,后面为5),且位置在左上角。你需要的操作就...
阅读全文
摘要:C. Jury Markstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp watched TV-show where k ju...
阅读全文
摘要:E. Pig and Palindromestime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPeppa the Pig was walking ...
阅读全文
摘要:C. Star skytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe Cartesian coordinate system is se...
阅读全文

浙公网安备 33010602011771号