摘要: D. Sorting the Coins time limit per test 1 second memory limit per test 512 megabytes input standard input output standard output Recently, Dima met w 阅读全文
posted @ 2017-10-17 18:45 JSC! 阅读(318) 评论(0) 推荐(0) 编辑
摘要: C. Classroom Watch time limit per test 1 second memory limit per test 512 megabytes input standard input output standard output C. Classroom Watch tim 阅读全文
posted @ 2017-10-17 18:43 JSC! 阅读(163) 评论(0) 推荐(0) 编辑
摘要: B. Divisiblity of Differences time limit per test 1 second memory limit per test 512 megabytes input standard input output standard output B. Divisibl 阅读全文
posted @ 2017-10-17 18:42 JSC! 阅读(282) 评论(0) 推荐(0) 编辑
摘要: A. Trip For Meal time limit per test 1 second memory limit per test 512 megabytes input standard input output standard output A. Trip For Meal time li 阅读全文
posted @ 2017-10-17 18:40 JSC! 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 2761: [JLOI2011]不重复数字 Description 给出N个数,要求把其中重复的去掉,只保留第一次出现的数。 例如,给出的数为1 2 18 3 3 19 2 3 6 5 4,其中2和3有重复,去除后的结果为1 2 18 3 19 6 5 4。 给出N个数,要求把其中重复的去掉,只保留 阅读全文
posted @ 2017-10-17 15:08 JSC! 阅读(179) 评论(0) 推荐(0) 编辑
摘要: [ZJOI2005]九数码游戏 题目描述 输入输出格式 输入格式: 输入文件中包含三行三列九个数,同行的相邻两数用空格隔开,表示初始状态每个方格上的数字。初始状态不会是目标状态。 输出格式: 如果目标状态无法达到,则输出“UNSOLVABLE”(引号不输出)。 否则,第一行是一个整数S,表示最少的操 阅读全文
posted @ 2017-10-16 16:00 JSC! 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 1042: [HAOI2008]硬币购物 Description 硬币购物一共有4种硬币。面值分别为c1,c2,c3,c4。某人去商店买东西,去了tot次。每次带di枚ci硬币,买si的价值的东西。请问每次有多少种付款方法。 硬币购物一共有4种硬币。面值分别为c1,c2,c3,c4。某人去商店买东西 阅读全文
posted @ 2017-09-27 16:42 JSC! 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 1432: [ZJOI2009]Function Description Input 一行两个整数n; k。 Output 一行一个整数,表示n 个函数第k 层最少能由多少段组成。 Sample Input 1 1 Sample Output 1 HINT 对于100% 的数据满足1 ≤ k ≤ n 阅读全文
posted @ 2017-09-27 15:59 JSC! 阅读(104) 评论(0) 推荐(0) 编辑
摘要: Parliament Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 19103 Accepted: 8101 Description New convocation of The Fool Land's Parliament c 阅读全文
posted @ 2017-09-26 19:27 JSC! 阅读(180) 评论(0) 推荐(0) 编辑
摘要: A. Fair Game time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Fair Game time limit per 阅读全文
posted @ 2017-09-26 16:00 JSC! 阅读(512) 评论(0) 推荐(0) 编辑