Codeforces Round 260 (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
456 Codeforces Round 260 (Div. 2) FINISHED False 7200 330100204 Aug. 8, 2014, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 17039 ) B Fedya and Maths PROGRAMMING math number theory 1200

B"Fedya studies in a gymnasium. Fedya's maths hometask is to calculate the following expression: for given value of n. Fedya managed to complete the task. Can you? Note that given number n can be extremely large (e.g. it can exceed any integer type of your programming language). The single line contains a single integer n (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910105). The number doesn't contain any leading zeroes. Print the value of the expression without leading zeros. Operation x mod y means taking remainder after division x by y. Note to the first sample: "...

Tutorials

Разбор задач

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
20657237 rajahacker123 B Sept. 16, 2016, 9:55 a.m. OK FPC TESTS 47 15 307200 1200
19562154 vladKB1 B Aug. 1, 2016, 1:52 p.m. OK FPC TESTS 47 15 307200 1200
27110440 The_Winners B May 14, 2017, 5:17 p.m. OK FPC TESTS 47 15 614400 1200
24911413 UNDogMan B Feb. 23, 2017, 8:29 a.m. OK FPC TESTS 47 15 2150400 1200
19176335 Yurij_Bugaychuck B July 16, 2016, 3:59 p.m. OK FPC TESTS 47 30 307200 1200
22254144 tieuchanlong B Nov. 15, 2016, 11:24 p.m. OK FPC TESTS 47 30 307200 1200
50726429 minhkha B March 3, 2019, 9:59 a.m. OK FPC TESTS 47 31 512000 1200
68708560 canhtoantpvp B Jan. 13, 2020, 12:12 p.m. OK FPC TESTS 47 31 614400 1200
67597792 Gulas B Dec. 25, 2019, 10:52 a.m. OK FPC TESTS 47 31 614400 1200
52522229 chaorenhaha B April 9, 2019, 9:26 a.m. OK FPC TESTS 47 31 614400 1200
27541402 yamstudio B June 3, 2017, 10:38 a.m. OK GNU C TESTS 47 15 0 1200
30169877 ever1994 B Sept. 7, 2017, 1:55 a.m. OK GNU C TESTS 47 15 0 1200
29640767 rusurares B Aug. 21, 2017, 10:05 a.m. OK GNU C TESTS 47 15 0 1200
29531814 tanus_era B Aug. 17, 2017, 5:38 p.m. OK GNU C TESTS 47 15 0 1200
29531755 Dhruba10414 B Aug. 17, 2017, 5:35 p.m. OK GNU C TESTS 47 15 0 1200
27619631 Moneesh B June 6, 2017, 6:08 p.m. OK GNU C TESTS 47 15 0 1200
21191070 vjudge3 B Oct. 4, 2016, 4:10 p.m. OK GNU C TESTS 47 15 0 1200
20929301 Projit B Sept. 26, 2016, 4:02 p.m. OK GNU C TESTS 47 15 0 1200
20673477 account_deleted B Sept. 17, 2016, 5:19 a.m. OK GNU C TESTS 47 15 0 1200
20374333 harrypotter0 B Sept. 4, 2016, 4:09 a.m. OK GNU C TESTS 47 15 0 1200
32092866 vjudge2 B Nov. 6, 2017, 11:46 a.m. OK GNU C++ TESTS 47 15 0 1200
32091320 vjudge4 B Nov. 6, 2017, 10:20 a.m. OK GNU C++ TESTS 47 15 0 1200
31916680 vjudge1 B Oct. 31, 2017, 10 a.m. OK GNU C++ TESTS 47 15 0 1200
30536650 vjudge5 B Sept. 20, 2017, 6:49 a.m. OK GNU C++ TESTS 47 15 0 1200
30383741 nswojvjudge3 B Sept. 16, 2017, 1:05 p.m. OK GNU C++ TESTS 47 15 0 1200
30226766 nswojvjudge3 B Sept. 9, 2017, 1:29 p.m. OK GNU C++ TESTS 47 15 0 1200
29530005 vjudge4 B Aug. 17, 2017, 4:06 p.m. OK GNU C++ TESTS 47 15 0 1200
29516095 vjudge4 B Aug. 17, 2017, 1:46 a.m. OK GNU C++ TESTS 47 15 0 1200
22596555 Ibodullo_Yorov B Nov. 29, 2016, 10:53 a.m. OK GNU C++ TESTS 47 15 0 1200
22151879 vjudge4 B Nov. 10, 2016, 4:31 p.m. OK GNU C++ TESTS 47 15 0 1200
29533424 m-_-m B Aug. 17, 2017, 7:12 p.m. OK GNU C11 TESTS 47 15 0 1200
20661200 pppppc B Sept. 16, 2016, 1:51 p.m. OK GNU C11 TESTS 47 15 0 1200
32756566 M-F-B-A B Nov. 28, 2017, 5:04 p.m. OK GNU C11 TESTS 47 15 1843200 1200
25804399 vjudge1 B March 25, 2017, 6:51 p.m. OK GNU C11 TESTS 47 15 1843200 1200
23462526 effutue B Dec. 31, 2016, 4:26 a.m. OK GNU C11 TESTS 47 15 1945600 1200
29307509 Jami20 B Aug. 9, 2017, 2:01 p.m. OK GNU C11 TESTS 47 15 1945600 1200
33385260 jass2 B Dec. 18, 2017, 4:13 p.m. OK GNU C11 TESTS 47 15 2867200 1200
36387379 vjudge2 B March 18, 2018, 11:53 a.m. OK GNU C11 TESTS 47 15 3276800 1200
21797809 Amatya B Oct. 26, 2016, 2:55 p.m. OK GNU C11 TESTS 47 30 1024000 1200
25570125 jakshat100 B March 17, 2017, 11:22 a.m. OK GNU C11 TESTS 47 30 1843200 1200
22714099 me.megha96 B Dec. 5, 2016, 2:56 p.m. OK GNU C++11 TESTS 47 15 0 1200
27237932 QuRdAdZe B May 20, 2017, 5:02 p.m. OK GNU C++11 TESTS 47 15 0 1200
22509887 ahmedsharyo B Nov. 26, 2016, 1:04 p.m. OK GNU C++11 TESTS 47 15 0 1200
21894837 vjudge5 B Oct. 30, 2016, 3:28 p.m. OK GNU C++11 TESTS 47 15 0 1200
21894827 YJH143 B Oct. 30, 2016, 3:27 p.m. OK GNU C++11 TESTS 47 15 0 1200
19180366 Solve_Every_Where B July 16, 2016, 9:57 p.m. OK GNU C++11 TESTS 47 15 0 1200
19180302 Solve_Every_Where B July 16, 2016, 9:50 p.m. OK GNU C++11 TESTS 47 15 0 1200
18753812 MANANpal97 B June 27, 2016, 2:22 p.m. OK GNU C++11 TESTS 47 15 0 1200
23044272 YakinRubaiat B Dec. 17, 2016, 10:12 a.m. OK GNU C++11 TESTS 47 15 0 1200
32281682 ONCE B Nov. 13, 2017, 10:49 a.m. OK GNU C++11 TESTS 47 15 102400 1200
27682052 filipeabelha B June 9, 2017, 4:06 a.m. OK GNU C++14 TESTS 47 15 0 1200
29514525 King B Aug. 16, 2017, 9:36 p.m. OK GNU C++14 TESTS 47 15 0 1200
27483294 Log_out B June 1, 2017, 11:19 a.m. OK GNU C++14 TESTS 47 15 0 1200
27402349 _Plague_ B May 28, 2017, 7 a.m. OK GNU C++14 TESTS 47 15 0 1200
22928166 anand.mohit001 B Dec. 13, 2016, 2:10 p.m. OK GNU C++14 TESTS 47 15 0 1200
22927858 anand.mohit001 B Dec. 13, 2016, 1:55 p.m. OK GNU C++14 TESTS 47 15 0 1200
22516990 aurko96 B Nov. 26, 2016, 8:43 p.m. OK GNU C++14 TESTS 47 15 0 1200
29518527 vjudge1 B Aug. 17, 2017, 5:35 a.m. OK GNU C++14 TESTS 47 15 102400 1200
27706673 hpkt.pkt B June 10, 2017, 12:59 p.m. OK GNU C++14 TESTS 47 15 102400 1200
27693302 machadianurag1996 B June 9, 2017, 4:56 p.m. OK GNU C++14 TESTS 47 15 102400 1200
41287431 CaptainTheBoatMan B Aug. 6, 2018, 9:41 p.m. OK GNU C++17 TESTS 47 15 307200 1200
47850814 ashank B Jan. 2, 2019, 5:40 p.m. OK GNU C++17 TESTS 47 15 307200 1200
56276099 sasha4 B June 29, 2019, 2:20 p.m. OK GNU C++17 TESTS 47 15 307200 1200
64893144 ERROR... B Nov. 14, 2019, 3:29 p.m. OK GNU C++17 TESTS 47 15 307200 1200
62371873 adityad1998 B Oct. 11, 2019, 3:59 p.m. OK GNU C++17 TESTS 47 15 307200 1200
39596264 PraneyR B June 24, 2018, 9:03 a.m. OK GNU C++17 TESTS 47 15 307200 1200
39681398 Harsh B June 26, 2018, 4:48 p.m. OK GNU C++17 TESTS 47 15 307200 1200
50293490 Farabi B Feb. 21, 2019, 6:52 p.m. OK GNU C++17 TESTS 47 15 1331200 1200
36034255 E.Haque B March 7, 2018, 6:18 a.m. OK GNU C++17 TESTS 47 15 2150400 1200
38786595 MYTE B May 30, 2018, 11:27 p.m. OK GNU C++17 TESTS 47 15 3379200 1200
36185377 Ruinsgirl B March 11, 2018, 4:38 a.m. OK GNU C++17 Diagnostics TESTS 47 951 98611200 1200
24380452 yuliang B Feb. 2, 2017, 2:44 p.m. OK Go TESTS 47 31 4915200 1200
22035414 beeblebrox B Nov. 4, 2016, 1:38 p.m. OK Go TESTS 47 109 24473600 1200
40184943 vjudge4 B July 11, 2018, 12:19 a.m. OK Go TESTS 47 234 1228800 1200
40184935 Roowe B July 11, 2018, 12:18 a.m. OK Go TESTS 47 234 1228800 1200
19766909 guzhoudiaoke B Aug. 10, 2016, 1:56 p.m. OK Go TESTS 47 249 6860800 1200
26901382 georgy.ivanov B May 6, 2017, 12:41 p.m. OK Haskell TESTS 47 15 0 1200
57807281 jmazon B July 26, 2019, 3:41 p.m. OK Haskell TESTS 47 46 102400 1200
51259076 jedikni B March 13, 2019, 12:35 p.m. OK Haskell TESTS 47 46 102400 1200
47105926 mihassan B Dec. 16, 2018, 12:55 p.m. OK Haskell TESTS 47 951 26419200 1200
69068209 perdedor B Jan. 18, 2020, 7:46 p.m. OK Java 11 TESTS 47 935 0 1200
27415467 dark_reality B May 28, 2017, 3:08 p.m. OK Java 8 TESTS 47 108 0 1200
45734331 Misha48483 B Nov. 14, 2018, 5:02 p.m. OK Java 8 TESTS 47 109 0 1200
69282287 an09mous B Jan. 22, 2020, 6:32 a.m. OK Java 8 TESTS 47 109 0 1200
68852314 asafiul B Jan. 15, 2020, 9:25 a.m. OK Java 8 TESTS 47 109 0 1200
68699568 tahasin B Jan. 13, 2020, 9 a.m. OK Java 8 TESTS 47 109 0 1200
55242640 adeepgarg13 B June 7, 2019, 11:55 a.m. OK Java 8 TESTS 47 109 0 1200
44579027 mohdafzal330 B Oct. 20, 2018, 8:02 a.m. OK Java 8 TESTS 47 109 0 1200
30127749 300.0E B Sept. 6, 2017, 9:47 a.m. OK Java 8 TESTS 47 109 0 1200
27677286 Petruchcho B June 8, 2017, 6:41 p.m. OK Java 8 TESTS 47 109 0 1200
27566648 l-l_A_S_l-l_E_M B June 4, 2017, 3:18 p.m. OK Java 8 TESTS 47 109 0 1200
26507873 korifey B April 20, 2017, 4:52 a.m. OK Kotlin TESTS 47 124 20992000 1200
58958304 david_varela B Aug. 17, 2019, 2:01 p.m. OK Kotlin TESTS 47 873 0 1200
41116899 NEvOl B Aug. 2, 2018, 9:36 a.m. OK Mono C# TESTS 47 46 307200 1200
59889127 boookva B Sept. 2, 2019, 9:32 a.m. OK Mono C# TESTS 47 61 307200 1200
59329565 Angela42 B Aug. 22, 2019, 11:37 p.m. OK Mono C# TESTS 47 61 307200 1200
38995819 ymrg3307 B June 6, 2018, 1:19 p.m. OK Mono C# TESTS 47 61 409600 1200
43711084 nemars B Oct. 3, 2018, 3:43 a.m. OK Mono C# TESTS 47 62 4403200 1200
66666431 artworks B Dec. 12, 2019, 7:21 a.m. OK Mono C# TESTS 47 93 5632000 1200
31868988 aceeca1 B Oct. 29, 2017, 2:08 p.m. OK MS C# TESTS 47 46 307200 1200
22424029 anoopgupta166 B Nov. 23, 2016, 1:28 p.m. OK MS C# TESTS 47 46 409600 1200
26215871 Sorryforpartyrocking B April 8, 2017, 10:05 a.m. OK MS C# TESTS 47 46 9420800 1200
29327531 Skndr B Aug. 10, 2017, 1:29 p.m. OK MS C# TESTS 47 46 9728000 1200
28275758 artsin666 B July 4, 2017, 8:47 a.m. OK MS C# TESTS 47 46 9830400 1200
20738118 satta_93 B Sept. 18, 2016, 3:06 p.m. OK MS C# TESTS 47 62 409600 1200
19891876 Shining888 B Aug. 15, 2016, 4:21 p.m. OK MS C# TESTS 47 62 9318400 1200
20742299 idee.fixe B Sept. 18, 2016, 7:02 p.m. OK MS C++ TESTS 47 15 102400 1200
27705332 adriks B June 10, 2017, 11:37 a.m. OK MS C++ TESTS 47 15 204800 1200
22111318 Ehsan22 B Nov. 8, 2016, 11:45 a.m. OK MS C++ TESTS 47 15 307200 1200
20264805 Omnia.Saleh B Aug. 29, 2016, 9:04 p.m. OK MS C++ TESTS 47 15 307200 1200
20869434 sahab_s B Sept. 23, 2016, 5:12 p.m. OK MS C++ TESTS 47 15 307200 1200
22527614 Anaar B Nov. 27, 2016, 1:43 p.m. OK MS C++ TESTS 47 15 307200 1200
27181535 daniil.maltsev.md B May 17, 2017, 2:17 p.m. OK MS C++ TESTS 47 15 409600 1200
29518387 vjudge3 B Aug. 17, 2017, 5:25 a.m. OK MS C++ TESTS 47 15 409600 1200
27344665 Capitan B May 25, 2017, 8:20 p.m. OK MS C++ TESTS 47 15 512000 1200
20742270 idee.fixe B Sept. 18, 2016, 7:01 p.m. OK MS C++ TESTS 47 15 1024000 1200
66824962 vjudge3 B Dec. 14, 2019, 8:38 a.m. OK MS C++ 2017 TESTS 47 31 102400 1200
66828182 vjudge3 B Dec. 14, 2019, 9:40 a.m. OK MS C++ 2017 TESTS 47 31 102400 1200
58051737 vjudge5 B July 31, 2019, 2:55 a.m. OK MS C++ 2017 TESTS 47 31 102400 1200
55677218 JuicyCloud12609 B June 17, 2019, 11:07 a.m. OK MS C++ 2017 TESTS 47 31 204800 1200
55819359 srtgguy B June 20, 2019, 7:49 a.m. OK MS C++ 2017 TESTS 47 31 204800 1200
58358022 CtrlAlt B Aug. 5, 2019, 8:55 p.m. OK MS C++ 2017 TESTS 47 31 204800 1200
61594183 poormate B Oct. 1, 2019, 8:10 a.m. OK MS C++ 2017 TESTS 47 31 204800 1200
66344505 -1- B Dec. 5, 2019, 3:43 p.m. OK MS C++ 2017 TESTS 47 31 204800 1200
66821654 vjudge2 B Dec. 14, 2019, 7:35 a.m. OK MS C++ 2017 TESTS 47 31 204800 1200
67273013 vjudge2 B Dec. 20, 2019, 9:05 a.m. OK MS C++ 2017 TESTS 47 31 204800 1200
19747319 Yash_ B Aug. 9, 2016, 12:47 p.m. OK PyPy 2 TESTS 47 93 22016000 1200
40077713 Patiala_Peg B July 8, 2018, 6:53 a.m. OK PyPy 2 TESTS 47 124 409600 1200
29117884 sambit25 B Aug. 2, 2017, 5:26 a.m. OK PyPy 2 TESTS 47 170 22425600 1200
23730778 masonsbro B Jan. 12, 2017, 4:59 a.m. OK PyPy 2 TESTS 47 171 22425600 1200
60446255 MouhcineTo1 B Sept. 12, 2019, 2:15 p.m. OK PyPy 2 TESTS 47 312 6963200 1200
57778333 Saurabh66 B July 26, 2019, 4:50 a.m. OK PyPy 2 TESTS 47 343 6860800 1200
61144609 alexOLO B Sept. 23, 2019, 2:49 p.m. OK PyPy 2 TESTS 47 343 6860800 1200
59408787 vjudge2 B Aug. 24, 2019, 2:56 p.m. OK PyPy 2 TESTS 47 373 6963200 1200
37083631 beched B April 7, 2018, 10:26 p.m. OK PyPy 2 TESTS 47 421 29696000 1200
22515203 ebanner B Nov. 26, 2016, 6:35 p.m. OK PyPy 2 TESTS 47 451 6758400 1200
32938281 vjudge5 B Dec. 5, 2017, 1:51 a.m. OK PyPy 3 TESTS 47 109 23859200 1200
33471691 vjudge2 B Dec. 21, 2017, 6:27 a.m. OK PyPy 3 TESTS 47 124 24064000 1200
69095004 radiant B Jan. 19, 2020, 11:42 a.m. OK PyPy 3 TESTS 47 140 512000 1200
61455727 vjudge1 B Sept. 29, 2019, 6:09 a.m. OK PyPy 3 TESTS 47 140 819200 1200
56859117 roman_kruger B July 11, 2019, 8:30 p.m. OK PyPy 3 TESTS 47 140 819200 1200
68844836 pratiikgoogler B Jan. 15, 2020, 7:03 a.m. OK PyPy 3 TESTS 47 155 512000 1200
68687721 Nkap B Jan. 13, 2020, 4:29 a.m. OK PyPy 3 TESTS 47 155 512000 1200
68291629 golfbaby B Jan. 5, 2020, 9:46 p.m. OK PyPy 3 TESTS 47 155 512000 1200
67506750 Carnivorei B Dec. 24, 2019, 7:35 a.m. OK PyPy 3 TESTS 47 155 512000 1200
58828892 kmshihabuddin B Aug. 14, 2019, 5:03 p.m. OK PyPy 3 TESTS 47 155 512000 1200
26467364 hmchuong.1412060 B April 18, 2017, 2:47 a.m. OK Python 2 TESTS 47 46 4812800 1200
34218589 __dangerous__ B Jan. 16, 2018, 10:16 a.m. OK Python 2 TESTS 47 61 4812800 1200
28008184 shubho B June 24, 2017, 3:51 p.m. OK Python 2 TESTS 47 61 4812800 1200
32525029 laoliumang B Nov. 21, 2017, 12:27 p.m. OK Python 2 TESTS 47 62 204800 1200
34636234 Jsxft B Jan. 28, 2018, 2:58 p.m. OK Python 2 TESTS 47 62 4812800 1200
33835808 Neil B Dec. 31, 2017, 5 p.m. OK Python 2 TESTS 47 62 4812800 1200
26467377 hmchuong.1412060 B April 18, 2017, 2:49 a.m. OK Python 2 TESTS 47 62 4812800 1200
25662151 Nikhil97 B March 20, 2017, 9:07 a.m. OK Python 2 TESTS 47 62 4812800 1200
23199866 shashwataggarwal B Dec. 21, 2016, 1:10 p.m. OK Python 2 TESTS 47 62 4915200 1200
18818007 ArGuTe B June 30, 2016, 6:44 a.m. OK Python 2 TESTS 47 77 204800 1200
31100916 rgkbitw B Oct. 7, 2017, 5:49 a.m. OK Python 3 TESTS 47 62 204800 1200
29831974 hackentosh11 B Aug. 27, 2017, 5:54 p.m. OK Python 3 TESTS 47 62 204800 1200
27837298 poyodr B June 17, 2017, 3:58 a.m. OK Python 3 TESTS 47 62 204800 1200
27427576 nahid0335 B May 29, 2017, 10:37 a.m. OK Python 3 TESTS 47 62 204800 1200
22715071 Nike_VML B Dec. 5, 2016, 3:52 p.m. OK Python 3 TESTS 47 62 204800 1200
29362705 println_hi_ B Aug. 11, 2017, 7:41 p.m. OK Python 3 TESTS 47 62 4812800 1200
24102785 janierss B Jan. 25, 2017, 2:01 a.m. OK Python 3 TESTS 47 62 4812800 1200
26810279 WBA B May 2, 2017, 10:59 p.m. OK Python 3 TESTS 47 62 5632000 1200
33398228 Semih_ B Dec. 19, 2017, 5:48 a.m. OK Python 3 TESTS 47 62 5734400 1200
31453120 sifat13 B Oct. 17, 2017, 3 p.m. OK Python 3 TESTS 47 62 5734400 1200
18765048 redchrom B June 28, 2016, 9:28 a.m. OK Ruby TESTS 47 62 204800 1200
29363716 sinapusu2002 B Aug. 11, 2017, 8:52 p.m. OK Ruby TESTS 47 62 6656000 1200
19909287 SakurakoujiRuna B Aug. 16, 2016, 2:26 p.m. OK Ruby TESTS 47 62 6758400 1200
35975330 EthanITargaryen B March 5, 2018, 7:17 p.m. OK Ruby TESTS 47 78 6656000 1200
18939079 moh.amr B July 6, 2016, 10:36 p.m. OK Scala TESTS 47 233 0 1200
22515167 techaddict B Nov. 26, 2016, 6:33 p.m. OK Scala TESTS 47 248 0 1200
63685230 Mocker B Oct. 28, 2019, 10:08 p.m. OK Scala TESTS 47 421 0 1200

remove filters

Back to search problems