VK Cup 2016 - Round 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
641 VK Cup 2016 - Round 2 FINISHED False 7200 270307499 April 24, 2016, 4:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 5937 ) A Little Artem and Grasshopper PROGRAMMING implementation 1100

B'Little Artem found a grasshopper. He brought it to his house and constructed a jumping area for him. The area looks like a strip of cells 1 xe2 x80 x89 xc3 x97 xe2 x80 x89n. Each cell contains the direction for the next jump and the length of that jump. Grasshopper starts in the first cell and follows the instructions written on the cells. Grasshopper stops immediately if it jumps out of the strip. Now Artem wants to find out if this will ever happen. The first line of the input contains a single integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100 xe2 x80 x89000) -- length of the strip. Next line contains a string of length n which consists of characters "<" and ">" only, that provide the direction of the jump from the corresponding cell. Next line contains n integers di (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89di xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) -- the length of the jump from the i-th cell. Print "INFINITE" (without quotes) if grasshopper will continue his jumps forever. Otherwise print "FINITE" (without quotes). In the first sample grasshopper starts from the first cell and jumps to the right on the next cell. When he is in the second cell he needs to jump two cells left so he will jump out of the strip. Second sample grasshopper path is 1 - 3 - 2 - 3 - 2 - 3 and so on. The path is infinite. '...

Tutorials

VK Cup 2016 — Раунд 2 (editorial)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
17505867 cookiedoth A April 25, 2016, 9:08 a.m. OK FPC TESTS 60 30 2560000 1100
19294724 dmg A July 21, 2016, 6:23 a.m. OK FPC TESTS 60 31 1638400 1100
19655852 Inconnu A Aug. 5, 2016, 5:12 p.m. OK FPC TESTS 60 31 2048000 1100
19655815 Inconnu A Aug. 5, 2016, 5:09 p.m. OK FPC TESTS 60 31 2048000 1100
17483191 Ingus Sanja A April 24, 2016, 4:43 p.m. OK FPC TESTS 60 31 2457600 1100
17606778 k2nt A May 1, 2016, 10:44 a.m. OK FPC TESTS 60 31 2662400 1100
17482388 Astreb StarScreamOwl A April 24, 2016, 4:40 p.m. OK FPC TESTS 60 31 2662400 1100
18375786 ArGuTe A June 11, 2016, 2:06 p.m. OK FPC TESTS 60 46 2355200 1100
30910881 vjudge5 A Oct. 1, 2017, 2:05 p.m. OK GNU C TESTS 60 31 512000 1100
30910863 vjudge5 A Oct. 1, 2017, 2:04 p.m. OK GNU C TESTS 60 31 512000 1100
30906988 vjudge4 A Oct. 1, 2017, 11:24 a.m. OK GNU C TESTS 60 31 512000 1100
30794050 hitJudge A Sept. 28, 2017, 3:30 a.m. OK GNU C TESTS 60 31 512000 1100
21899724 Koshlendra7 A Oct. 30, 2016, 8:40 p.m. OK GNU C TESTS 60 31 614400 1100
30964395 vjudge1 A Oct. 3, 2017, 10:26 a.m. OK GNU C TESTS 60 31 921600 1100
27735209 garima441 A June 12, 2017, 9:43 a.m. OK GNU C TESTS 60 31 921600 1100
22850069 vjudge3 A Dec. 10, 2016, 7:34 a.m. OK GNU C TESTS 60 31 921600 1100
19395953 vjudge1 A July 25, 2016, 6:08 a.m. OK GNU C TESTS 60 31 921600 1100
21764776 Rizro A Oct. 25, 2016, 6:31 a.m. OK GNU C TESTS 60 31 1331200 1100
17504140 cheer1234 A April 25, 2016, 6:51 a.m. OK GNU C++ TESTS 60 15 2867200 1100
29129946 lzr_010506 A Aug. 2, 2017, 12:31 p.m. OK GNU C++ TESTS 60 15 2969600 1100
22706226 vjudge1 A Dec. 5, 2016, 7:08 a.m. OK GNU C++ TESTS 60 30 307200 1100
19394951 vjudge2 A July 25, 2016, 5:21 a.m. OK GNU C++ TESTS 60 30 512000 1100
17483590 onlyillusion igsilya A April 24, 2016, 4:44 p.m. OK GNU C++ TESTS 60 30 3174400 1100
22707193 vjudge2 A Dec. 5, 2016, 8:27 a.m. OK GNU C++ TESTS 60 31 307200 1100
19396357 vjudge1 A July 25, 2016, 6:27 a.m. OK GNU C++ TESTS 60 31 409600 1100
22900374 _ShadowSong A Dec. 12, 2016, 9:02 a.m. OK GNU C++ TESTS 60 31 409600 1100
19425900 vjudge3 A July 26, 2016, 3:58 p.m. OK GNU C++ TESTS 60 31 409600 1100
19395147 vjudge2 A July 25, 2016, 5:33 a.m. OK GNU C++ TESTS 60 31 409600 1100
30956542 vjudge4 A Oct. 3, 2017, 2:57 a.m. OK GNU C11 TESTS 60 31 512000 1100
56284291 kaiboy A June 29, 2019, 6:37 p.m. OK GNU C11 TESTS 60 31 614400 1100
20385131 Drowning_Prince A Sept. 4, 2016, 3:22 p.m. OK GNU C11 TESTS 60 31 921600 1100
30937795 vjudge1 A Oct. 2, 2017, 8:52 a.m. OK GNU C11 TESTS 60 31 921600 1100
30208561 Arcane_BlackHole A Sept. 8, 2017, 5:13 p.m. OK GNU C11 TESTS 60 31 921600 1100
17507432 busyjay A April 25, 2016, 11:06 a.m. OK GNU C11 TESTS 60 31 2560000 1100
29136852 vjudge3 A Aug. 2, 2017, 5:39 p.m. OK GNU C11 TESTS 60 31 2764800 1100
29137491 vjudge1 A Aug. 2, 2017, 6:15 p.m. OK GNU C11 TESTS 60 31 2764800 1100
29154953 vjudge4 A Aug. 3, 2017, 12:14 p.m. OK GNU C11 TESTS 60 31 2764800 1100
29154960 vjudge3 A Aug. 3, 2017, 12:14 p.m. OK GNU C11 TESTS 60 31 2764800 1100
17482079 Saimon_Saret agul A April 24, 2016, 4:39 p.m. OK GNU C++11 TESTS 60 15 3379200 1100
20284453 makut A Aug. 30, 2016, 4:15 p.m. OK GNU C++11 TESTS 60 30 716800 1100
17482568 vladi A April 24, 2016, 4:40 p.m. OK GNU C++11 TESTS 60 30 2764800 1100
17483787 Nusratbek A April 24, 2016, 4:45 p.m. OK GNU C++11 TESTS 60 30 2867200 1100
17482949 vudu4 Cheshulko A April 24, 2016, 4:42 p.m. OK GNU C++11 TESTS 60 30 3174400 1100
19391568 y_shindoh A July 25, 2016, 12:48 a.m. OK GNU C++11 TESTS 60 31 307200 1100
30796888 hitJudge A Sept. 28, 2017, 6:54 a.m. OK GNU C++11 TESTS 60 31 409600 1100
54740578 luogu_bot3 A May 28, 2019, 7:41 a.m. OK GNU C++11 TESTS 60 31 409600 1100
30793992 hitJudge A Sept. 28, 2017, 3:26 a.m. OK GNU C++11 TESTS 60 31 614400 1100
18921002 Trasier A July 6, 2016, 3:24 p.m. OK GNU C++11 TESTS 60 31 614400 1100
41818088 HowardChung A Aug. 19, 2018, 7:40 a.m. OK GNU C++14 TESTS 60 31 614400 1100
32378904 __AvadaKedavra A Nov. 17, 2017, 1 p.m. OK GNU C++14 TESTS 60 31 614400 1100
31163800 parasol A Oct. 9, 2017, 9:53 a.m. OK GNU C++14 TESTS 60 31 614400 1100
30868997 yashar_sb_sb A Sept. 30, 2017, 2:22 p.m. OK GNU C++14 TESTS 60 31 716800 1100
22172033 George.Samuel A Nov. 12, 2016, 4:11 a.m. OK GNU C++14 TESTS 60 31 1024000 1100
20752870 Amores A Sept. 19, 2016, 11:02 a.m. OK GNU C++14 TESTS 60 31 1126400 1100
22634396 vovanstrr A Dec. 1, 2016, 7:23 a.m. OK GNU C++14 TESTS 60 31 1945600 1100
35214319 Uzumaki_Narutoo A Feb. 13, 2018, 5:55 p.m. OK GNU C++14 TESTS 60 31 2457600 1100
26414620 fake_genius A April 16, 2017, 2:02 p.m. OK GNU C++14 TESTS 60 31 2457600 1100
34068806 immsjain A Jan. 10, 2018, 12:40 p.m. OK GNU C++14 TESTS 60 31 2560000 1100
52590611 PARTHO_DAS A April 11, 2019, 5:17 a.m. OK GNU C++17 TESTS 60 46 512000 1100
67455865 bahaa A Dec. 23, 2019, 6:51 a.m. OK GNU C++17 TESTS 60 46 512000 1100
54534144 XinLoiNguoi A May 23, 2019, 6:52 p.m. OK GNU C++17 TESTS 60 46 614400 1100
50496517 kefaa2 antontrygubO_o A Feb. 25, 2019, 3:24 p.m. OK GNU C++17 TESTS 60 46 614400 1100
60165381 okwedook Akulyat A Sept. 6, 2019, 10:42 a.m. OK GNU C++17 TESTS 60 46 716800 1100
51263135 vjudge4 A March 13, 2019, 2:13 p.m. OK GNU C++17 TESTS 60 46 716800 1100
53117342 _encrypto A April 22, 2019, 9:02 a.m. OK GNU C++17 TESTS 60 46 716800 1100
59649759 Skybytskyi.Nikita A Aug. 29, 2019, 7:40 a.m. OK GNU C++17 TESTS 60 46 716800 1100
66805890 DevJewel A Dec. 13, 2019, 9:06 p.m. OK GNU C++17 TESTS 60 46 819200 1100
48082322 alexX512 Aleks5d A Jan. 8, 2019, 8:47 a.m. OK GNU C++17 TESTS 60 46 921600 1100
17482385 slava.sh A April 24, 2016, 4:40 p.m. OK Go TESTS 60 31 9318400 1100
20730088 pavel.rosputko A Sept. 18, 2016, 10:04 a.m. OK Haskell TESTS 60 31 10752000 1100
20730032 pavel.rosputko A Sept. 18, 2016, 10:02 a.m. OK Haskell TESTS 60 31 10752000 1100
17549003 system121 A April 28, 2016, 4:43 a.m. OK Java 7 TESTS 60 124 40345600 1100
17482429 itukh hey_boris A April 24, 2016, 4:40 p.m. OK Java 7 TESTS 60 140 49971200 1100
18163298 noir A May 31, 2016, 3:36 a.m. OK Java 7 TESTS 60 295 39526400 1100
18667252 harsh11298 A June 23, 2016, 4:22 p.m. OK Java 7 TESTS 60 311 0 1100
46095209 I.A.K.O.V A Nov. 22, 2018, 11:04 p.m. OK Java 8 TESTS 60 124 0 1100
19759203 tookunn A Aug. 10, 2016, 5:50 a.m. OK Java 8 TESTS 60 124 20275200 1100
17482806 Musin NikitaMikhaylov A April 24, 2016, 4:41 p.m. OK Java 8 TESTS 60 124 20582400 1100
17704017 safarisoul A May 4, 2016, 4:14 a.m. OK Java 8 TESTS 60 124 21401600 1100
25013064 Kammola A Feb. 25, 2017, 1:05 p.m. OK Java 8 TESTS 60 124 21708800 1100
37583414 kocko A April 24, 2018, 8:43 p.m. OK Java 8 TESTS 60 139 20787200 1100
17483030 Jace_Beleren Jovfer A April 24, 2016, 4:42 p.m. OK Java 8 TESTS 60 139 21196800 1100
17483141 orz doreshnikov A April 24, 2016, 4:43 p.m. OK Java 8 TESTS 60 139 21299200 1100
17510471 Sehnsucht A April 25, 2016, 2:24 p.m. OK Java 8 TESTS 60 139 21708800 1100
17482027 WiBk alex700 A April 24, 2016, 4:39 p.m. OK Java 8 TESTS 60 139 21811200 1100
37746690 Salatik231166 A April 30, 2018, 11:22 a.m. OK Mono C# TESTS 60 62 22630400 1100
21396523 pomjuice A Oct. 13, 2016, 6:04 a.m. OK Mono C# TESTS 60 77 22016000 1100
51447743 nemars A March 18, 2019, 1:17 p.m. OK Mono C# TESTS 60 78 15564800 1100
36220088 Skndr A March 12, 2018, 10:19 a.m. OK MS C# TESTS 60 61 19968000 1100
25952892 tRinidad A March 30, 2017, 12:57 p.m. OK MS C# TESTS 60 62 20275200 1100
23504837 m1_k3 A Jan. 2, 2017, 6:45 p.m. OK MS C# TESTS 60 78 9932800 1100
24417788 HikeNoAce A Feb. 3, 2017, 6:27 p.m. OK MS C# TESTS 60 78 22528000 1100
17482550 sereja589 freepvps A April 24, 2016, 4:40 p.m. OK MS C# TESTS 60 92 14131200 1100
17566941 hdz A April 29, 2016, 1:37 p.m. OK MS C# TESTS 60 92 22323200 1100
20548917 Chubcheg A Sept. 12, 2016, 12:42 p.m. OK MS C# TESTS 60 108 13312000 1100
17504776 dinnot A April 25, 2016, 7:51 a.m. OK MS C# TESTS 60 140 22220800 1100
30853808 scorpiowf A Sept. 30, 2017, 3:24 a.m. OK MS C++ TESTS 60 30 7475200 1100
17482096 Waldis Vanek A April 24, 2016, 4:39 p.m. OK MS C++ TESTS 60 31 2764800 1100
17484177 Staelth A April 24, 2016, 4:47 p.m. OK MS C++ TESTS 60 31 2764800 1100
17533448 1506300017 A April 27, 2016, 10:19 a.m. OK MS C++ TESTS 60 31 2764800 1100
17483037 TonySnark A April 24, 2016, 4:42 p.m. OK MS C++ TESTS 60 31 2867200 1100
17482642 AK93 jlahcejlot A April 24, 2016, 4:41 p.m. OK MS C++ TESTS 60 31 2867200 1100
17482576 CoDeRoK Ret A April 24, 2016, 4:40 p.m. OK MS C++ TESTS 60 31 2867200 1100
17483757 Lipin merrychap A April 24, 2016, 4:45 p.m. OK MS C++ TESTS 60 31 2867200 1100
17483745 ferc crazysun A April 24, 2016, 4:45 p.m. OK MS C++ TESTS 60 31 2867200 1100
17483094 Anton92nd crassirostris A April 24, 2016, 4:42 p.m. OK MS C++ TESTS 60 31 2867200 1100
47302611 Baron3228 A Dec. 20, 2018, 2:58 p.m. OK PascalABC.NET TESTS 60 92 0 1100
17502360 mayakin A April 25, 2016, 3:59 a.m. OK PHP TESTS 60 171 35635200 1100
17556767 ftuknights A April 28, 2016, 6:01 p.m. OK PyPy 2 TESTS 60 186 30822400 1100
61857321 Mehrdad_ravenS A Oct. 4, 2019, 2:24 p.m. OK PyPy 3 TESTS 60 218 10956800 1100
17484832 objatie_groba pavelb654 A April 24, 2016, 4:50 p.m. OK PyPy 3 TESTS 60 249 32563200 1100
22283874 franckmy A Nov. 17, 2016, 9 a.m. OK Python 2 TESTS 60 109 5427200 1100
20603910 Leti A Sept. 14, 2016, 3:12 a.m. OK Python 2 TESTS 60 109 5427200 1100
21771551 drchuck A Oct. 25, 2016, 1:08 p.m. OK Python 2 TESTS 60 124 6553600 1100
18105094 lungly1 A May 26, 2016, 1:48 p.m. OK Python 2 TESTS 60 124 9830400 1100
18056806 nealzane A May 24, 2016, 2:20 p.m. OK Python 2 TESTS 60 124 9830400 1100
18169694 newbeginBKB A May 31, 2016, 1:56 p.m. OK Python 2 TESTS 60 124 9932800 1100
20983374 lovesh93 A Sept. 29, 2016, 4:43 a.m. OK Python 2 TESTS 60 139 6553600 1100
17550688 courageJ A April 28, 2016, 7:56 a.m. OK Python 2 TESTS 60 140 10035200 1100
17607519 WINGLun A May 1, 2016, 11:56 a.m. OK Python 2 TESTS 60 155 10035200 1100
17486834 evg.anikin A April 24, 2016, 5:01 p.m. OK Python 2 TESTS 60 155 10035200 1100
19442601 orailly A July 27, 2016, 1:13 p.m. OK Python 3 TESTS 60 109 7987200 1100
29266433 vjudge5 A Aug. 7, 2017, 2 p.m. OK Python 3 TESTS 60 124 12288000 1100
28975953 LegendaryTooth A July 29, 2017, 6:06 p.m. OK Python 3 TESTS 60 124 12288000 1100
17695803 AlvinMax A May 3, 2016, 7:23 a.m. OK Python 3 TESTS 60 124 12288000 1100
17609445 Isidev96 A May 1, 2016, 3:15 p.m. OK Python 3 TESTS 60 124 12288000 1100
17484859 shali untech A April 24, 2016, 4:50 p.m. OK Python 3 TESTS 60 124 12288000 1100
17779915 sxx A May 7, 2016, 2:54 p.m. OK Python 3 TESTS 60 139 12288000 1100
17483293 Loud_Scream Rahmandretop A April 24, 2016, 4:43 p.m. OK Python 3 TESTS 60 139 12288000 1100
17702145 abrd17 A May 3, 2016, 7:17 p.m. OK Python 3 TESTS 60 140 12288000 1100
17600289 copperhead A April 30, 2016, 8:24 p.m. OK Python 3 TESTS 60 140 12288000 1100
18695133 MoOfMo A June 24, 2016, 6:33 a.m. OK Ruby TESTS 60 171 19353600 1100
17566776 reldan A April 29, 2016, 1:25 p.m. OK Scala TESTS 60 373 46694400 1100

remove filters

Back to search problems