Mail.Ru Cup 2018 Round 3

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
1056 Mail.Ru Cup 2018 Round 3 FINISHED False 9000 188659499 Nov. 25, 2018, 4:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 6677 ) A Determine Line PROGRAMMING implementation 1000

B"Arkady's morning seemed to be straight of his nightmare. He overslept through the whole morning and, still half-asleep, got into the tram that arrived the first. Some time after, leaving the tram, he realized that he was not sure about the line number of the tram he was in. During his ride, Arkady woke up several times and each time he saw the tram stopping at some stop. For each stop he knows which lines of tram stop there. Given this information, can you help Arkady determine what are the possible lines of the tram he was in? The first line contains a single integer n ( 2 <= n <= 100 ) -- the number of stops Arkady saw. The next n lines describe the stops. Each of them starts with a single integer r ( 1 <= r <= 100 ) -- the number of tram lines that stop there. r distinct integers follow, each one between 1 and 100 , inclusive, -- the line numbers. They can be in arbitrary order. It is guaranteed that Arkady's information is consistent, i.e. there is at least one tram line that Arkady could take. Print all tram lines that Arkady could be in, in arbitrary order. Consider the first example. Arkady woke up three times. The first time he saw a stop with lines 1 , 4 , 6 . The second time he saw a stop with lines 1 , 4 . The third time he saw a stop with lines 10 , 5 , 6 , 4 and 1 . He can be in a tram of one of two lines: 1 or 4 . "...

Tutorials

Mail.Ru Cup 2018 Round 3 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
69816426 bee_mash A Jan. 30, 2020, 6:19 a.m. OK Clang++17 Diagnostics TESTS 20 62 0 1000
46546412 Iamnotexist A Dec. 3, 2018, 3:01 p.m. OK Clang++17 Diagnostics TESTS 20 93 1126400 1000
46209898 ruban A Nov. 25, 2018, 4:38 p.m. OK Delphi TESTS 20 30 5939200 1000
46513063 kAN_de_thuong A Dec. 2, 2018, 2:22 p.m. OK FPC TESTS 20 15 0 1000
46210227 TShT A Nov. 25, 2018, 4:39 p.m. OK FPC TESTS 20 30 409600 1000
46210627 EgorShibaev A Nov. 25, 2018, 4:40 p.m. OK FPC TESTS 20 31 0 1000
46220202 PA1109 A Nov. 25, 2018, 5:54 p.m. OK FPC TESTS 20 31 0 1000
46212192 Liverbird2002 A Nov. 25, 2018, 4:47 p.m. OK FPC TESTS 20 31 0 1000
46212687 LeoPro A Nov. 25, 2018, 4:50 p.m. OK FPC TESTS 20 31 0 1000
46212689 DarkAvengerr A Nov. 25, 2018, 4:50 p.m. OK FPC TESTS 20 31 0 1000
46287417 G.L A Nov. 27, 2018, 5:10 p.m. OK FPC TESTS 20 31 0 1000
56884484 LaSWeeG A July 12, 2019, noon OK FPC TESTS 20 31 102400 1000
54999816 minhquaningenious A June 3, 2019, 3:36 a.m. OK FPC TESTS 20 31 102400 1000
46214029 OuDaRjA_17o3oo2 A Nov. 25, 2018, 5:01 p.m. OK GNU C11 TESTS 20 15 0 1000
46213435 akshat_goyal A Nov. 25, 2018, 4:56 p.m. OK GNU C11 TESTS 20 15 0 1000
46211892 vikr_182 A Nov. 25, 2018, 4:45 p.m. OK GNU C11 TESTS 20 15 0 1000
46825036 ishusharma A Dec. 9, 2018, 5:45 p.m. OK GNU C11 TESTS 20 30 0 1000
46218503 mahimoksha999 A Nov. 25, 2018, 5:38 p.m. OK GNU C11 TESTS 20 30 0 1000
46216320 sooorja A Nov. 25, 2018, 5:20 p.m. OK GNU C11 TESTS 20 30 0 1000
46220575 bamouhsoso20 A Nov. 25, 2018, 5:57 p.m. OK GNU C11 TESTS 20 30 409600 1000
69257732 friedrich_hayek A Jan. 21, 2020, 4:08 p.m. OK GNU C11 TESTS 20 31 0 1000
62564767 DevJewel A Oct. 14, 2019, 12:57 p.m. OK GNU C11 TESTS 20 31 0 1000
61277236 timambinsaif462 A Sept. 25, 2019, 3:51 p.m. OK GNU C11 TESTS 20 31 0 1000
46264106 Youssef_Hammad A Nov. 26, 2018, 11:43 p.m. OK GNU C++11 TESTS 20 15 0 1000
46244596 _kekus A Nov. 26, 2018, 10:36 a.m. OK GNU C++11 TESTS 20 15 0 1000
46242967 tahmid013 A Nov. 26, 2018, 9:22 a.m. OK GNU C++11 TESTS 20 15 0 1000
46213417 arobindo A Nov. 25, 2018, 4:56 p.m. OK GNU C++11 TESTS 20 15 0 1000
46211252 riad A Nov. 25, 2018, 4:42 p.m. OK GNU C++11 TESTS 20 15 0 1000
46211101 Okrut A Nov. 25, 2018, 4:42 p.m. OK GNU C++11 TESTS 20 15 0 1000
46210155 131131yhx A Nov. 25, 2018, 4:39 p.m. OK GNU C++11 TESTS 20 15 0 1000
50044005 vjudge3 A Feb. 17, 2019, 4:34 a.m. OK GNU C++11 TESTS 20 15 0 1000
50044091 vjudge5 A Feb. 17, 2019, 4:39 a.m. OK GNU C++11 TESTS 20 15 0 1000
50044694 vjudge4 A Feb. 17, 2019, 5:05 a.m. OK GNU C++11 TESTS 20 15 0 1000
61829434 __Enigma__ A Oct. 4, 2019, 6:05 a.m. OK GNU C++14 TESTS 20 15 0 1000
65723047 tex1323 A Nov. 25, 2019, 8:20 p.m. OK GNU C++14 TESTS 20 15 0 1000
67507587 ilya-rv A Dec. 24, 2019, 7:58 a.m. OK GNU C++14 TESTS 20 15 0 1000
51987628 jaydip15 A March 29, 2019, 6:15 p.m. OK GNU C++14 TESTS 20 15 0 1000
52903409 alswhp A April 17, 2019, 11:53 a.m. OK GNU C++14 TESTS 20 15 0 1000
54520168 gtrhetr A May 23, 2019, 11:57 a.m. OK GNU C++14 TESTS 20 15 0 1000
55732496 rubguival A June 18, 2019, 11:16 p.m. OK GNU C++14 TESTS 20 15 0 1000
49206959 Humiko A Jan. 30, 2019, 2:11 p.m. OK GNU C++14 TESTS 20 15 0 1000
48580278 aman_9875 A Jan. 19, 2019, 4:17 p.m. OK GNU C++14 TESTS 20 15 0 1000
48091874 joviluan A Jan. 8, 2019, 2:16 p.m. OK GNU C++14 TESTS 20 15 0 1000
62898036 OrlandoIsay A Oct. 19, 2019, 2:13 a.m. OK GNU C++17 TESTS 20 15 0 1000
69730402 vjudge4 A Jan. 29, 2020, 1:23 p.m. OK GNU C++17 TESTS 20 15 0 1000
65513065 naimul_haque A Nov. 22, 2019, 5:20 a.m. OK GNU C++17 TESTS 20 15 0 1000
64533966 flashmt A Nov. 8, 2019, 4:22 p.m. OK GNU C++17 TESTS 20 15 0 1000
60525092 imcodestar A Sept. 14, 2019, 10:02 a.m. OK GNU C++17 TESTS 20 15 0 1000
58977675 woodsgreen A Aug. 18, 2019, 2:06 a.m. OK GNU C++17 TESTS 20 15 0 1000
55535227 darkshadow26 A June 13, 2019, 4 p.m. OK GNU C++17 TESTS 20 15 0 1000
54633336 thenymphsofdelphi A May 25, 2019, 3:35 p.m. OK GNU C++17 TESTS 20 15 0 1000
53992094 johncCc A May 11, 2019, 12:46 p.m. OK GNU C++17 TESTS 20 15 0 1000
51547023 Stroustrup A March 19, 2019, 8:47 p.m. OK GNU C++17 TESTS 20 15 0 1000
46416595 oserde A Nov. 30, 2018, 7:37 p.m. OK Go TESTS 20 31 0 1000
46211105 Flaker A Nov. 25, 2018, 4:42 p.m. OK Go TESTS 20 31 0 1000
46210719 life_is_not_bed_of_roses A Nov. 25, 2018, 4:41 p.m. OK Go TESTS 20 46 0 1000
46309688 haskell_brooks_curry A Nov. 28, 2018, 12:28 p.m. OK Haskell TESTS 20 30 0 1000
46229340 vv58 A Nov. 25, 2018, 8:02 p.m. OK Haskell TESTS 20 31 8499200 1000
46249344 xofedoc A Nov. 26, 2018, 1:21 p.m. OK Haskell TESTS 20 46 8499200 1000
46229144 vv58 A Nov. 25, 2018, 7:58 p.m. OK Haskell TESTS 20 46 8499200 1000
68149837 Tak2702 A Jan. 4, 2020, 6:26 a.m. OK Java 11 TESTS 20 217 0 1000
68149774 Tak2702 A Jan. 4, 2020, 6:24 a.m. OK Java 11 TESTS 20 233 0 1000
46230591 zidan241 A Nov. 25, 2018, 8:33 p.m. OK Java 8 TESTS 20 93 0 1000
57157551 rahul_roy A July 16, 2019, 5:23 p.m. OK Java 8 TESTS 20 108 0 1000
46654600 Hemose A Dec. 5, 2018, 3:39 p.m. OK Java 8 TESTS 20 108 0 1000
46213287 yorky A Nov. 25, 2018, 4:55 p.m. OK Java 8 TESTS 20 108 0 1000
46211894 golions A Nov. 25, 2018, 4:45 p.m. OK Java 8 TESTS 20 108 0 1000
46209866 mmaxio A Nov. 25, 2018, 4:38 p.m. OK Java 8 TESTS 20 108 0 1000
67481821 adzi A Dec. 23, 2019, 4:11 p.m. OK Java 8 TESTS 20 109 0 1000
57429729 jma-moon A July 20, 2019, 11:46 p.m. OK Java 8 TESTS 20 109 0 1000
57429323 A.Teo A July 20, 2019, 11:16 p.m. OK Java 8 TESTS 20 109 0 1000
57429282 LLL.A A July 20, 2019, 11:14 p.m. OK Java 8 TESTS 20 109 0 1000
46209999 shaviava A Nov. 25, 2018, 4:39 p.m. OK Kotlin TESTS 20 124 0 1000
46211434 alexey.enkov A Nov. 25, 2018, 4:43 p.m. OK Kotlin TESTS 20 140 0 1000
46211974 Ahmadjon A Nov. 25, 2018, 4:46 p.m. OK Kotlin TESTS 20 155 204800 1000
46211915 shedelok A Nov. 25, 2018, 4:45 p.m. OK Kotlin TESTS 20 155 204800 1000
46563875 shaviava A Dec. 3, 2018, 8:27 p.m. OK Kotlin TESTS 20 155 716800 1000
46212063 Cotheq A Nov. 25, 2018, 4:46 p.m. OK Kotlin TESTS 20 170 204800 1000
47702925 spookywooky A Dec. 29, 2018, 6 p.m. OK Kotlin TESTS 20 171 0 1000
46216044 raynald A Nov. 25, 2018, 5:17 p.m. OK Kotlin TESTS 20 171 204800 1000
46435947 izbasoffa A Dec. 1, 2018, 9:06 a.m. OK Mono C# TESTS 20 46 409600 1000
46393601 ytz123 A Nov. 30, 2018, 7:41 a.m. OK Mono C# TESTS 20 46 409600 1000
46212755 Anastasiya_Andreevna A Nov. 25, 2018, 4:51 p.m. OK Mono C# TESTS 20 46 409600 1000
46259150 _TS_ A Nov. 26, 2018, 6:41 p.m. OK Mono C# TESTS 20 61 409600 1000
46210730 eki A Nov. 25, 2018, 4:41 p.m. OK Mono C# TESTS 20 61 409600 1000
57430002 EliCG A July 21, 2019, 12:09 a.m. OK Mono C# TESTS 20 61 4710400 1000
46218033 Ruban_Denic A Nov. 25, 2018, 5:34 p.m. OK Mono C# TESTS 20 62 512000 1000
46210183 Coder_D A Nov. 25, 2018, 4:39 p.m. OK Mono C# TESTS 20 62 4198400 1000
53527798 yerzh A April 29, 2019, 5:30 p.m. OK Mono C# TESTS 20 62 4300800 1000
46238482 Gray_Rhino A Nov. 26, 2018, 5:53 a.m. OK Mono C# TESTS 20 62 4608000 1000
46432846 mijikai A Dec. 1, 2018, 6:58 a.m. OK MS C++ TESTS 20 15 0 1000
46212018 Leno4ka_ A Nov. 25, 2018, 4:46 p.m. OK MS C++ TESTS 20 30 0 1000
50045046 vjudge2 A Feb. 17, 2019, 5:21 a.m. OK MS C++ TESTS 20 30 0 1000
46991281 vjudge1 A Dec. 14, 2018, 4:35 a.m. OK MS C++ TESTS 20 30 102400 1000
46213670 Pricolno A Nov. 25, 2018, 4:58 p.m. OK MS C++ TESTS 20 30 102400 1000
55269115 vjudge5 A June 7, 2019, 3:41 p.m. OK MS C++ TESTS 20 31 0 1000
57000082 shio A July 14, 2019, 2:51 a.m. OK MS C++ TESTS 20 31 0 1000
55268548 ys1468362286 A June 7, 2019, 3:31 p.m. OK MS C++ TESTS 20 31 0 1000
50758498 talal_abdalruhman A March 3, 2019, 6:13 p.m. OK MS C++ TESTS 20 31 0 1000
50047855 vjudge4 A Feb. 17, 2019, 6:51 a.m. OK MS C++ TESTS 20 31 0 1000
55208040 Mad112233 A June 6, 2019, 1:25 p.m. OK MS C++ 2017 TESTS 20 31 0 1000
59912989 Moen1578 A Sept. 2, 2019, 5:57 p.m. OK MS C++ 2017 TESTS 20 31 0 1000
50272172 holder94 A Feb. 21, 2019, 7:56 a.m. OK MS C++ 2017 TESTS 20 31 102400 1000
56982558 beemax A July 13, 2019, 2:29 p.m. OK MS C++ 2017 TESTS 20 46 0 1000
46215668 _Rinat A Nov. 25, 2018, 5:14 p.m. OK Node.js TESTS 20 233 4505600 1000
46281737 sk0 A Nov. 27, 2018, 1:43 p.m. OK Ocaml TESTS 20 15 307200 1000
46211452 cube-R A Nov. 25, 2018, 4:43 p.m. OK PascalABC.NET TESTS 20 46 0 1000
46230123 sasakargin A Nov. 25, 2018, 8:19 p.m. OK PascalABC.NET TESTS 20 46 0 1000
46227020 UsovDaniil A Nov. 25, 2018, 6:59 p.m. OK PascalABC.NET TESTS 20 46 0 1000
46219763 Mixfix A Nov. 25, 2018, 5:49 p.m. OK PascalABC.NET TESTS 20 46 0 1000
46216764 AngryBunny A Nov. 25, 2018, 5:23 p.m. OK PascalABC.NET TESTS 20 46 0 1000
46215017 Alex_D A Nov. 25, 2018, 5:09 p.m. OK PascalABC.NET TESTS 20 46 0 1000
46214018 Lucky_cat777 A Nov. 25, 2018, 5:01 p.m. OK PascalABC.NET TESTS 20 46 0 1000
46213397 K.A.S A Nov. 25, 2018, 4:56 p.m. OK PascalABC.NET TESTS 20 46 0 1000
46212994 EgorD A Nov. 25, 2018, 4:52 p.m. OK PascalABC.NET TESTS 20 46 0 1000
46352461 zubik6 A Nov. 29, 2018, 6:17 a.m. OK PascalABC.NET TESTS 20 61 0 1000
46232353 rsFalse A Nov. 25, 2018, 9:44 p.m. OK Perl TESTS 20 31 0 1000
46232856 rsFalse A Nov. 25, 2018, 10:17 p.m. OK Perl TESTS 20 31 921600 1000
46210679 rsFalse A Nov. 25, 2018, 4:40 p.m. OK Perl TESTS 20 46 102400 1000
46230995 mayakin A Nov. 25, 2018, 8:47 p.m. OK PHP TESTS 20 31 0 1000
46212478 katalama A Nov. 25, 2018, 4:49 p.m. OK PHP TESTS 20 46 512000 1000
46405968 asdlalka A Nov. 30, 2018, 2:39 p.m. OK PHP TESTS 20 93 0 1000
46404236 asdlalka A Nov. 30, 2018, 1:48 p.m. OK PHP TESTS 20 155 512000 1000
46229419 supachai_pay A Nov. 25, 2018, 8:04 p.m. OK PyPy 2 TESTS 20 109 204800 1000
46210754 sarthakmanna A Nov. 25, 2018, 4:41 p.m. OK PyPy 2 TESTS 20 124 204800 1000
46230913 TLE_WA A Nov. 25, 2018, 8:44 p.m. OK PyPy 2 TESTS 20 124 204800 1000
46212535 raven_47 A Nov. 25, 2018, 4:49 p.m. OK PyPy 2 TESTS 20 124 204800 1000
46211585 akshay125 A Nov. 25, 2018, 4:44 p.m. OK PyPy 2 TESTS 20 124 204800 1000
46210777 tastymath75025 A Nov. 25, 2018, 4:41 p.m. OK PyPy 2 TESTS 20 124 204800 1000
46210534 FatherofBenoni A Nov. 25, 2018, 4:40 p.m. OK PyPy 2 TESTS 20 124 204800 1000
46255461 fakerobot A Nov. 26, 2018, 4:25 p.m. OK PyPy 2 TESTS 20 124 307200 1000
46211597 Mukundan314 A Nov. 25, 2018, 4:44 p.m. OK PyPy 2 TESTS 20 140 102400 1000
46211928 daniel.carlos A Nov. 25, 2018, 4:45 p.m. OK PyPy 2 TESTS 20 140 204800 1000
46209686 zvv A Nov. 25, 2018, 4:38 p.m. OK PyPy 3 TESTS 20 124 307200 1000
46209967 yarek A Nov. 25, 2018, 4:39 p.m. OK PyPy 3 TESTS 20 139 307200 1000
50505142 toysheeyeyraku A Feb. 25, 2019, 7:15 p.m. OK PyPy 3 TESTS 20 139 307200 1000
46290627 sasasagagaga A Nov. 27, 2018, 7:23 p.m. OK PyPy 3 TESTS 20 139 512000 1000
57376892 tchr A July 20, 2019, 12:56 p.m. OK PyPy 3 TESTS 20 140 102400 1000
55224303 sonhuytranpython2 A June 6, 2019, 11:01 p.m. OK PyPy 3 TESTS 20 140 307200 1000
46212372 Hypik A Nov. 25, 2018, 4:48 p.m. OK PyPy 3 TESTS 20 140 307200 1000
46211235 LordVader A Nov. 25, 2018, 4:42 p.m. OK PyPy 3 TESTS 20 140 307200 1000
46237614 omega_alpha A Nov. 26, 2018, 4:56 a.m. OK PyPy 3 TESTS 20 140 409600 1000
46234094 111vad111 A Nov. 25, 2018, 11:59 p.m. OK PyPy 3 TESTS 20 140 409600 1000
47386897 biltharesatyendra A Dec. 23, 2018, 5:42 a.m. OK Python 2 TESTS 20 155 0 1000
46241559 Saurabh66 A Nov. 26, 2018, 8:23 a.m. OK Python 2 TESTS 20 155 0 1000
47547979 franckmy A Dec. 27, 2018, 11:23 a.m. OK Python 2 TESTS 20 171 0 1000
46212356 coderbd A Nov. 25, 2018, 4:48 p.m. OK Python 2 TESTS 20 171 0 1000
46212252 elistark A Nov. 25, 2018, 4:47 p.m. OK Python 2 TESTS 20 171 0 1000
46211652 figdan A Nov. 25, 2018, 4:44 p.m. OK Python 2 TESTS 20 171 0 1000
46211258 0xFED A Nov. 25, 2018, 4:42 p.m. OK Python 2 TESTS 20 171 0 1000
46259149 llllllll A Nov. 26, 2018, 6:41 p.m. OK Python 2 TESTS 20 171 102400 1000
46210770 arman.t A Nov. 25, 2018, 4:41 p.m. OK Python 2 TESTS 20 171 102400 1000
46210655 WNG A Nov. 25, 2018, 4:40 p.m. OK Python 2 TESTS 20 171 102400 1000
49039546 _itachi_uchiha A Jan. 27, 2019, 5:52 a.m. OK Python 3 TESTS 20 93 0 1000
48361234 RealFlush A Jan. 13, 2019, 6:43 p.m. OK Python 3 TESTS 20 93 0 1000
50333219 Sarilanoo A Feb. 22, 2019, 7:28 p.m. OK Python 3 TESTS 20 108 0 1000
46248473 ashok123 A Nov. 26, 2018, 12:51 p.m. OK Python 3 TESTS 20 108 0 1000
46212519 EA5 A Nov. 25, 2018, 4:49 p.m. OK Python 3 TESTS 20 108 0 1000
68886206 cs1g A Jan. 15, 2020, 9:37 p.m. OK Python 3 TESTS 20 109 0 1000
59361236 ziddi A Aug. 23, 2019, 3:22 p.m. OK Python 3 TESTS 20 109 0 1000
54482853 Vasiliy_48 A May 22, 2019, 11:48 a.m. OK Python 3 TESTS 20 109 0 1000
54175771 BB2211 A May 15, 2019, 1:49 p.m. OK Python 3 TESTS 20 109 0 1000
52358761 Hardsaggu A April 5, 2019, 6:21 p.m. OK Python 3 TESTS 20 109 0 1000
46213439 kamil_hism A Nov. 25, 2018, 4:56 p.m. OK Ruby TESTS 20 61 102400 1000
46211545 megachuhancer A Nov. 25, 2018, 4:44 p.m. OK Ruby TESTS 20 62 102400 1000
46253939 cielavenir A Nov. 26, 2018, 3:34 p.m. OK Ruby TESTS 20 77 102400 1000
46229094 geckods A Nov. 25, 2018, 7:57 p.m. OK Ruby TESTS 20 77 204800 1000
46402933 ancv1990 A Nov. 30, 2018, 1:10 p.m. OK Rust TESTS 20 31 102400 1000
46233959 vv58 A Nov. 25, 2018, 11:46 p.m. OK Rust TESTS 20 31 102400 1000
46233733 vv58 A Nov. 25, 2018, 11:23 p.m. OK Rust TESTS 20 31 102400 1000
46214230 Leonardone A Nov. 25, 2018, 5:02 p.m. OK Rust TESTS 20 31 102400 1000
46209934 limed A Nov. 25, 2018, 4:39 p.m. OK Scala TESTS 20 514 0 1000

remove filters

Back to search problems