Codeforces Round 350 (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
670 Codeforces Round 350 (Div. 2) FINISHED False 9000 269358899 May 5, 2016, 4:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 11281 ) B Game of Robots PROGRAMMING implementation 1100

B'In late autumn evening n robots gathered in the cheerful company of friends. Each robot has a unique identifier -- an integer from 1 to 109. At some moment, robots decided to play the game "Snowball". Below there are the rules of this game. First, all robots stand in a row. Then the first robot says his identifier. After that the second robot says the identifier of the first robot and then says his own identifier. Then the third robot says the identifier of the first robot, then says the identifier of the second robot and after that says his own. This process continues from left to right until the n-th robot says his identifier. Your task is to determine the k-th identifier to be pronounced. The first line contains two positive integers n and k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100 xe2 x80 x89000, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89min(2 xc2 xb7109, xe2 x80 x89n xc2 xb7(n xe2 x80 x89+ xe2 x80 x891) xe2 x80 x89/ xe2 x80 x892). The second line contains the sequence id1, xe2 x80 x89id2, xe2 x80 x89..., xe2 x80 x89idn (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89idi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) -- identifiers of roborts. It is guaranteed that all identifiers are different. Print the k-th pronounced identifier (assume that the numeration starts from 1). In the first sample identifiers of robots will be pronounced in the following order: 1, 1, 2. As k xe2 x80 x89= xe2 x80 x892, the answer equals to 1. In the second test case identifiers of robots will be pronounced in the following order: 10, 10, 4, 10, 4, 18, 10, 4, 18, 3. As k xe2 x80 x89= xe2 x80 x895, the answer equals to 4. '...

Tutorials

Codeforces Round #350 (Div.2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
44018782 payback_1996 B Oct. 9, 2018, 1:27 a.m. OK Clang++17 Diagnostics TESTS 143 858 16076800 1100
43871998 Andrey15253545 B Oct. 5, 2018, 9:23 p.m. OK Delphi TESTS 143 46 614400 1100
27514032 vjudge5 B June 2, 2017, 3:06 a.m. OK FPC TESTS 143 31 409600 1100
27524152 MovingForward B June 2, 2017, 1:04 p.m. OK FPC TESTS 143 31 409600 1100
23721066 romanfixture1404 B Jan. 11, 2017, 3:26 p.m. OK FPC TESTS 143 31 2048000 1100
21609306 magicmonster17 B Oct. 20, 2016, 5:37 a.m. OK FPC TESTS 143 31 2048000 1100
19964795 vkozlovs B Aug. 19, 2016, 1:30 p.m. OK FPC TESTS 143 31 2048000 1100
19719987 nhnguyen_vietnam B Aug. 8, 2016, 4:29 a.m. OK FPC TESTS 143 31 2048000 1100
28794967 hlly B July 23, 2017, 7:43 a.m. OK FPC TESTS 143 31 2048000 1100
26530142 tin2016_ndhanh B April 21, 2017, 4:08 a.m. OK FPC TESTS 143 31 2048000 1100
26450445 hocattuongltv B April 17, 2017, 9:25 a.m. OK FPC TESTS 143 31 2048000 1100
42225572 chaorenhaha B Aug. 29, 2018, 2:08 a.m. OK FPC TESTS 143 46 409600 1100
26216206 priboiradu B April 8, 2017, 10:23 a.m. OK GNU C TESTS 143 15 1945600 1100
32204662 Maaddy B Nov. 10, 2017, 7:40 p.m. OK GNU C TESTS 143 30 0 1100
27095251 KRil B May 13, 2017, 6:14 p.m. OK GNU C TESTS 143 30 0 1100
26215229 Emplopi B April 8, 2017, 9:36 a.m. OK GNU C TESTS 143 30 1945600 1100
32119275 vjudge5 B Nov. 7, 2017, 12:40 p.m. OK GNU C TESTS 143 31 409600 1100
32108414 vjudge5 B Nov. 7, 2017, 2:01 a.m. OK GNU C TESTS 143 31 409600 1100
32089844 vjudge2 B Nov. 6, 2017, 8:40 a.m. OK GNU C TESTS 143 31 409600 1100
31858072 vjudge3 B Oct. 29, 2017, 6:48 a.m. OK GNU C TESTS 143 31 409600 1100
27548204 gri B June 3, 2017, 3:53 p.m. OK GNU C TESTS 143 31 409600 1100
27355540 less_or_equal B May 26, 2017, 12:33 p.m. OK GNU C TESTS 143 31 409600 1100
22192026 vjudge5 B Nov. 13, 2016, 11:46 a.m. OK GNU C++ TESTS 143 30 819200 1100
35290881 aboAdnan B Feb. 15, 2018, 11:32 a.m. OK GNU C++ TESTS 143 30 2048000 1100
24599202 imverypupil B Feb. 12, 2017, 12:47 a.m. OK GNU C++ TESTS 143 30 2252800 1100
32235703 vjudge2 B Nov. 12, 2017, 6:09 a.m. OK GNU C++ TESTS 143 31 0 1100
22368203 vjudge5 B Nov. 20, 2016, 4 p.m. OK GNU C++ TESTS 143 31 0 1100
32235498 vjudge3 B Nov. 12, 2017, 5:55 a.m. OK GNU C++ TESTS 143 31 204800 1100
32148025 vjudge3 B Nov. 8, 2017, 10:56 p.m. OK GNU C++ TESTS 143 31 204800 1100
32142916 vjudge1 B Nov. 8, 2017, 4:38 p.m. OK GNU C++ TESTS 143 31 204800 1100
32140544 vjudge1 B Nov. 8, 2017, 1:12 p.m. OK GNU C++ TESTS 143 31 204800 1100
32117869 vjudge5 B Nov. 7, 2017, 11:45 a.m. OK GNU C++ TESTS 143 31 204800 1100
22215764 vjudge1 B Nov. 15, 2016, 2:05 a.m. OK GNU C11 TESTS 143 31 409600 1100
32095897 vjudge5 B Nov. 6, 2017, 12:46 p.m. OK GNU C11 TESTS 143 31 409600 1100
26962838 Ampere B May 8, 2017, 6:54 p.m. OK GNU C11 TESTS 143 31 819200 1100
45460706 Alface B Nov. 9, 2018, 12:47 a.m. OK GNU C11 TESTS 143 46 0 1100
56249237 kaiboy B June 29, 2019, 1:14 a.m. OK GNU C11 TESTS 143 46 409600 1100
60670580 You_Know_Who B Sept. 16, 2019, 10:27 a.m. OK GNU C11 TESTS 143 46 409600 1100
50626723 2018030401093 B March 1, 2019, 6:32 a.m. OK GNU C11 TESTS 143 46 409600 1100
50626770 vjudge4 B March 1, 2019, 6:33 a.m. OK GNU C11 TESTS 143 46 409600 1100
51038115 vjudge2 B March 8, 2019, 3:59 p.m. OK GNU C11 TESTS 143 46 409600 1100
54502273 Lukman03 B May 22, 2019, 9:59 p.m. OK GNU C11 TESTS 143 46 409600 1100
20335962 Bobocan B Sept. 2, 2016, 6:58 a.m. OK GNU C++11 TESTS 143 30 819200 1100
21188684 harrypotter0 B Oct. 4, 2016, 2:10 p.m. OK GNU C++11 TESTS 143 31 0 1100
22368191 dreacter B Nov. 20, 2016, 4 p.m. OK GNU C++11 TESTS 143 31 0 1100
30051873 donder B Sept. 4, 2017, 11:39 a.m. OK GNU C++11 TESTS 143 31 0 1100
43611338 vjudge4 B Sept. 30, 2018, 2:20 p.m. OK GNU C++11 TESTS 143 31 0 1100
31866055 vjudge5 B Oct. 29, 2017, 12:15 p.m. OK GNU C++11 TESTS 143 31 204800 1100
43666807 Wuxueqian B Oct. 2, 2018, 12:07 a.m. OK GNU C++11 TESTS 143 31 204800 1100
32205502 tihoson B Nov. 10, 2017, 8:31 p.m. OK GNU C++11 TESTS 143 31 204800 1100
32138383 vjudge4 B Nov. 8, 2017, 11:56 a.m. OK GNU C++11 TESTS 143 31 204800 1100
31864920 vjudge4 B Oct. 29, 2017, 11:30 a.m. OK GNU C++11 TESTS 143 31 204800 1100
29598906 buituandai B Aug. 19, 2017, 1:04 p.m. OK GNU C++14 TESTS 143 15 0 1100
28168157 ZeDiX B June 30, 2017, 9 a.m. OK GNU C++14 TESTS 143 15 1945600 1100
31135838 iLoveIOI B Oct. 8, 2017, 7:22 a.m. OK GNU C++14 TESTS 143 31 0 1100
40981953 bronze_man B July 30, 2018, 6:12 p.m. OK GNU C++14 TESTS 143 31 0 1100
32001313 KhashayarSH B Nov. 3, 2017, 8:13 a.m. OK GNU C++14 TESTS 143 31 0 1100
26996945 pritam1989 B May 10, 2017, 1:21 p.m. OK GNU C++14 TESTS 143 31 409600 1100
30012105 Tufayel_LUS B Sept. 2, 2017, 11:52 a.m. OK GNU C++14 TESTS 143 31 409600 1100
22654449 Gevorkyan_Konstantin B Dec. 2, 2016, 9:02 a.m. OK GNU C++14 TESTS 143 31 409600 1100
38466054 jimmy18 B May 20, 2018, 5:29 p.m. OK GNU C++14 TESTS 143 31 1024000 1100
23528201 POISION B Jan. 4, 2017, 5:07 a.m. OK GNU C++14 TESTS 143 31 1945600 1100
41275410 Mr.R B Aug. 6, 2018, 12:53 p.m. OK GNU C++17 TESTS 143 31 0 1100
54632168 SamuelLim B May 25, 2019, 2:59 p.m. OK GNU C++17 TESTS 143 46 0 1100
39086073 bvdvlg B June 10, 2018, 7:35 a.m. OK GNU C++17 TESTS 143 46 0 1100
51415224 Casio991ms B March 17, 2019, 1:43 p.m. OK GNU C++17 TESTS 143 46 0 1100
51415298 vjudge5 B March 17, 2019, 1:44 p.m. OK GNU C++17 TESTS 143 46 0 1100
51415978 Casio991ms B March 17, 2019, 2:02 p.m. OK GNU C++17 TESTS 143 46 0 1100
62328478 bahaa B Oct. 10, 2019, 7:30 p.m. OK GNU C++17 TESTS 143 46 409600 1100
66797451 DevJewel B Dec. 13, 2019, 5:34 p.m. OK GNU C++17 TESTS 143 46 409600 1100
68653447 Top_xiao B Jan. 12, 2020, 11:29 a.m. OK GNU C++17 TESTS 143 46 409600 1100
68968450 nancheng58 B Jan. 17, 2020, 6:04 a.m. OK GNU C++17 TESTS 143 46 409600 1100
34156006 Khaled_Mohamed B Jan. 13, 2018, 4:26 p.m. OK GNU C++17 Diagnostics TESTS 143 997 99225600 1100
25355473 yuliang B March 9, 2017, 8:12 a.m. OK Go TESTS 143 46 7168000 1100
22085988 togatoga B Nov. 6, 2016, 10:51 p.m. OK Go TESTS 143 46 23347200 1100
25355498 yuliang B March 9, 2017, 8:14 a.m. OK Go TESTS 143 46 25292800 1100
43886195 Procras B Oct. 6, 2018, 7:35 a.m. OK Haskell TESTS 143 108 30617600 1100
52825075 Ikari_stream B April 16, 2019, 1:26 p.m. OK Java 8 TESTS 143 109 0 1100
29285823 coderbond007 B Aug. 8, 2017, 1:13 p.m. OK Java 8 TESTS 143 109 20582400 1100
25116297 Hardik.decoder B March 1, 2017, 6:42 a.m. OK Java 8 TESTS 143 109 20582400 1100
26889203 Bibhuti B May 5, 2017, 9:43 p.m. OK Java 8 TESTS 143 124 0 1100
46658008 dinesh_raj7 B Dec. 5, 2018, 5:27 p.m. OK Java 8 TESTS 143 124 0 1100
31043326 lm010 B Oct. 5, 2017, 5:55 p.m. OK Java 8 TESTS 143 124 0 1100
27803790 karanjobanputra B June 15, 2017, 4:24 p.m. OK Java 8 TESTS 143 124 0 1100
26895512 Don_1234 B May 6, 2017, 7:33 a.m. OK Java 8 TESTS 143 124 15974400 1100
19652479 hama-du B Aug. 5, 2016, 1:23 p.m. OK Java 8 TESTS 143 124 20172800 1100
31610215 poiuytrewq B Oct. 22, 2017, 5:23 p.m. OK Java 8 TESTS 143 124 20684800 1100
20924267 Skeukry B Sept. 26, 2016, 11:52 a.m. OK JavaScript TESTS 143 46 8294400 1100
23380779 Ablay_adil B Dec. 28, 2016, 3:12 p.m. OK JavaScript TESTS 143 62 18124800 1100
44054175 montacir B Oct. 9, 2018, 9:35 p.m. OK JavaScript TESTS 143 108 14336000 1100
25293272 Kiber_King B March 6, 2017, 1:20 p.m. OK Mono C# TESTS 143 62 19148800 1100
35595842 vjudge1 B Feb. 23, 2018, 12:12 p.m. OK Mono C# TESTS 143 62 20889600 1100
42789718 Skndr801 B Sept. 12, 2018, 7:36 a.m. OK Mono C# TESTS 143 77 10342400 1100
25293218 Kiber_King B March 6, 2017, 1:18 p.m. OK Mono C# TESTS 143 78 19456000 1100
44017226 nemars B Oct. 8, 2018, 10:37 p.m. OK Mono C# TESTS 143 93 15155200 1100
25158826 maneh.harutyunyan B March 2, 2017, 9:09 p.m. OK Mono C# TESTS 143 93 19865600 1100
25153187 MOVSES1 B March 2, 2017, 4:16 p.m. OK MS C# TESTS 143 62 19148800 1100
35902793 zschora B March 3, 2018, 10:13 p.m. OK MS C# TESTS 143 62 19456000 1100
29284829 Skndr B Aug. 8, 2017, 12:23 p.m. OK MS C# TESTS 143 62 19763200 1100
25153435 MOVSES1 B March 2, 2017, 4:31 p.m. OK MS C# TESTS 143 77 18944000 1100
19937108 jopa.h B Aug. 17, 2016, 11:55 p.m. OK MS C# TESTS 143 77 19046400 1100
25203960 armineterteryan B March 4, 2017, 7:52 a.m. OK MS C# TESTS 143 78 19558400 1100
25155380 anahit.martirosyan1 B March 2, 2017, 6:15 p.m. OK MS C# TESTS 143 78 19865600 1100
25368913 hospogh B March 9, 2017, 9 p.m. OK MS C# TESTS 143 78 19968000 1100
25270822 O_oNaro_O B March 5, 2017, 6:15 p.m. OK MS C# TESTS 143 92 19353600 1100
20270304 Chubcheg B Aug. 30, 2016, 5:15 a.m. OK MS C# TESTS 143 93 14336000 1100
21871623 the-lenin ovProphet G.I.JOE B Oct. 29, 2016, 12:35 p.m. OK MS C++ TESTS 143 30 0 1100
32077445 vjudge4 B Nov. 5, 2017, 1:39 p.m. OK MS C++ TESTS 143 31 409600 1100
32095766 vjudge5 B Nov. 6, 2017, 12:41 p.m. OK MS C++ TESTS 143 31 409600 1100
22125826 vjudge3 B Nov. 9, 2016, 8:11 a.m. OK MS C++ TESTS 143 31 409600 1100
32431567 nywoo20 B Nov. 18, 2017, 1:01 p.m. OK MS C++ TESTS 143 31 512000 1100
32096039 vjudge2 B Nov. 6, 2017, 12:50 p.m. OK MS C++ TESTS 143 31 512000 1100
31866070 vjudge1 B Oct. 29, 2017, 12:15 p.m. OK MS C++ TESTS 143 31 512000 1100
31862665 vjudge4 B Oct. 29, 2017, 9:59 a.m. OK MS C++ TESTS 143 31 512000 1100
32092539 vjudge5 B Nov. 6, 2017, 11:29 a.m. OK MS C++ TESTS 143 31 819200 1100
32158822 vjudge4 B Nov. 9, 2017, 1:21 p.m. OK MS C++ TESTS 143 31 819200 1100
61850157 Mad112233 B Oct. 4, 2019, 12:28 p.m. OK MS C++ 2017 TESTS 143 61 0 1100
55538756 fares_hatem B June 13, 2019, 6:11 p.m. OK MS C++ 2017 TESTS 143 108 819200 1100
64160089 KATAYPEPE B Nov. 3, 2019, 2:11 p.m. OK MS C++ 2017 TESTS 143 109 1024000 1100
66474934 HishamDroubi B Dec. 7, 2019, 8:12 p.m. OK MS C++ 2017 TESTS 143 109 1024000 1100
63509915 Ragnarok54 B Oct. 26, 2019, 8:06 p.m. OK MS C++ 2017 TESTS 143 109 8294400 1100
55826286 IbraheemJanajreh B June 20, 2019, 11:01 a.m. OK MS C++ 2017 TESTS 143 670 819200 1100
37428691 DooM228 B April 18, 2018, 8:10 a.m. OK PascalABC.NET TESTS 143 108 20582400 1100
23379120 a_bekzat B Dec. 28, 2016, 1:46 p.m. OK PHP TESTS 143 46 15974400 1100
33018292 latsyrc1123 B Dec. 8, 2017, 8:57 a.m. OK PyPy 2 TESTS 143 108 28672000 1100
24457519 har_vi B Feb. 5, 2017, 6:41 p.m. OK PyPy 2 TESTS 143 108 29798400 1100
20783636 i_love_emilia_clarke B Sept. 20, 2016, 7:19 p.m. OK PyPy 2 TESTS 143 124 7987200 1100
24112725 ManikantanV B Jan. 25, 2017, 1:41 p.m. OK PyPy 2 TESTS 143 124 29900800 1100
24104005 ebanner B Jan. 25, 2017, 4:28 a.m. OK PyPy 2 TESTS 143 124 30105600 1100
23929750 ragingbull B Jan. 18, 2017, 7:06 p.m. OK PyPy 2 TESTS 143 140 30105600 1100
40181384 kakkarotssj B July 10, 2018, 7:15 p.m. OK PyPy 2 TESTS 143 155 6656000 1100
30745355 KienMN B Sept. 26, 2017, 9:12 a.m. OK PyPy 3 TESTS 143 202 9625600 1100
54569397 iamprayush B May 24, 2019, 6:21 p.m. OK PyPy 3 TESTS 143 202 11059200 1100
28702007 _AUR_ B July 19, 2017, 5:02 p.m. OK PyPy 3 TESTS 143 218 32563200 1100
33049329 honeysingh123 B Dec. 9, 2017, 12:59 p.m. OK PyPy 3 TESTS 143 233 32768000 1100
67369879 abhishek.kehsihba B Dec. 21, 2019, 1:34 p.m. OK PyPy 3 TESTS 143 234 10649600 1100
58126549 Mehrdad_ravenS B Aug. 1, 2019, 12:47 p.m. OK PyPy 3 TESTS 143 234 11468800 1100
60314861 Sevlll B Sept. 9, 2019, 5:23 p.m. OK PyPy 3 TESTS 143 249 11264000 1100
57471552 kchau B July 21, 2019, 6:27 p.m. OK PyPy 3 TESTS 143 249 11468800 1100
59427996 beginner420 B Aug. 25, 2019, 4:21 a.m. OK PyPy 3 TESTS 143 264 15360000 1100
63388526 propashii B Oct. 25, 2019, 2:29 p.m. OK PyPy 3 TESTS 143 280 11468800 1100
20558820 susikyoon B Sept. 13, 2016, 1:50 a.m. OK Python 2 TESTS 143 78 5632000 1100
25023877 Unlenin B Feb. 25, 2017, 9:19 p.m. OK Python 2 TESTS 143 108 10444800 1100
25023869 Unlenin B Feb. 25, 2017, 9:18 p.m. OK Python 2 TESTS 143 108 10444800 1100
22279571 franckmy B Nov. 17, 2016, 2:47 a.m. OK Python 2 TESTS 143 109 5632000 1100
30560182 TWAIN B Sept. 20, 2017, 7:25 p.m. OK Python 2 TESTS 143 109 6553600 1100
27808822 BlueHazard_rony B June 15, 2017, 6:27 p.m. OK Python 2 TESTS 143 124 5836800 1100
32748377 laoliumang B Nov. 28, 2017, 11:45 a.m. OK Python 2 TESTS 143 124 10240000 1100
31660013 candycane34 B Oct. 23, 2017, 7:17 p.m. OK Python 2 TESTS 143 124 10444800 1100
19783087 sambit25 sid_m97 B Aug. 11, 2016, 11:37 a.m. OK Python 2 TESTS 143 124 10444800 1100
19782753 sambit25 sid_m97 B Aug. 11, 2016, 11:16 a.m. OK Python 2 TESTS 143 124 10444800 1100
19767018 sobir_bobiev B Aug. 10, 2016, 2:02 p.m. OK Python 3 TESTS 143 77 11571200 1100
28630178 Nodir_Bobiev B July 17, 2017, 6:47 a.m. OK Python 3 TESTS 143 77 11878400 1100
33846282 ving.xia B Jan. 1, 2018, 11:58 a.m. OK Python 3 TESTS 143 77 12902400 1100
31033797 treasuryonly B Oct. 5, 2017, 12:46 p.m. OK Python 3 TESTS 143 93 7372800 1100
30759452 c_utkarsh B Sept. 26, 2017, 5:58 p.m. OK Python 3 TESTS 143 93 8499200 1100
27682316 arpit040199 B June 9, 2017, 4:38 a.m. OK Python 3 TESTS 143 93 8499200 1100
27542972 gri B June 3, 2017, 12:09 p.m. OK Python 3 TESTS 143 93 8499200 1100
26965320 Christopher-Perkins B May 8, 2017, 10:35 p.m. OK Python 3 TESTS 143 93 8499200 1100
29092285 Qumeric B Aug. 1, 2017, 8:05 a.m. OK Python 3 TESTS 143 93 11571200 1100
29287047 tusihaha B Aug. 8, 2017, 2:20 p.m. OK Python 3 TESTS 143 93 12800000 1100
25107115 cielavenir B Feb. 28, 2017, 5:53 p.m. OK Ruby TESTS 143 109 24166400 1100
35889984 ______M______ B March 3, 2018, 2:48 p.m. OK Ruby TESTS 143 124 24064000 1100
59890625 matijap B Sept. 2, 2019, 10:12 a.m. OK Rust TESTS 143 46 3174400 1100
59890322 matijap B Sept. 2, 2019, 10:05 a.m. OK Rust TESTS 143 46 3174400 1100
22606133 techaddict B Nov. 29, 2016, 4:37 p.m. OK Scala TESTS 143 358 0 1100
21584511 reldan B Oct. 19, 2016, 7:23 a.m. OK Scala TESTS 143 405 46899200 1100

remove filters

Back to search problems