Good Bye 2016

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
750 Good Bye 2016 FINISHED False 9000 248715899 Dec. 30, 2016, 2:15 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 9488 ) B New Year and North Pole PROGRAMMING geometry implementation 1300

B'In this problem we assume the Earth to be a completely round ball and its surface a perfect sphere. The length of the equator and any meridian is considered to be exactly 40 xe2 x80 x89000 kilometers. Thus, travelling from North Pole to South Pole or vice versa takes exactly 20 xe2 x80 x89000 kilometers. Limak, a polar bear, lives on the North Pole. Close to the New Year, he helps somebody with delivering packages all around the world. Instead of coordinates of places to visit, Limak got a description how he should move, assuming that he starts from the North Pole. The description consists of n parts. In the i-th part of his journey, Limak should move ti kilometers in the direction represented by a string diri that is one of: "North", "South", "West", "East". Limak isn xe2 x80 x99t sure whether the description is valid. You must help him to check the following conditions: Check if the above conditions are satisfied and print "YES" or "NO" on a single line. 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 x8950). The i-th of next n lines contains an integer ti and a string diri (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ti xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106, ) -- the length and the direction of the i-th part of the journey, according to the description Limak got. Print "YES" if the description satisfies the three conditions, otherwise print "NO", both without the quotes. Drawings below show how Limak 's journey would look like in first two samples. In the second sample the answer is "NO" because he doesn 't end on the North Pole. '...

Tutorials

Good Bye 2016 — hints and codes

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
33396311 ImForbiddenToSayILoveYou B Dec. 19, 2017, 3:34 a.m. OK FPC TESTS 140 15 1638400 1300
23522652 dannmmaster B Jan. 3, 2017, 6:46 p.m. OK FPC TESTS 140 15 1740800 1300
23615254 bzh B Jan. 7, 2017, 1:53 a.m. OK FPC TESTS 140 15 1740800 1300
24563955 UNDogMan B Feb. 10, 2017, 6:50 a.m. OK FPC TESTS 140 15 1740800 1300
25165711 Shadowest B March 3, 2017, 8:52 a.m. OK FPC TESTS 140 15 1740800 1300
25437251 TNH23 B March 12, 2017, 2:43 p.m. OK FPC TESTS 140 15 1740800 1300
25717215 HayatoG B March 22, 2017, 4:40 p.m. OK FPC TESTS 140 15 1740800 1300
26116396 MinumCoklatPanas B April 4, 2017, 8:05 a.m. OK FPC TESTS 140 15 1740800 1300
23514023 KiberGraf B Jan. 3, 2017, 9:59 a.m. OK FPC TESTS 140 15 1740800 1300
26697279 nikih.10 B April 27, 2017, 6:52 a.m. OK FPC TESTS 140 15 1740800 1300
27549415 Moneesh B June 3, 2017, 5:14 p.m. OK GNU C TESTS 140 15 0 1300
35129359 MYNAMEISSHARIFUL B Feb. 10, 2018, 3:21 p.m. OK GNU C TESTS 140 15 1843200 1300
34197799 Iftekhar_Hakim_K B Jan. 15, 2018, 1:21 p.m. OK GNU C TESTS 140 15 1843200 1300
33513844 tube-lite B Dec. 22, 2017, 4:08 p.m. OK GNU C TESTS 140 15 1843200 1300
33071200 vjudge5 B Dec. 10, 2017, 1:43 a.m. OK GNU C TESTS 140 15 1843200 1300
25426571 vjudge3 B March 12, 2017, 7:31 a.m. OK GNU C TESTS 140 15 1843200 1300
24409490 vjudge3 B Feb. 3, 2017, 12:08 p.m. OK GNU C TESTS 140 15 1843200 1300
24071919 vjudge2 B Jan. 23, 2017, 1:36 p.m. OK GNU C TESTS 140 15 1843200 1300
23797636 saltedfish B Jan. 14, 2017, 4:56 a.m. OK GNU C TESTS 140 15 1843200 1300
35176906 vjudge5 B Feb. 12, 2018, 12:05 p.m. OK GNU C TESTS 140 15 1945600 1300
31046966 risitos_de_oro3 B Oct. 5, 2017, 8:50 p.m. OK GNU C++ TESTS 140 15 0 1300
32209248 vjudge4 B Nov. 11, 2017, 2:46 a.m. OK GNU C++ TESTS 140 15 0 1300
32209230 vjudge4 B Nov. 11, 2017, 2:44 a.m. OK GNU C++ TESTS 140 15 0 1300
32209007 vjudge5 B Nov. 11, 2017, 2:16 a.m. OK GNU C++ TESTS 140 15 0 1300
32208878 vjudge2 B Nov. 11, 2017, 2:02 a.m. OK GNU C++ TESTS 140 15 0 1300
31999173 zweack B Nov. 3, 2017, 7:11 a.m. OK GNU C++ TESTS 140 15 0 1300
31046357 arcely B Oct. 5, 2017, 8:14 p.m. OK GNU C++ TESTS 140 15 0 1300
30263921 vjudge5 B Sept. 11, 2017, 10:48 a.m. OK GNU C++ TESTS 140 15 0 1300
30227047 smoggy B Sept. 9, 2017, 1:43 p.m. OK GNU C++ TESTS 140 15 0 1300
30182792 vjudge1 B Sept. 7, 2017, 1:47 p.m. OK GNU C++ TESTS 140 15 0 1300
35179314 vjudge3 B Feb. 12, 2018, 1:33 p.m. OK GNU C11 TESTS 140 15 1843200 1300
23480148 DiorW B Jan. 1, 2017, 8:20 a.m. OK GNU C11 TESTS 140 15 1945600 1300
23489624 _AUR_ B Jan. 1, 2017, 8:04 p.m. OK GNU C11 TESTS 140 15 1945600 1300
23492772 napatnicky B Jan. 2, 2017, 4:06 a.m. OK GNU C11 TESTS 140 15 1945600 1300
23548331 madhur.garg B Jan. 5, 2017, 5:56 a.m. OK GNU C11 TESTS 140 15 1945600 1300
24064719 vjudge2 B Jan. 23, 2017, 6:55 a.m. OK GNU C11 TESTS 140 15 1945600 1300
25693015 vjudge5 B March 21, 2017, 2:43 p.m. OK GNU C11 TESTS 140 15 1945600 1300
25881899 nimom B March 28, 2017, 7:02 p.m. OK GNU C11 TESTS 140 15 1945600 1300
35177987 vjudge5 B Feb. 12, 2018, 12:46 p.m. OK GNU C11 TESTS 140 15 2048000 1300
24716090 newbass B Feb. 16, 2017, 11 a.m. OK GNU C11 TESTS 140 30 1843200 1300
32218163 silviuilas B Nov. 11, 2017, 11:38 a.m. OK GNU C++11 TESTS 140 15 0 1300
29733851 vjudge3 B Aug. 24, 2017, 2:46 p.m. OK GNU C++11 TESTS 140 15 0 1300
29733869 dragonfly B Aug. 24, 2017, 2:47 p.m. OK GNU C++11 TESTS 140 15 0 1300
29827489 Valk628 B Aug. 27, 2017, 1:32 p.m. OK GNU C++11 TESTS 140 15 0 1300
30246715 cyansea B Sept. 10, 2017, 1:49 p.m. OK GNU C++11 TESTS 140 15 0 1300
30329934 bryant03 B Sept. 14, 2017, 1:44 p.m. OK GNU C++11 TESTS 140 15 0 1300
30745226 famina B Sept. 26, 2017, 9:06 a.m. OK GNU C++11 TESTS 140 15 0 1300
30980499 VIKASPATIDAR B Oct. 4, 2017, 12:50 a.m. OK GNU C++11 TESTS 140 15 0 1300
31226476 DrSwad B Oct. 11, 2017, 7:37 p.m. OK GNU C++11 TESTS 140 15 0 1300
32080381 i._buriev B Nov. 5, 2017, 4:17 p.m. OK GNU C++11 TESTS 140 15 0 1300
32490541 SoGood B Nov. 20, 2017, 6:10 a.m. OK GNU C++14 TESTS 140 15 0 1300
32560415 Harshad B Nov. 22, 2017, 7:41 p.m. OK GNU C++14 TESTS 140 15 0 1300
32281482 adnankattan9 B Nov. 13, 2017, 10:38 a.m. OK GNU C++14 TESTS 140 15 0 1300
32209536 vjudge1 B Nov. 11, 2017, 3:19 a.m. OK GNU C++14 TESTS 140 15 0 1300
32203720 OthmanAladlan B Nov. 10, 2017, 6:53 p.m. OK GNU C++14 TESTS 140 15 0 1300
32138512 weak_informatics B Nov. 8, 2017, 12:01 p.m. OK GNU C++14 TESTS 140 15 0 1300
31984270 callistustan B Nov. 2, 2017, 3:10 p.m. OK GNU C++14 TESTS 140 15 0 1300
31930459 MoMoJoJo B Oct. 31, 2017, 6:25 p.m. OK GNU C++14 TESTS 140 15 0 1300
31891299 helloworld1819 B Oct. 30, 2017, 11:20 a.m. OK GNU C++14 TESTS 140 15 0 1300
31884393 libra9z B Oct. 30, 2017, 8:02 a.m. OK GNU C++14 TESTS 140 15 0 1300
35093567 erove B Feb. 9, 2018, 2:32 p.m. OK GNU C++17 TESTS 140 15 2048000 1300
40728291 Mr.R B July 25, 2018, 6:20 a.m. OK GNU C++17 TESTS 140 30 0 1300
38124719 Privayte B May 11, 2018, 11:26 p.m. OK GNU C++17 TESTS 140 30 3686400 1300
68134633 vjudge5 B Jan. 3, 2020, 6:20 p.m. OK GNU C++17 TESTS 140 31 0 1300
68607711 math_lover B Jan. 11, 2020, 2:37 p.m. OK GNU C++17 TESTS 140 31 0 1300
69396973 MrSKJ B Jan. 23, 2020, 6:46 a.m. OK GNU C++17 TESTS 140 31 0 1300
69474374 Bear_2 B Jan. 24, 2020, 3:38 p.m. OK GNU C++17 TESTS 140 31 0 1300
68118270 Baniya_09 B Jan. 3, 2020, 12:19 p.m. OK GNU C++17 TESTS 140 31 0 1300
68127729 Hasti_K B Jan. 3, 2020, 3:49 p.m. OK GNU C++17 TESTS 140 31 0 1300
68130258 vjudge3 B Jan. 3, 2020, 4:46 p.m. OK GNU C++17 TESTS 140 31 0 1300
23476859 Boxer B Jan. 1, 2017, 12:33 a.m. OK Go TESTS 140 15 23040000 1300
23680694 meiz B Jan. 10, 2017, 12:29 p.m. OK Go TESTS 140 31 23040000 1300
23498054 hInstance B Jan. 2, 2017, 11:45 a.m. OK Go TESTS 140 31 23040000 1300
23476943 Boxer B Jan. 1, 2017, 12:53 a.m. OK Go TESTS 140 31 23040000 1300
24002974 yuliang B Jan. 21, 2017, 5:33 a.m. OK Go TESTS 140 31 23142400 1300
23791838 goC B Jan. 13, 2017, 6:44 p.m. OK Go TESTS 140 31 23244800 1300
23791728 goC B Jan. 13, 2017, 6:39 p.m. OK Go TESTS 140 31 23244800 1300
40188613 vjudge1 B July 11, 2018, 4:35 a.m. OK Go TESTS 140 46 307200 1300
23535883 math4tots B Jan. 4, 2017, 1:02 p.m. OK Haskell TESTS 140 31 53248000 1300
67950815 Vatsal53 B Dec. 30, 2019, 7:34 a.m. OK Java 8 TESTS 140 109 0 1300
58204285 vvenkai B Aug. 3, 2019, 6:14 a.m. OK Java 8 TESTS 140 109 0 1300
44933919 mohdafzal330 B Oct. 27, 2018, 4:04 a.m. OK Java 8 TESTS 140 109 0 1300
25358954 VerticesEdge B March 9, 2017, 11:56 a.m. OK Java 8 TESTS 140 109 20172800 1300
23870526 WiNDWAY B Jan. 16, 2017, 12:52 a.m. OK Java 8 TESTS 140 109 20582400 1300
28633874 tomdmitriev B July 17, 2017, 8:45 a.m. OK Java 8 TESTS 140 109 20582400 1300
23668859 TheCodeFather B Jan. 9, 2017, 6:19 p.m. OK Java 8 TESTS 140 109 20582400 1300
23488336 Khaled9447 B Jan. 1, 2017, 6:27 p.m. OK Java 8 TESTS 140 109 20582400 1300
23476389 pmarecki B Dec. 31, 2016, 11:01 p.m. OK Java 8 TESTS 140 109 20582400 1300
29088347 TVH B Aug. 1, 2017, 5:27 a.m. OK Java 8 TESTS 140 109 21196800 1300
59776008 david_varela B Aug. 30, 2019, 11:07 p.m. OK Kotlin TESTS 140 140 0 1300
39336129 nk2IsHere B June 17, 2018, 1:17 p.m. OK Kotlin TESTS 140 140 0 1300
27505572 Venrto B June 1, 2017, 5:03 p.m. OK Kotlin TESTS 140 156 921600 1300
39049458 ymrg3307 B June 8, 2018, 3:06 p.m. OK Mono C# TESTS 140 46 0 1300
43811866 nemars B Oct. 5, 2018, 1:37 a.m. OK Mono C# TESTS 140 46 0 1300
27071182 Xtreemist B May 13, 2017, 8:09 a.m. OK Mono C# TESTS 140 62 102400 1300
49188505 Zedronar B Jan. 30, 2019, 7:13 a.m. OK Mono C# TESTS 140 62 1638400 1300
27684398 tianchi B June 9, 2017, 7:32 a.m. OK Mono C# TESTS 140 77 2457600 1300
34489771 DCNick3 B Jan. 23, 2018, 4:57 p.m. OK MS C# TESTS 140 46 9318400 1300
28708886 treasuryonly B July 20, 2017, 2:32 a.m. OK MS C# TESTS 140 46 9318400 1300
25631967 suvasish B March 19, 2017, 12:09 a.m. OK MS C# TESTS 140 61 9113600 1300
31854073 aceeca1 B Oct. 29, 2017, 2:28 a.m. OK MS C# TESTS 140 62 0 1300
23656264 secret6a B Jan. 8, 2017, 8:06 p.m. OK MS C# TESTS 140 62 9113600 1300
24265189 Chubcheg B Jan. 30, 2017, 11:17 a.m. OK MS C# TESTS 140 62 9113600 1300
23726094 serrg B Jan. 11, 2017, 10:01 p.m. OK MS C# TESTS 140 62 9113600 1300
23526273 d_smorodinnikov B Jan. 4, 2017, 1:03 a.m. OK MS C# TESTS 140 62 9216000 1300
23632554 vitoshacademy B Jan. 7, 2017, 5:55 p.m. OK MS C# TESTS 140 77 9113600 1300
24800786 Sorryforpartyrocking B Feb. 19, 2017, 11:35 a.m. OK MS C# TESTS 140 77 9113600 1300
27325243 doradopvt B May 24, 2017, 7 p.m. OK MS C++ TESTS 140 15 0 1300
32209437 vjudge2 B Nov. 11, 2017, 3:04 a.m. OK MS C++ TESTS 140 15 0 1300
26917242 shio B May 7, 2017, 6:33 a.m. OK MS C++ TESTS 140 15 102400 1300
27060610 daniil.maltsev.md B May 12, 2017, 6:44 p.m. OK MS C++ TESTS 140 15 204800 1300
27354528 ZeDiX B May 26, 2017, 11:21 a.m. OK MS C++ TESTS 140 15 204800 1300
34837349 vjudge3 B Feb. 2, 2018, 12:17 p.m. OK MS C++ TESTS 140 15 2048000 1300
35577768 lackloper B Feb. 22, 2018, 4 p.m. OK MS C++ TESTS 140 15 2048000 1300
34654294 vjudge5 B Jan. 29, 2018, 7:45 a.m. OK MS C++ TESTS 140 15 2048000 1300
34653752 vjudge4 B Jan. 29, 2018, 7:24 a.m. OK MS C++ TESTS 140 15 2048000 1300
34090309 lechinhin B Jan. 11, 2018, 2:52 p.m. OK MS C++ TESTS 140 15 2048000 1300
58653361 IbraheemJanajreh B Aug. 12, 2019, 8:17 a.m. OK MS C++ 2017 TESTS 140 31 0 1300
58653498 IbraheemJanajreh B Aug. 12, 2019, 8:20 a.m. OK MS C++ 2017 TESTS 140 31 0 1300
53430204 Tomas_Alexander B April 27, 2019, 3:51 p.m. OK MS C++ 2017 TESTS 140 31 0 1300
64638081 KATAYPEPE B Nov. 10, 2019, 12:13 p.m. OK MS C++ 2017 TESTS 140 31 307200 1300
69796666 DEV10 B Jan. 29, 2020, 8:23 p.m. OK MS C++ 2017 TESTS 140 31 307200 1300
61244325 siwei B Sept. 24, 2019, 10:05 p.m. OK MS C++ 2017 TESTS 140 46 0 1300
50310911 nomiku99 B Feb. 22, 2019, 9:24 a.m. OK MS C++ 2017 TESTS 140 46 102400 1300
23536661 Crucian B Jan. 4, 2017, 1:45 p.m. OK Ocaml TESTS 140 31 3891200 1300
33270746 Akulyat B Dec. 15, 2017, 4:11 p.m. OK PascalABC.NET TESTS 140 46 16896000 1300
49037613 simonicks B Jan. 27, 2019, 4:41 a.m. OK PascalABC.NET TESTS 140 187 0 1300
23667667 Eeyore B Jan. 9, 2017, 5:09 p.m. OK PyPy 2 TESTS 140 62 22016000 1300
23491682 masonsbro B Jan. 2, 2017, 12:59 a.m. OK PyPy 2 TESTS 140 77 22016000 1300
24345887 ani_anand B Feb. 1, 2017, 2:06 p.m. OK PyPy 2 TESTS 140 93 22016000 1300
23942716 w0n B Jan. 19, 2017, 10:56 a.m. OK PyPy 2 TESTS 140 124 22016000 1300
59892943 ssk497 B Sept. 2, 2019, 11:06 a.m. OK PyPy 2 TESTS 140 280 8396800 1300
28068893 _Plague_ B June 27, 2017, 5:33 a.m. OK PyPy 3 TESTS 140 108 23142400 1300
30046510 KienMN B Sept. 4, 2017, 3:56 a.m. OK PyPy 3 TESTS 140 109 307200 1300
23487433 yudgin070707 B Jan. 1, 2017, 5:28 p.m. OK PyPy 3 TESTS 140 109 23347200 1300
23793537 clarinet758 B Jan. 13, 2017, 8:37 p.m. OK PyPy 3 TESTS 140 124 23347200 1300
59823084 FireBird23 B Aug. 31, 2019, 6:09 p.m. OK PyPy 3 TESTS 140 139 0 1300
55537232 shiv1470 B June 13, 2019, 5:08 p.m. OK PyPy 3 TESTS 140 140 0 1300
54493099 iamprayush B May 22, 2019, 4:22 p.m. OK PyPy 3 TESTS 140 140 0 1300
46998286 xumouyi B Dec. 14, 2018, 9:58 a.m. OK PyPy 3 TESTS 140 140 0 1300
41408173 petiteteaparty B Aug. 9, 2018, 6:05 p.m. OK PyPy 3 TESTS 140 140 0 1300
68314323 smoke_bellew B Jan. 6, 2020, 12:37 p.m. OK PyPy 3 TESTS 140 155 0 1300
24949402 Unlenin B Feb. 23, 2017, 9:58 p.m. OK Python 2 TESTS 140 46 4710400 1300
25136103 ThaynanAndrey B March 1, 2017, 9:05 p.m. OK Python 2 TESTS 140 61 4608000 1300
27736879 BlueHazard_rony B June 12, 2017, 11:29 a.m. OK Python 2 TESTS 140 62 0 1300
27670674 shubho B June 8, 2017, 12:01 p.m. OK Python 2 TESTS 140 62 0 1300
27565392 mohammad6 B June 4, 2017, 1:58 p.m. OK Python 2 TESTS 140 62 0 1300
27123241 ArGuTe B May 15, 2017, 2:05 p.m. OK Python 2 TESTS 140 62 0 1300
35087905 terrificbaba B Feb. 9, 2018, 11:35 a.m. OK Python 2 TESTS 140 62 4608000 1300
34620786 Jsxft B Jan. 28, 2018, 1:32 a.m. OK Python 2 TESTS 140 62 4608000 1300
34294304 franckmy B Jan. 19, 2018, 6:54 a.m. OK Python 2 TESTS 140 62 4608000 1300
33013986 xiaowuc1 B Dec. 8, 2017, 4:26 a.m. OK Python 2 TESTS 140 62 4608000 1300
32368597 ving.xia B Nov. 17, 2017, 3:10 a.m. OK Python 3 TESTS 140 62 0 1300
31779866 mola.mola B Oct. 27, 2017, 4:49 a.m. OK Python 3 TESTS 140 62 0 1300
30940850 yugle7 B Oct. 2, 2017, 11:22 a.m. OK Python 3 TESTS 140 62 0 1300
27778044 Kaktoos B June 14, 2017, 6:07 p.m. OK Python 3 TESTS 140 62 0 1300
27773086 poyodr B June 14, 2017, 11:27 a.m. OK Python 3 TESTS 140 62 0 1300
27281072 frikha B May 22, 2017, 9:50 a.m. OK Python 3 TESTS 140 62 0 1300
27193374 ycaxgjd B May 18, 2017, 9:16 a.m. OK Python 3 TESTS 140 62 0 1300
26999623 harword B May 10, 2017, 4:10 p.m. OK Python 3 TESTS 140 62 0 1300
27060289 wujuihsuan2016 B May 12, 2017, 6:19 p.m. OK Python 3 TESTS 140 62 307200 1300
32054853 sergovoy B Nov. 4, 2017, 1:42 p.m. OK Python 3 TESTS 140 62 716800 1300
28938998 sinapusu2002 B July 27, 2017, 10:44 p.m. OK Ruby TESTS 140 62 6451200 1300
24012867 hogeover30 B Jan. 21, 2017, 2:02 p.m. OK Ruby TESTS 140 93 6553600 1300
23556729 tkain B Jan. 5, 2017, 2:34 p.m. OK Ruby TESTS 140 93 6656000 1300
23485730 wasiq.bhamla B Jan. 1, 2017, 3:24 p.m. OK Ruby TESTS 140 124 6451200 1300
23522319 jadilet B Jan. 3, 2017, 6:26 p.m. OK Ruby TESTS 140 140 6451200 1300
23683957 trent B Jan. 10, 2017, 3:48 p.m. OK Scala TESTS 140 296 23961600 1300
23637277 TeddyMichael B Jan. 7, 2017, 9:35 p.m. OK Scala TESTS 140 342 23654400 1300

remove filters

Back to search problems