Codeforces Beta Round 17

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
17 Codeforces Beta Round 17 FINISHED False 7200 460911585 June 10, 2010, 3 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1117 ) D Notepad PROGRAMMING number theory 2300

B"Nick is attracted by everything unconventional. He doesn't like decimal number system any more, and he decided to study other number systems. A number system with base b caught his attention. Before he starts studying it, he wants to write in his notepad all the numbers of length n without leading zeros in this number system. Each page in Nick's notepad has enough space for c numbers exactly. Nick writes every suitable number only once, starting with the first clean page and leaving no clean spaces. Nick never writes number 0 as he has unpleasant memories about zero divide. Would you help Nick find out how many numbers will be written on the last page. The only input line contains three space-separated integers b, n and c (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89b xe2 x80 x89< xe2 x80 x8910106, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89< xe2 x80 x8910106, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89c xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109). You may consider that Nick has infinite patience, endless amount of paper and representations of digits as characters. The numbers doesn't contain leading zeros. In the only line output the amount of numbers written on the same page as the last number. In both samples there are exactly 4 numbers of length 3 in binary number system. In the first sample Nick writes 3 numbers on the first page and 1 on the second page. In the second sample all the 4 numbers can be written on the first page."...

Tutorials

Codeforces Beta Round #17 Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
79146 kozima D June 24, 2010, 2:25 p.m. OK F# TESTS 61 1330 26726400 2300
878995 chiemduybao D Nov. 19, 2011, 11:26 a.m. OK FPC TESTS 61 360 14028800 2300
77571 romanandreev D June 10, 2010, 4:55 p.m. OK FPC TESTS 61 700 15052800 2300
878510 chiemduybao D Nov. 19, 2011, 5:16 a.m. OK FPC TESTS 61 770 13004800 2300
476924 Sereja D June 7, 2011, 9:14 a.m. OK FPC TESTS 61 840 7577600 2300
77651 chavit D June 10, 2010, 4:57 p.m. OK FPC TESTS 61 880 20992000 2300
58157733 luogu_bot5 D Aug. 2, 2019, 6:19 a.m. OK FPC TESTS 61 904 10035200 2300
12300706 jiangyx D Aug. 1, 2015, 7:59 a.m. OK FPC TESTS 61 966 2560000 2300
57178890 yltx D July 17, 2019, 6:33 a.m. OK FPC TESTS 61 966 10342400 2300
34255687 FalseMirror D Jan. 17, 2018, 3:25 p.m. OK FPC TESTS 61 966 11571200 2300
34255469 FalseMirror D Jan. 17, 2018, 3:16 p.m. OK FPC TESTS 61 998 11571200 2300
76399 LayCurse D June 10, 2010, 4:03 p.m. OK GNU C TESTS 61 90 3584000 2300
23671656 codingnerd D Jan. 9, 2017, 10:06 p.m. OK GNU C TESTS 61 92 3891200 2300
18602912 rainboy D June 19, 2016, 5:55 p.m. OK GNU C TESTS 61 468 2048000 2300
3717467 delta_4d D May 13, 2013, 4:12 p.m. OK GNU C++ TESTS 61 46 2867200 2300
3717549 delta_4d D May 13, 2013, 4:39 p.m. OK GNU C++ TESTS 61 62 1945600 2300
3265512 vjudge4 D March 8, 2013, 11:34 a.m. OK GNU C++ TESTS 61 62 2048000 2300
4144265 SaberLily D July 24, 2013, 3:21 a.m. OK GNU C++ TESTS 61 78 2048000 2300
3646004 fatsheep_LF D April 28, 2013, 6:49 a.m. OK GNU C++ TESTS 61 78 2048000 2300
3079532 Ply_py D Feb. 7, 2013, 5:28 a.m. OK GNU C++ TESTS 61 78 2048000 2300
3013038 weixiao D Jan. 26, 2013, 4:18 p.m. OK GNU C++ TESTS 61 78 2048000 2300
2873491 Acko D Jan. 4, 2013, 2 p.m. OK GNU C++ TESTS 61 78 2048000 2300
2956415 ACHelloWorld D Jan. 18, 2013, 12:49 p.m. OK GNU C++ TESTS 61 78 2252800 2300
2956189 vjudge2 D Jan. 18, 2013, 11:48 a.m. OK GNU C++ TESTS 61 78 2252800 2300
10345576 huantwofat D March 19, 2015, 6:33 a.m. OK GNU C++0x TESTS 61 92 2048000 2300
6870400 tsfn D June 12, 2014, 9:42 p.m. OK GNU C++0x TESTS 61 124 2048000 2300
6867868 netkuba D June 12, 2014, 9:18 a.m. OK GNU C++0x TESTS 61 154 3174400 2300
7820681 HellKitsune D Sept. 17, 2014, 7:06 p.m. OK GNU C++0x TESTS 61 310 2048000 2300
9087466 zeyuanxy D Dec. 12, 2014, 5:04 a.m. OK GNU C++0x TESTS 61 312 3174400 2300
3029917 lemur D Jan. 28, 2013, 6:03 p.m. OK GNU C++0x TESTS 61 375 2150400 2300
695615 Archon.JK D Sept. 15, 2011, 1:27 p.m. OK GNU C++0x TESTS 61 420 3379200 2300
49155763 namratha_253 D Jan. 29, 2019, 1:42 p.m. OK GNU C11 TESTS 61 436 2048000 2300
46020917 _zay D Nov. 21, 2018, 7:56 a.m. OK GNU C++11 TESTS 61 92 1843200 2300
20156975 BuddhaCoder D Aug. 25, 2016, 2:39 p.m. OK GNU C++11 TESTS 61 92 3891200 2300
17016632 vjudge4 D March 29, 2016, 9:09 a.m. OK GNU C++11 TESTS 61 92 4096000 2300
44737389 qiaozhanrong D Oct. 23, 2018, 1:20 p.m. OK GNU C++11 TESTS 61 92 4096000 2300
60330680 luogu_bot3 D Sept. 10, 2019, 5:43 a.m. OK GNU C++11 TESTS 61 92 5836800 2300
45462626 XieRujian D Nov. 9, 2018, 2:27 a.m. OK GNU C++11 TESTS 61 122 1843200 2300
57379960 vjudge1 D July 20, 2019, 2:11 p.m. OK GNU C++11 TESTS 61 122 1843200 2300
63994091 cghtxdy D Nov. 1, 2019, 2:02 p.m. OK GNU C++11 TESTS 61 122 2048000 2300
62570130 vjudge3 D Oct. 14, 2019, 2:15 p.m. OK GNU C++11 TESTS 61 122 2048000 2300
69724296 leapfrog D Jan. 29, 2020, 11:45 a.m. OK GNU C++11 TESTS 61 122 2048000 2300
24564651 whjhr D Feb. 10, 2017, 7:37 a.m. OK GNU C++14 TESTS 61 92 5632000 2300
24561528 whjhr D Feb. 10, 2017, 3:25 a.m. OK GNU C++14 TESTS 61 92 6963200 2300
48681136 haizhe D Jan. 21, 2019, 1:20 p.m. OK GNU C++14 TESTS 61 122 2048000 2300
60004773 stille195 D Sept. 4, 2019, 10:31 a.m. OK GNU C++14 TESTS 61 122 2048000 2300
39960134 Jake_sep D July 4, 2018, 3:35 p.m. OK GNU C++14 TESTS 61 122 3686400 2300
31631272 Flash-boy D Oct. 23, 2017, 1:53 p.m. OK GNU C++14 TESTS 61 122 3891200 2300
34064808 xuanquang1999 D Jan. 10, 2018, 8:24 a.m. OK GNU C++14 TESTS 61 122 4915200 2300
29303657 fengsuiyan D Aug. 9, 2017, 10:42 a.m. OK GNU C++14 TESTS 61 122 5939200 2300
60010176 stille195 D Sept. 4, 2019, 11:02 a.m. OK GNU C++14 TESTS 61 122 20070400 2300
40464688 vjudge3 D July 17, 2018, 6:16 a.m. OK GNU C++14 TESTS 61 124 2048000 2300
49179968 YouKn0wWho D Jan. 30, 2019, 12:38 a.m. OK GNU C++17 TESTS 61 92 4915200 2300
45156348 KobeDuu_ D Nov. 1, 2018, 2:51 a.m. OK GNU C++17 TESTS 61 124 2048000 2300
57464193 Jim_Carrey D July 21, 2019, 2:53 p.m. OK GNU C++17 TESTS 61 124 2048000 2300
40532445 vjudge2 D July 19, 2018, 3:55 a.m. OK GNU C++17 TESTS 61 124 2048000 2300
40496561 swust5120175184 D July 18, 2018, 2:45 a.m. OK GNU C++17 TESTS 61 124 2048000 2300
40476216 judgment D July 17, 2018, 11:58 a.m. OK GNU C++17 TESTS 61 124 2048000 2300
40475897 judgment D July 17, 2018, 11:51 a.m. OK GNU C++17 TESTS 61 124 2048000 2300
40471675 vjudge2 D July 17, 2018, 9:50 a.m. OK GNU C++17 TESTS 61 124 2048000 2300
40471604 swust5120170312 D July 17, 2018, 9:48 a.m. OK GNU C++17 TESTS 61 124 2048000 2300
40470137 swust5120170312 D July 17, 2018, 8:43 a.m. OK GNU C++17 TESTS 61 124 2048000 2300
286131 watashi D Feb. 16, 2011, 4:38 p.m. OK Haskell TESTS 61 1060 12185600 2300
76846 vot D June 10, 2010, 4:26 p.m. OK Java 6 TESTS 61 190 45465600 2300
76563 ivan.popelyshev D June 10, 2010, 4:12 p.m. OK Java 6 TESTS 61 230 42393600 2300
77781 hos.lyric D June 10, 2010, 5:02 p.m. OK Java 6 TESTS 61 360 42393600 2300
484896 UESTC_Defense D June 10, 2011, 12:02 p.m. OK Java 6 TESTS 61 380 35225600 2300
78458 uwi D June 11, 2010, 6:43 a.m. OK Java 6 TESTS 61 380 42393600 2300
1218242 partizan22 D Feb. 23, 2012, 12:15 a.m. OK Java 6 TESTS 61 410 48844800 2300
77950 SpookyCookie D June 10, 2010, 5:26 p.m. OK Java 6 TESTS 61 450 42393600 2300
77974 cmd D June 10, 2010, 5:31 p.m. OK Java 6 TESTS 61 470 45465600 2300
78279 S.Yesipenko D June 11, 2010, 1:27 a.m. OK Java 6 TESTS 61 470 45772800 2300
75932 winger D June 10, 2010, 3:38 p.m. OK Java 6 TESTS 61 500 45772800 2300
4147970 cxlove D July 24, 2013, 3:17 p.m. OK Java 7 TESTS 61 187 3993600 2300
4147956 cxlove D July 24, 2013, 3:14 p.m. OK Java 7 TESTS 61 203 3993600 2300
10737356 dspstanky D April 16, 2015, 3:01 a.m. OK Java 7 TESTS 61 842 3379200 2300
10737228 dspstanky D April 16, 2015, 2:02 a.m. OK Java 7 TESTS 61 842 3379200 2300
25857905 alexrcoleman D March 27, 2017, 6:35 p.m. OK Java 8 TESTS 61 654 31744000 2300
11229580 ProjectYoung D May 22, 2015, 11:06 p.m. OK Java 8 TESTS 61 748 2048000 2300
20795034 Ahmad_Elsagheer D Sept. 21, 2016, 12:59 p.m. OK Java 8 TESTS 61 748 11776000 2300
10555591 Dukkha D April 2, 2015, 10:09 p.m. OK Java 8 TESTS 61 842 2048000 2300
10623872 deckeresq D April 7, 2015, 5:37 p.m. OK Java 8 TESTS 61 904 2150400 2300
12129406 andreas.chelsau D July 20, 2015, 11:12 a.m. OK Java 8 TESTS 61 1154 0 2300
13311072 jetblack20 D Sept. 30, 2015, 9:19 a.m. OK Java 8 TESTS 61 1246 0 2300
78634 Hadi_Asiaie D June 12, 2010, 1:33 a.m. OK Mono C# TESTS 61 270 26624000 2300
78627 Hadi_Asiaie D June 12, 2010, 1:02 a.m. OK Mono C# TESTS 61 280 26726400 2300
78629 Hadi_Asiaie D June 12, 2010, 1:14 a.m. OK Mono C# TESTS 61 280 26726400 2300
78072 Hadi_Asiaie D June 10, 2010, 6:27 p.m. OK Mono C# TESTS 61 800 28262400 2300
78157 Hadi_Asiaie D June 10, 2010, 7:53 p.m. OK Mono C# TESTS 61 840 26624000 2300
78556 rito D June 11, 2010, 1:50 p.m. OK Mono C# TESTS 61 1090 19865600 2300
18123057 azukun D May 27, 2016, 7:47 p.m. OK MS C# TESTS 61 374 31539200 2300
18125531 azukun D May 28, 2016, 4:19 a.m. OK MS C# TESTS 61 530 31641600 2300
76154 e-maxx D June 10, 2010, 3:53 p.m. OK MS C++ TESTS 61 80 4812800 2300
77203 natalia D June 10, 2010, 4:42 p.m. OK MS C++ TESTS 61 80 5427200 2300
1349100 Monyura D March 11, 2012, 7:29 p.m. OK MS C++ TESTS 61 90 3584000 2300
78606 meret D June 11, 2010, 5:16 p.m. OK MS C++ TESTS 61 90 3584000 2300
1340643 Monyura D March 11, 2012, 1:37 p.m. OK MS C++ TESTS 61 110 3584000 2300
1340456 Monyura D March 11, 2012, 12:25 p.m. OK MS C++ TESTS 61 110 3584000 2300
1349005 Monyura D March 11, 2012, 7:14 p.m. OK MS C++ TESTS 61 110 3584000 2300
4858730 Kazim D Oct. 24, 2013, 11:28 a.m. OK MS C++ TESTS 61 124 2048000 2300
77795 KADR D June 10, 2010, 5:03 p.m. OK MS C++ TESTS 61 130 3379200 2300
76651 Shef D June 10, 2010, 4:16 p.m. OK MS C++ TESTS 61 140 3481600 2300
50521907 IsaacMeng D Feb. 26, 2019, 9:49 a.m. OK MS C++ 2017 TESTS 61 156 2048000 2300
55738813 tushusavaliya D June 19, 2019, 6:16 a.m. OK Ocaml TESTS 61 248 6758400 2300
7679499 ShingRay D Sept. 4, 2014, 7 a.m. OK Ocaml TESTS 61 342 7270400 2300
4684688 atubo D Oct. 6, 2013, 3:15 a.m. OK Python 2 TESTS 61 1716 9318400 2300

remove filters

Back to search problems