Codeforces Round 235 (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
401 Codeforces Round 235 (Div. 2) FINISHED False 7200 343060223 March 10, 2014, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4245 ) D Roman and Numbers PROGRAMMING bitmasks brute force combinatorics dp number theory 2000

B"Roman is a young mathematician, very famous in Uzhland. Unfortunately, Sereja doesn't think so. To make Sereja change his mind, Roman is ready to solve any mathematical problem. After some thought, Sereja asked Roma to find, how many numbers are close to number n, modulo m. Number x is considered close to number n modulo m, if: Roman is a good mathematician, but the number of such numbers is too huge for him. So he asks you to help him. The first line contains two integers: n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89< xe2 x80 x891018) and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100). In a single line print a single integer -- the number of numbers close to number n modulo m. In the first sample the required numbers are: 104, 140, 410. In the second sample the required number is 232."...

Tutorials

Codeforces Round #235 (Div. 2) — Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
6024157 cpy D March 16, 2014, 5:57 a.m. OK D TESTS 81 623 287027200 2000
5997459 AHTuTTuTyX D March 11, 2014, 3:41 p.m. OK Delphi TESTS 81 592 210432000 2000
6126273 hball1st D March 23, 2014, 3:46 p.m. OK Delphi TESTS 81 607 490598400 2000
7669051 WARenie D Sept. 2, 2014, 4:23 p.m. OK FPC TESTS 81 264 81715200 2000
7544283 khashayar_khosravi D Aug. 21, 2014, 1:52 p.m. OK FPC TESTS 81 265 81817600 2000
6139642 SanSiroWaltz D March 25, 2014, 2:16 p.m. OK FPC TESTS 81 265 81817600 2000
7553849 WARenie D Aug. 22, 2014, 4:14 p.m. OK FPC TESTS 81 295 81817600 2000
15925142 dingzijun1999 D Feb. 10, 2016, 6:29 a.m. OK FPC TESTS 81 343 212275200 2000
5998140 yanush D March 11, 2014, 5:21 p.m. OK FPC TESTS 81 421 323891200 2000
5997463 AHTuTTuTyX D March 11, 2014, 3:41 p.m. OK FPC TESTS 81 670 210432000 2000
6010446 ACMega D March 13, 2014, 3:23 p.m. OK FPC TESTS 81 951 490598400 2000
5992658 anhldt D March 11, 2014, 4:20 a.m. OK FPC TESTS 81 951 490598400 2000
5995598 lyj.avi D March 11, 2014, 11:47 a.m. OK FPC TESTS 81 982 490598400 2000
6435039 Kurisu D April 21, 2014, 1:26 p.m. OK GNU C TESTS 81 62 24064000 2000
6433421 Kurisu D April 21, 2014, 8:12 a.m. OK GNU C TESTS 81 202 210124800 2000
6052631 wuqingxin D March 17, 2014, 6:24 a.m. OK GNU C TESTS 81 1949 420864000 2000
6009731 vjudge2 D March 13, 2014, 1:26 p.m. OK GNU C TESTS 81 3151 288563200 2000
5997013 synapse D March 11, 2014, 2:40 p.m. OK GNU C++ TESTS 81 62 48128000 2000
5996692 Logsha D March 11, 2014, 1:55 p.m. OK GNU C++ TESTS 81 62 48128000 2000
6024082 _rabbit D March 16, 2014, 5:45 a.m. OK GNU C++ TESTS 81 62 50483200 2000
5992744 fuhuoyeyou D March 11, 2014, 4:43 a.m. OK GNU C++ TESTS 81 62 50483200 2000
7107694 ahm0011994 D July 15, 2014, 9:37 a.m. OK GNU C++ TESTS 81 77 40038400 2000
7050066 vjudge4 D July 9, 2014, 2:15 a.m. OK GNU C++ TESTS 81 77 40038400 2000
6017984 Miracle D March 15, 2014, 4:43 a.m. OK GNU C++ TESTS 81 77 48025600 2000
6024614 ohweonfire D March 16, 2014, 7:13 a.m. OK GNU C++ TESTS 81 77 50483200 2000
6006773 ccdd4211 D March 13, 2014, 5:11 a.m. OK GNU C++ TESTS 81 77 232243200 2000
14624727 valbertson D Dec. 2, 2015, 6:48 p.m. OK GNU C++ TESTS 81 78 21606400 2000
9238195 ecnerwala D Dec. 24, 2014, 6:06 a.m. OK GNU C++0x TESTS 81 78 21606400 2000
5994621 whn6325689 D March 11, 2014, 9:49 a.m. OK GNU C++0x TESTS 81 78 50483200 2000
5993438 grain1101 D March 11, 2014, 6:53 a.m. OK GNU C++0x TESTS 81 155 11673600 2000
6722775 ccfox D May 27, 2014, 4:48 p.m. OK GNU C++0x TESTS 81 171 210124800 2000
9386053 addadis D Jan. 8, 2015, 12:38 p.m. OK GNU C++0x TESTS 81 171 400793600 2000
6133830 Elshiko D March 24, 2014, 10:02 p.m. OK GNU C++0x TESTS 81 187 210432000 2000
6650698 stan D May 18, 2014, 12:56 p.m. OK GNU C++0x TESTS 81 187 220672000 2000
5994069 MinakoKojima D March 11, 2014, 8:34 a.m. OK GNU C++0x TESTS 81 202 229068800 2000
6010908 ijkijkijkikjikjkij D March 13, 2014, 4:38 p.m. OK GNU C++0x TESTS 81 202 233267200 2000
6005656 vladb D March 12, 2014, 9:22 p.m. OK GNU C++0x TESTS 81 218 212275200 2000
58095800 rainboy D July 31, 2019, 7:44 p.m. OK GNU C11 TESTS 81 171 210124800 2000
51942467 Sina_Imani D March 28, 2019, 3:05 p.m. OK GNU C11 TESTS 81 265 72192000 2000
14418879 Shayan D Nov. 22, 2015, 7:45 p.m. OK GNU C++11 TESTS 81 78 26521600 2000
17599788 l3o D April 30, 2016, 7:28 p.m. OK GNU C++11 TESTS 81 78 44339200 2000
37898151 vjudge4 D May 5, 2018, 7:04 a.m. OK GNU C++11 TESTS 81 78 453222400 2000
54800922 codemaster7 D May 29, 2019, 11:55 a.m. OK GNU C++11 TESTS 81 109 24371200 2000
59797039 wwmm123 D Aug. 31, 2019, 8:58 a.m. OK GNU C++11 TESTS 81 124 441753600 2000
37898109 charlieyan D May 5, 2018, 7:01 a.m. OK GNU C++11 TESTS 81 124 453222400 2000
35307408 dmitriyklebanov D Feb. 15, 2018, 3:29 p.m. OK GNU C++11 TESTS 81 140 212480000 2000
45411632 vjudge4 D Nov. 7, 2018, 12:20 p.m. OK GNU C++11 TESTS 81 155 210124800 2000
58896208 bojverdict2 D Aug. 16, 2019, 7:37 a.m. OK GNU C++11 TESTS 81 155 441241600 2000
12146882 lxw D July 21, 2015, 12:35 p.m. OK GNU C++11 TESTS 81 156 210124800 2000
33456589 Jeffrey D Dec. 20, 2017, 1:32 p.m. OK GNU C++14 TESTS 81 93 216473600 2000
33490116 kefaa2 D Dec. 21, 2017, 8:25 p.m. OK GNU C++14 TESTS 81 140 22835200 2000
53697670 vjudge2 D May 3, 2019, 8:37 a.m. OK GNU C++14 TESTS 81 140 221081600 2000
35771438 tshr D Feb. 27, 2018, 6:01 p.m. OK GNU C++14 TESTS 81 171 216268800 2000
32116460 tshr D Nov. 7, 2017, 10:39 a.m. OK GNU C++14 TESTS 81 171 258457600 2000
32518872 Flash-boy D Nov. 21, 2017, 7:47 a.m. OK GNU C++14 TESTS 81 186 222720000 2000
62189197 iefnah06 D Oct. 9, 2019, 9:14 a.m. OK GNU C++14 TESTS 81 202 53452800 2000
32556141 ujjwal9895 D Nov. 22, 2017, 4:07 p.m. OK GNU C++14 TESTS 81 202 210124800 2000
37898231 Mackerel_Pike D May 5, 2018, 7:07 a.m. OK GNU C++14 TESTS 81 202 223948800 2000
21655925 MLine D Oct. 22, 2016, 2:45 a.m. OK GNU C++14 TESTS 81 202 233267200 2000
58821053 vjudge5 D Aug. 14, 2019, 2:06 p.m. OK GNU C++17 TESTS 81 77 49049600 2000
45770664 ivan100sic D Nov. 15, 2018, 2:20 p.m. OK GNU C++17 TESTS 81 77 400998400 2000
64203839 vjudge5 D Nov. 4, 2019, 12:16 p.m. OK GNU C++17 TESTS 81 124 52940800 2000
64203706 JBer D Nov. 4, 2019, 12:13 p.m. OK GNU C++17 TESTS 81 124 52940800 2000
41111357 vjudge4 D Aug. 2, 2018, 6:57 a.m. OK GNU C++17 TESTS 81 156 53248000 2000
41011909 void_f D July 31, 2018, 1:08 p.m. OK GNU C++17 TESTS 81 170 231116800 2000
40399355 vjudge2 D July 16, 2018, 6:55 a.m. OK GNU C++17 TESTS 81 171 231116800 2000
37899145 somebody_else D May 5, 2018, 7:44 a.m. OK GNU C++17 TESTS 81 171 423628800 2000
37899172 vjudge4 D May 5, 2018, 7:44 a.m. OK GNU C++17 TESTS 81 186 423628800 2000
43002512 hhdd D Sept. 17, 2018, 2:24 p.m. OK GNU C++17 TESTS 81 187 220672000 2000
6062593 AcOnFingers D March 18, 2014, 5:19 p.m. OK Go TESTS 81 2215 231424000 2000
64643017 354898002 D Nov. 10, 2019, 1:53 p.m. OK Go TESTS 81 2963 210124800 2000
6680287 erikr D May 22, 2014, 9:23 a.m. OK Haskell TESTS 81 2698 251187200 2000
67300099 Oom D Dec. 20, 2019, 6:22 p.m. OK Java 11 TESTS 81 2510 471961600 2000
9348407 xiaowuc1 D Jan. 2, 2015, 7:15 p.m. OK Java 6 TESTS 81 826 343756800 2000
5993067 alibaba D March 11, 2014, 5:50 a.m. OK Java 6 TESTS 81 1184 348160000 2000
6012194 vitruvius D March 13, 2014, 9:39 p.m. OK Java 6 TESTS 81 2090 344985600 2000
6170603 mkirsche D March 29, 2014, 4:46 a.m. OK Java 6 TESTS 81 3385 185344000 2000
6137404 GR1n D March 25, 2014, 11:40 a.m. OK Java 6 TESTS 81 3727 348160000 2000
6064932 jseeker D March 19, 2014, 6:20 a.m. OK Java 7 TESTS 81 483 343961600 2000
10146228 vjudge2 D March 4, 2015, 11:55 a.m. OK Java 7 TESTS 81 592 344473600 2000
10541618 sweiss D April 1, 2015, 12:39 p.m. OK Java 7 TESTS 81 764 343347200 2000
6653072 ahmad_mamdouh D May 18, 2014, 8:09 p.m. OK Java 7 TESTS 81 780 145817600 2000
6687642 himalay D May 23, 2014, 1:36 p.m. OK Java 7 TESTS 81 826 144588800 2000
6307775 kamalkishor1991 D April 9, 2014, 7:28 p.m. OK Java 7 TESTS 81 857 344166400 2000
6084119 DoublePointer D March 19, 2014, 9:29 p.m. OK Java 7 TESTS 81 904 383180800 2000
6007071 nitegazer D March 13, 2014, 6:27 a.m. OK Java 7 TESTS 81 919 14438400 2000
5999793 mohamednabil00000 D March 12, 2014, 12:58 a.m. OK Java 7 TESTS 81 1013 523468800 2000
5999776 mohamednabil00000 D March 12, 2014, 12:52 a.m. OK Java 7 TESTS 81 1014 523468800 2000
10248491 Pimpom D March 12, 2015, 2:41 p.m. OK Java 8 TESTS 81 218 10649600 2000
66873882 dtsarun D Dec. 14, 2019, 2:23 p.m. OK Java 8 TESTS 81 420 35942400 2000
26795471 Amman20 D May 2, 2017, 3:30 a.m. OK Java 8 TESTS 81 529 39526400 2000
10139188 niyaznigmatul D March 3, 2015, 11:31 p.m. OK Java 8 TESTS 81 545 9932800 2000
20478231 barakraganosungam D Sept. 9, 2016, 12:36 p.m. OK Java 8 TESTS 81 545 16998400 2000
22071443 donli D Nov. 6, 2016, 9:04 a.m. OK Java 8 TESTS 81 545 17100800 2000
58095799 Dukkha D July 31, 2019, 7:44 p.m. OK Java 8 TESTS 81 592 282624000 2000
15732774 Empress D Feb. 1, 2016, 2:12 p.m. OK Java 8 TESTS 81 623 321433600 2000
28561286 barakraganosungam D July 15, 2017, 2:41 a.m. OK Java 8 TESTS 81 655 39526400 2000
31594360 jwozniak D Oct. 22, 2017, 6:53 a.m. OK Java 8 TESTS 81 670 306278400 2000
6824916 og.kostya D June 6, 2014, 7:10 a.m. OK MS C# TESTS 81 2183 210841600 2000
6514041 antofik D May 1, 2014, 5:56 a.m. OK MS C# TESTS 81 2776 212992000 2000
6001119 kasarino D March 12, 2014, 7:23 a.m. OK MS C# TESTS 81 3275 210944000 2000
6021169 r13 D March 15, 2014, 2:07 p.m. OK MS C++ TESTS 81 77 324198400 2000
10627415 a88027180 D April 8, 2015, 5:43 a.m. OK MS C++ TESTS 81 78 50995200 2000
6462071 Vlad_kv D April 24, 2014, 5:35 p.m. OK MS C++ TESTS 81 108 49254400 2000
6688244 last_one D May 23, 2014, 3:36 p.m. OK MS C++ TESTS 81 124 220467200 2000
5992604 best-effort D March 11, 2014, 4:07 a.m. OK MS C++ TESTS 81 124 231424000 2000
7942162 josdas D Sept. 25, 2014, 4:59 a.m. OK MS C++ TESTS 81 171 48128000 2000
6012912 tomlau D March 14, 2014, 4:05 a.m. OK MS C++ TESTS 81 171 210124800 2000
5993989 tangchuanxin D March 11, 2014, 8:24 a.m. OK MS C++ TESTS 81 171 212275200 2000
6140171 20120125 D March 25, 2014, 3:38 p.m. OK MS C++ TESTS 81 186 233267200 2000
6009703 BlackStar D March 13, 2014, 1:21 p.m. OK MS C++ TESTS 81 233 210022400 2000
54473985 2017111799yjl D May 22, 2019, 7:18 a.m. OK MS C++ 2017 TESTS 81 1107 220672000 2000
63389655 CtrlAlt D Oct. 25, 2019, 2:48 p.m. OK MS C++ 2017 TESTS 81 1216 466432000 2000
5995693 Quimbee D March 11, 2014, 12:01 p.m. OK Ocaml TESTS 81 529 56729600 2000
6733911 yugle7 D May 29, 2014, 9:29 a.m. OK Python 2 TESTS 81 3556 13107200 2000
65723529 sansen D Nov. 25, 2019, 8:39 p.m. OK Rust TESTS 81 358 25702400 2000
65721287 sansen D Nov. 25, 2019, 7:13 p.m. OK Rust TESTS 81 982 25190400 2000
65720768 sansen D Nov. 25, 2019, 6:56 p.m. OK Rust TESTS 81 3884 27136000 2000

remove filters

Back to search problems