Codeforces Round 287 (Div. 2)

Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
507 Codeforces Round 287 (Div. 2) FINISHED False 7200 309794399 Jan. 23, 2015, 4 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1778 ) D The Maths Lecture PROGRAMMING dp implementation 2500

B"Amr doesn't like Maths as he finds it really boring, so he usually sleeps in Maths lectures. But one day the teacher suspected that Amr is sleeping and asked him a question to make sure he wasn't. First he gave Amr two positive integers n and k. Then he asked Amr, how many integer numbers x xe2 x80 x89> xe2 x80 x890 exist such that: As the answer to this question may be pretty huge the teacher asked Amr to output only its remainder modulo a number m. Can you help Amr escape this embarrassing situation? Input consists of three integers n, xe2 x80 x89k, xe2 x80 x89m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109). Print the required number modulo m. A suffix of a string S is a non-empty string that can be obtained by removing some number (possibly, zero) of first characters from S."...

Tutorials

Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
52915380 georgerapeanu D April 17, 2019, 3:38 p.m. OK Clang++17 Diagnostics TESTS 79 108 0 2500
14934826 Envyte D Dec. 23, 2015, 7:44 a.m. OK FPC TESTS 79 30 1024000 2500
14934841 FlyingCat- D Dec. 23, 2015, 7:46 a.m. OK FPC TESTS 79 31 921600 2500
14962949 neromix188 D Dec. 24, 2015, 3:19 a.m. OK FPC TESTS 79 31 1740800 2500
14941514 buituan71099 D Dec. 23, 2015, 4:21 p.m. OK FPC TESTS 79 31 1843200 2500
18279917 Gray_58 D June 7, 2016, 6:58 a.m. OK FPC TESTS 79 31 2662400 2500
50776601 chaorenhaha D March 4, 2019, 8:51 a.m. OK FPC TESTS 79 46 819200 2500
13010253 Astreb D Sept. 15, 2015, 3:29 p.m. OK FPC TESTS 79 46 921600 2500
14939114 ThereIsNoSalvationForMe D Dec. 23, 2015, 1:31 p.m. OK FPC TESTS 79 46 1945600 2500
12254725 nielswiles D July 28, 2015, 4:54 p.m. OK FPC TESTS 79 62 1843200 2500
11490396 archlinux D June 7, 2015, 5:27 p.m. OK FPC TESTS 79 93 8089600 2500
10797648 Chipe1 D April 20, 2015, 12:24 p.m. OK GNU C TESTS 79 31 2764800 2500
18759868 Darknight D June 28, 2016, 12:27 a.m. OK GNU C++ TESTS 79 15 409600 2500
9718172 zgzjsxshycxksxhsh D Feb. 4, 2015, 3:27 p.m. OK GNU C++ TESTS 79 15 819200 2500
15193251 chenhuan001 D Jan. 5, 2016, 4:11 p.m. OK GNU C++ TESTS 79 15 921600 2500
15144476 mdwudier D Jan. 1, 2016, 1:46 a.m. OK GNU C++ TESTS 79 15 921600 2500
12207771 vjudge5 D July 24, 2015, 2:58 a.m. OK GNU C++ TESTS 79 15 921600 2500
33896240 begv D Jan. 4, 2018, 4:56 a.m. OK GNU C++ TESTS 79 15 3072000 2500
18335154 anm_coder007 D June 9, 2016, 4:48 a.m. OK GNU C++ TESTS 79 15 3174400 2500
26103415 vjudge1 D April 3, 2017, 3:33 p.m. OK GNU C++ TESTS 79 15 3891200 2500
16707130 alex20030190 D March 14, 2016, 2:34 a.m. OK GNU C++ TESTS 79 30 0 2500
13907625 bayrhuu D Oct. 28, 2015, 2:42 a.m. OK GNU C++ TESTS 79 30 0 2500
9549569 ml_mhl D Jan. 25, 2015, 1:41 p.m. OK GNU C++0x TESTS 79 15 921600 2500
9717012 zlzmsrhak D Feb. 4, 2015, 2:31 p.m. OK GNU C++0x TESTS 79 30 716800 2500
10129850 dfds D March 3, 2015, 8:30 a.m. OK GNU C++0x TESTS 79 30 819200 2500
9778464 maschuet D Feb. 9, 2015, 9:37 a.m. OK GNU C++0x TESTS 79 30 819200 2500
10174506 monsomoe D March 6, 2015, 8:47 a.m. OK GNU C++0x TESTS 79 31 409600 2500
9639882 yuyan2do D Jan. 31, 2015, 10:59 a.m. OK GNU C++0x TESTS 79 31 409600 2500
9609923 Payne D Jan. 29, 2015, 2:09 a.m. OK GNU C++0x TESTS 79 31 409600 2500
9811108 shubh09 D Feb. 12, 2015, 8:25 p.m. OK GNU C++0x TESTS 79 31 512000 2500
9745120 BogdanFlorea D Feb. 7, 2015, 1:44 p.m. OK GNU C++0x TESTS 79 31 512000 2500
9561390 cq_phqg D Jan. 26, 2015, 2:29 p.m. OK GNU C++0x TESTS 79 31 512000 2500
29861087 HellKitsune D Aug. 29, 2017, 8:22 a.m. OK GNU C++11 TESTS 79 15 0 2500
13179931 JohStraat D Sept. 23, 2015, 7 a.m. OK GNU C++11 TESTS 79 15 0 2500
16781528 17865922903 D March 18, 2016, 12:32 p.m. OK GNU C++11 TESTS 79 15 921600 2500
16983912 fisty D March 28, 2016, 8:28 a.m. OK GNU C++11 TESTS 79 15 3174400 2500
13948154 naij D Oct. 30, 2015, 7:46 a.m. OK GNU C++11 TESTS 79 30 0 2500
13948080 naij D Oct. 30, 2015, 7:38 a.m. OK GNU C++11 TESTS 79 30 102400 2500
19418005 abigcat D July 26, 2016, 8:04 a.m. OK GNU C++11 TESTS 79 30 921600 2500
16032743 rajeevkgp D Feb. 15, 2016, 12:38 p.m. OK GNU C++11 TESTS 79 30 921600 2500
14687050 syc1999 D Dec. 7, 2015, 2:10 p.m. OK GNU C++11 TESTS 79 30 921600 2500
22724343 mzhq D Dec. 6, 2016, 6:46 a.m. OK GNU C++11 TESTS 79 30 1740800 2500
31874049 MohamedZain D Oct. 29, 2017, 6:01 p.m. OK GNU C++14 TESTS 79 15 921600 2500
34825502 Zxyelf D Feb. 2, 2018, 3:50 a.m. OK GNU C++14 TESTS 79 15 1945600 2500
34825409 Zxyelf D Feb. 2, 2018, 3:44 a.m. OK GNU C++14 TESTS 79 15 1945600 2500
33870377 erfan._.m D Jan. 2, 2018, 4:55 p.m. OK GNU C++14 TESTS 79 15 1945600 2500
33742663 Yuki726 D Dec. 28, 2017, 5:49 p.m. OK GNU C++14 TESTS 79 15 2764800 2500
25481134 0w1 D March 14, 2017, 4:01 p.m. OK GNU C++14 TESTS 79 15 2764800 2500
35679055 farukkastamonuda D Feb. 25, 2018, 12:30 p.m. OK GNU C++14 TESTS 79 15 5222400 2500
30364859 3015218054 D Sept. 15, 2017, 2:08 p.m. OK GNU C++14 TESTS 79 30 921600 2500
30207892 Infinite_Stars D Sept. 8, 2017, 4:44 p.m. OK GNU C++14 TESTS 79 30 921600 2500
20403268 Arpa D Sept. 5, 2016, 3:44 p.m. OK GNU C++14 TESTS 79 30 921600 2500
54797576 Steve120 D May 29, 2019, 10:24 a.m. OK GNU C++17 TESTS 79 31 0 2500
64152283 ivan100sic D Nov. 3, 2019, 11:47 a.m. OK GNU C++17 TESTS 79 31 409600 2500
41068895 Excogitatoris D July 31, 2018, 8:51 p.m. OK GNU C++17 TESTS 79 31 409600 2500
41068824 Excogitatoris D July 31, 2018, 8:47 p.m. OK GNU C++17 TESTS 79 31 409600 2500
41061503 Excogitatoris D July 31, 2018, 5 p.m. OK GNU C++17 TESTS 79 31 409600 2500
41061313 Excogitatoris D July 31, 2018, 4:57 p.m. OK GNU C++17 TESTS 79 31 409600 2500
62612595 ruo D Oct. 15, 2019, 10:20 a.m. OK GNU C++17 TESTS 79 31 921600 2500
58146586 TarekHelwani D Aug. 1, 2019, 9:58 p.m. OK GNU C++17 TESTS 79 31 921600 2500
46671887 roll_no_1 D Dec. 6, 2018, 7:18 a.m. OK GNU C++17 TESTS 79 31 921600 2500
48044335 tfg D Jan. 6, 2019, 11:51 p.m. OK GNU C++17 TESTS 79 31 1024000 2500
12023923 LuuNhatPhi D July 13, 2015, 12:12 a.m. OK Java 7 TESTS 79 78 0 2500
9546070 Guliash D Jan. 25, 2015, 7:39 a.m. OK Java 7 TESTS 79 78 0 2500
12003364 tehqin D July 11, 2015, 2:23 a.m. OK Java 7 TESTS 79 92 0 2500
9974032 odorf D Feb. 23, 2015, 9:05 p.m. OK Java 7 TESTS 79 93 0 2500
9853878 Mamok D Feb. 15, 2015, 2:30 a.m. OK Java 7 TESTS 79 93 0 2500
9734206 megaspazz D Feb. 6, 2015, 6:44 a.m. OK Java 7 TESTS 79 93 0 2500
9734195 megaspazz D Feb. 6, 2015, 6:42 a.m. OK Java 7 TESTS 79 93 0 2500
9734186 megaspazz D Feb. 6, 2015, 6:42 a.m. OK Java 7 TESTS 79 93 0 2500
9639820 zimpha D Jan. 31, 2015, 10:53 a.m. OK Java 7 TESTS 79 93 0 2500
9566572 gpita D Jan. 26, 2015, 11:20 p.m. OK Java 7 TESTS 79 108 0 2500
9611560 stan D Jan. 29, 2015, 6:46 a.m. OK Java 8 TESTS 79 109 0 2500
11453778 santa_calus D June 6, 2015, 2:47 a.m. OK Java 8 TESTS 79 124 0 2500
9791466 Pimpom D Feb. 10, 2015, 5:12 p.m. OK Java 8 TESTS 79 124 0 2500
9707099 niyaznigmatul D Feb. 3, 2015, 10:25 p.m. OK Java 8 TESTS 79 124 0 2500
9631926 Ringod D Jan. 30, 2015, 6:38 p.m. OK Java 8 TESTS 79 124 0 2500
15160657 szilard D Jan. 2, 2016, 4:47 p.m. OK Java 8 TESTS 79 139 0 2500
11132401 hama-du D May 18, 2015, 7:45 a.m. OK Java 8 TESTS 79 139 0 2500
40156755 Ahmad D July 10, 2018, 3:47 a.m. OK Java 8 TESTS 79 140 0 2500
9595039 A.Elahi D Jan. 27, 2015, 11:18 p.m. OK Java 8 TESTS 79 140 0 2500
32433432 Omar_Morsi D Nov. 18, 2017, 2:12 p.m. OK Java 8 TESTS 79 140 20582400 2500
10218803 dilemma D March 9, 2015, 3:05 p.m. OK MS C++ TESTS 79 31 409600 2500
9617489 romanova D Jan. 29, 2015, 4:21 p.m. OK MS C++ TESTS 79 31 409600 2500
19040311 vjudge1 D July 12, 2016, 3:15 a.m. OK MS C++ TESTS 79 31 819200 2500
14681391 Waegj D Dec. 7, 2015, midnight OK MS C++ TESTS 79 31 819200 2500
10535905 dotorya D March 31, 2015, 6:12 p.m. OK MS C++ TESTS 79 31 819200 2500
9742303 O_A D Feb. 7, 2015, 6:10 a.m. OK MS C++ TESTS 79 31 819200 2500
9603636 kewl D Jan. 28, 2015, 2:15 p.m. OK MS C++ TESTS 79 31 921600 2500
9558171 Mano D Jan. 26, 2015, 9:06 a.m. OK MS C++ TESTS 79 31 921600 2500
10139351 Lingsong D March 4, 2015, 12:04 a.m. OK MS C++ TESTS 79 31 1740800 2500
9550150 vjudge3 D Jan. 25, 2015, 2:34 p.m. OK MS C++ TESTS 79 31 1843200 2500
68326648 FireBird23 D Jan. 6, 2020, 5:07 p.m. OK PyPy 3 TESTS 79 327 6656000 2500
9559620 hellman_ D Jan. 26, 2015, 11:58 a.m. OK Python 2 TESTS 79 623 5632000 2500
9614222 qsqx D Jan. 29, 2015, 11:38 a.m. OK Python 3 TESTS 79 498 0 2500
35884220 ______u______ D March 3, 2018, 1:09 p.m. OK Python 3 TESTS 79 498 5632000 2500
35883923 ______n______ D March 3, 2018, 1:03 p.m. OK Python 3 TESTS 79 498 5632000 2500
35883163 _____k_____ D March 3, 2018, 12:50 p.m. OK Python 3 TESTS 79 498 5632000 2500
35882789 _____i_____ D March 3, 2018, 12:44 p.m. OK Python 3 TESTS 79 498 5632000 2500
35872481 ______h______ D March 3, 2018, 7:10 a.m. OK Python 3 TESTS 79 498 5632000 2500
35872316 ______k______ D March 3, 2018, 7:09 a.m. OK Python 3 TESTS 79 498 5632000 2500
35871800 ______i______ D March 3, 2018, 6:58 a.m. OK Python 3 TESTS 79 498 5632000 2500
35864331 ______M______ D March 2, 2018, 11:06 p.m. OK Python 3 TESTS 79 498 5632000 2500
9773591 Grevozin D Feb. 8, 2015, 5:38 p.m. OK Ruby TESTS 79 420 512000 2500

remove filters

Back to search problems