上一页 1 2 3 4 5 6 ··· 19 下一页
摘要: ORDERS Ordering the Soldiers As you are probably well aware, in Byteland it is always the military officer's main worry to order his soldiers on parad 阅读全文
posted @ 2017-03-30 18:21 sCjTyC 阅读(258) 评论(0) 推荐(0) 编辑
摘要: SUBSUMS Subset Sums Given a sequence of N (1 ≤ N ≤ 34) numbers S1, ..., SN ( 20,000,000 ≤ Si ≤ 20,000,000), determine how many subsets of S (including 阅读全文
posted @ 2017-03-30 18:13 sCjTyC 阅读(326) 评论(0) 推荐(0) 编辑
摘要: ACTIV Activities Ana likes many activities. She likes acrobatics, alchemy, archery, art, Arabic dances, and many more. She joined a club that offers s 阅读全文
posted @ 2017-03-30 17:29 sCjTyC 阅读(365) 评论(0) 推荐(0) 编辑
摘要: spoj ABCDEF ABCDEF ABCDEF You are given a set S of integers between 30000 and 30000 (inclusive). Find the total number of sextuples $(a,b,c,d,e,f):a,b 阅读全文
posted @ 2017-03-30 17:20 sCjTyC 阅读(265) 评论(0) 推荐(0) 编辑
摘要: C. Andryusha and Colored Balloons time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Andryu 阅读全文
posted @ 2017-03-07 21:33 sCjTyC 阅读(187) 评论(0) 推荐(0) 编辑
摘要: B. The Meeting Place Cannot Be Changed time limit per test 5 seconds memory limit per test 256 megabytes input standard input output standard output B 阅读全文
posted @ 2017-03-07 21:29 sCjTyC 阅读(186) 评论(0) 推荐(0) 编辑
摘要: Counting Offspring Time Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2759 Accepted Submission(s): 阅读全文
posted @ 2017-02-21 14:57 sCjTyC 阅读(184) 评论(0) 推荐(0) 编辑
摘要: D. Water Tree time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output D. Water Tree time limit p 阅读全文
posted @ 2017-02-19 17:49 sCjTyC 阅读(195) 评论(0) 推荐(0) 编辑
摘要: Apple Tree Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 28060 Accepted: 8343 Description There is an apple tree outside of kaka's house. 阅读全文
posted @ 2017-02-18 11:39 sCjTyC 阅读(404) 评论(0) 推荐(0) 编辑
摘要: C. Propagating tree time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Iahub likes trees ve 阅读全文
posted @ 2017-02-18 11:06 sCjTyC 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Artsem has a friend Saunders from University of Chicago. Saunders presented him with the following problem. Let [n] denote the set {1, ..., n}. We wil 阅读全文
posted @ 2017-02-15 12:18 sCjTyC 阅读(503) 评论(0) 推荐(0) 编辑
摘要: 神犇YY虐完数论后给傻×kAc出了一题 给定N, M,求1<=x<=N, 1<=y<=M且gcd(x, y)为质数的(x, y)有多少对 kAc这种傻×必然不会了,于是向你来请教…… 多组输入 输入描述 Input Description 第一行一个整数 T 表述数据组数接下来T行,每行两个正整数, 阅读全文
posted @ 2017-02-13 15:41 sCjTyC 阅读(841) 评论(0) 推荐(0) 编辑
摘要: yk有两序列a和b。 lyk想知道存在多少对x,y,满足以下两个条件。 1:gcd(x,y)=1。 2: abx = bay 。 例如若a={1,1,1},b={1,1,1}。那么存在7对,因为除了x=2,y=2或x=3,y=3外都满足条件。 Input Output Input示例 Output示 阅读全文
posted @ 2017-02-12 14:43 sCjTyC 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 如果一个数字存在一个约数是完全平方数,那么小Q就认为这个数是有趣的。 小Q喜欢收集有趣的数字,每找到一个有趣的数,小Q就会变得很开心。 小Q发现12是有趣的,18也是有趣的,它们都是36的约数,而在36的约数中,还有3个数是有趣的,它们是4、9、36。 小Q很好奇,在a~b里每个数字各有多少个有趣的 阅读全文
posted @ 2017-02-12 14:23 sCjTyC 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Lotus and Horticulture Accepts: 91 Submissions: 641 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Lotus and Horti 阅读全文
posted @ 2017-01-22 22:31 sCjTyC 阅读(539) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/problemset/problem/758/B B. Blown Garland time limit per test 1 second memory limit per test 256 megabytes input standard input 阅读全文
posted @ 2017-01-20 23:58 sCjTyC 阅读(194) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/problemset/problem/758/C C. Unfair Poll time limit per test 1 second memory limit per test 256 megabytes input standard input ou 阅读全文
posted @ 2017-01-20 23:54 sCjTyC 阅读(233) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/758/problem/D D. Ability To Convert time limit per test 1 second memory limit per test 256 megabytes input standard inpu 阅读全文
posted @ 2017-01-20 23:48 sCjTyC 阅读(379) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/problemset/problem/758/F F. Geometrical Progression time limit per test 4 seconds memory limit per test 256 megabytes input stan 阅读全文
posted @ 2017-01-20 23:34 sCjTyC 阅读(311) 评论(0) 推荐(0) 编辑
摘要: D. Book of Evil time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Paladin Manao caught the 阅读全文
posted @ 2016-12-31 12:37 sCjTyC 阅读(181) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 19 下一页