ACM_Codeforces
ITAK
这个作者很懒,什么都没留下…
展开
-
Codeforces 593 A. 2Char 【Codeforces Round #329 (Div. 2)】
A. 2Chartime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAndrew often reads articles in his favorite magazi原创 2015-11-05 20:26:29 · 527 阅读 · 0 评论 -
Codeforces 400 C. Inna and Huge Candy Matrix【 Codeforces Round #234 (Div. 2)】
思维,找规律。。。原创 2015-10-31 17:54:57 · 563 阅读 · 0 评论 -
Codeforces 407 A. Triangle 【Codeforces Round #239 (Div. 1)】
枚举原创 2015-11-20 20:50:37 · 665 阅读 · 0 评论 -
Codeforces 400 A. Inna and Choose Options 【Codeforces Round #234 (Div. 2)】
枚举。。。原创 2015-10-31 17:26:29 · 497 阅读 · 0 评论 -
Codeforces 400 B. Inna and New Matrix of Candies 【 Codeforces Round #234 (Div. 2)】
B. Inna and New Matrix of Candiestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputInna likes sweets and a ga原创 2015-10-31 17:39:31 · 571 阅读 · 0 评论 -
Codeforces 599 A. Patrick and Shopping
A. Patrick and Shoppingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday Patrick waits for a visit from原创 2015-11-23 19:47:11 · 1290 阅读 · 0 评论 -
Codeforces 592 A. PawnChess 【Codeforces Round #328 (Div. 2)】
水题。。。原创 2015-11-01 17:08:02 · 526 阅读 · 0 评论 -
Codeforces 599 C. Day at the Beach
dp 数学原创 2015-11-23 20:11:03 · 910 阅读 · 1 评论 -
Codeforces 299 B Spongebob and Joke
B. Spongebob and Joketime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhile Patrick was gone shopping, Spon原创 2015-11-23 19:57:05 · 684 阅读 · 2 评论 -
codeforces 236 B. Easy Number Challenge
B. Easy Number Challengetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's denote d(n) as the number of原创 2015-11-25 16:40:49 · 441 阅读 · 0 评论 -
Codeforces Round #146 (Div. 2) C. LCM Challenge
数学,推导 思维原创 2015-11-25 16:48:32 · 542 阅读 · 0 评论 -
codeforces 586 C. Gennady the Dentist【Codeforces Round #325 (Div. 2)】
C. Gennady the Dentisttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGennady is one of the best child dent原创 2015-10-13 17:04:40 · 521 阅读 · 0 评论 -
580A. Kefa and First Steps (Codeforces Round #321 (Div. 2))
水原创 2015-09-24 20:56:59 · 646 阅读 · 0 评论 -
Codeforces 584 B. Kolya and Tanya (Codeforces Round #324 (Div. 2))
B. Kolya and Tanyatime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputKolya loves putting gnomes at the circle原创 2015-10-07 12:44:07 · 769 阅读 · 0 评论 -
Codeforces 584 A. Olesya and Rodion(Codeforces Round #324 (Div. 2))
A. Olesya and Rodiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOlesya loves numbers consisting of n di原创 2015-10-07 11:29:59 · 1175 阅读 · 0 评论 -
Codeforces 584 C. Marina and Vasya (Codeforces Round #324 (Div. 2))
C. Marina and Vasyatime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMarina loves strings of the same length原创 2015-10-08 20:11:58 · 631 阅读 · 0 评论 -
Codeforces 584 D. Dima and Lisa ( Codeforces Round #324 (Div. 2))
D. Dima and Lisatime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDima loves representing an odd number as th原创 2015-10-08 20:19:10 · 817 阅读 · 2 评论 -
Codeoforces 558 B. Duff in Love 【 Codeforces Round #326 (Div. 2)】
素因子分解原创 2015-10-24 20:28:18 · 747 阅读 · 0 评论 -
Codeforces 588 C. Duff and Weight Lifting
C. Duff and Weight Liftingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently, Duff has been practicin原创 2015-10-24 20:36:52 · 881 阅读 · 0 评论 -
codeforces 578 B. Finding Team Member( Codeforces Round #320 (Div. 2) )
B. Finding Team Membertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is a programing contest named原创 2015-09-22 20:07:32 · 722 阅读 · 0 评论 -
Codeforces 579 C. A Problem about Polyline(Codeforces Round #320 (Div. 2) )
C. A Problem about Polylinetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere is a polyline going throug原创 2015-09-22 21:13:24 · 896 阅读 · 0 评论 -
Codeforces 591 B Rebranding【Codeforces Round #327 (Div. 2)】
B. Rebrandingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe name of one small but proud corporation consists of原创 2015-10-27 16:04:18 · 708 阅读 · 0 评论 -
Codeforces 597 A. Divisibility 【Testing Round #12】
水。。。原创 2015-11-12 19:01:39 · 610 阅读 · 0 评论 -
Codeforces Round #333 (Div. 2) B. Approximating a Constant Range
集合。。。原创 2015-11-27 21:31:51 · 609 阅读 · 0 评论 -
Codeforces Round #333 (Div. 2) A. Two Bases
模拟原创 2015-11-27 21:26:46 · 509 阅读 · 0 评论 -
Codeforces Round #334 (Div. 2) B. More Cowbell
数学。。。原创 2015-12-03 19:37:51 · 546 阅读 · 0 评论 -
Codeforces Round #354 (Div. 2)(A && B && C)
Codeforces Round #354 (Div. 2) A, B, C解题报告原创 2016-06-21 18:47:15 · 964 阅读 · 0 评论 -
Codeforces 140 A. New Year Table(计算几何)
传送门 A. New Year Table time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Gerald is setting the New Year table. The table has the form of a c原创 2016-08-03 19:48:08 · 910 阅读 · 2 评论 -
Codeforces 702 B. Powers of Two(二分)
传送门 B. Powers of Two time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output You are given n integers a1, a2, …, an. Find the number of pairs o原创 2016-08-02 11:34:32 · 1671 阅读 · 0 评论 -
Codeforces 711 E. ZS and The Birthday Paradox(数学)——Codeforces Round #369 (Div. 2)
[传送门](http://codeforces.com/contest/711/problem/E)E. ZS and The Birthday Paradoxtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZS the Coder has r原创 2016-08-30 19:12:22 · 1382 阅读 · 0 评论 -
Codeforces 707 C. Pythagorean Triples(找规律)——Codeforces Round #368 (Div. 2)
传送门Katya studies in a fifth grade. Recently her class studied right triangles and thePythagorean theorem. It appeared, that there are triples of positive integers such that youcan construct a right tri原创 2016-08-21 10:15:01 · 1345 阅读 · 0 评论 -
Codeforces 710 C. Magic Odd Square(构造)——Educational Codeforces Round 16
传送门Find an n × nn × n matrix with different numbers from 11 to n2n^2, so the sum in each row, column and both main diagonals are odd.Input The only line contains odd integer n(1 ≤ n ≤ 49).n (1 ≤ n ≤原创 2016-08-24 13:34:18 · 1162 阅读 · 0 评论 -
51NOD 1509 加长棒 && Codeforces 571 A. Lengthening Sticks(组合数学 + 挡板法)
[传送门](http://codeforces.com/contest/571/problem/A)A. Lengthening Stickstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given three sticks wi原创 2016-09-16 17:05:11 · 1468 阅读 · 0 评论 -
51NOD 1421 最大MOD值&&Codeforces 484 B. Maximum Value(筛法 + 二分)
传送门B. Maximum Valuetime limit per test1 secondmemory limit per test256 megabytesYou are given a sequence a consisting of n integers. Find the maximum possible value of(integer remainder of ai divided b原创 2016-08-13 20:47:07 · 855 阅读 · 0 评论 -
Codeforces 716 B. Complete the Word(暴力)——Codeforces Round #372 (Div. 2)
传送门B. Complete the Wordtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZS the Coder loves to read the dictionary. He thinks that a word is nic原创 2016-11-19 19:40:02 · 667 阅读 · 0 评论 -
CodeForces 558 C. Amr and Chemistry && 51NOD 1483 化学变换(暴力 + 贪心)
传送门 Amr loves Chemistry, and specially doing experiments. He is preparing for a new interesting experiment.Amr has n different types of chemicals. Each chemical i has an initial volume of ai liters. F原创 2016-07-15 16:26:25 · 1281 阅读 · 0 评论 -
Codeforces 678 D. Iterated Linear Function(构造矩阵)
传送门 D. Iterated Linear Function time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Consider a linear function f(x) = Ax + B. Let’s define g(0原创 2016-06-26 11:40:36 · 2467 阅读 · 2 评论 -
Codeforces 656 B. Scrambled(April Fools Day Contest 2016)
愚人节快乐...原创 2016-04-02 16:58:03 · 1253 阅读 · 0 评论 -
CodeForces 653 A. Bear and Three Balls——(IndiaHacks 2016 - Online Edition (Div. 1 + Div. 2))
STL。。。原创 2016-03-27 19:48:13 · 977 阅读 · 0 评论 -
Codefroces 675 B. Restoring Painting(数学推公式)
数学推公式 + 暴力枚举原创 2016-05-28 17:44:15 · 3195 阅读 · 0 评论