Educational Codeforces Round 11

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
660 Educational Codeforces Round 11 FINISHED False 7200 271695599 April 8, 2016, 3 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 5378 ) B Seating On Bus PROGRAMMING implementation 1200

B'Consider 2n rows of the seats in a bus. n rows of the seats on the left and n rows of the seats on the right. Each row can be filled by two people. So the total capacity of the bus is 4n. Consider that m (m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x894n) people occupy the seats in the bus. The passengers entering the bus are numbered from 1 to m (in the order of their entering the bus). The pattern of the seat occupation is as below: 1-st row left window seat, 1-st row right window seat, 2-nd row left window seat, 2-nd row right window seat, ... , n-th row left window seat, n-th row right window seat. After occupying all the window seats (for m xe2 x80 x89> xe2 x80 x892n) the non-window seats are occupied: 1-st row left non-window seat, 1-st row right non-window seat, ... , n-th row left non-window seat, n-th row right non-window seat. All the passengers go to a single final destination. In the final destination, the passengers get off in the given order. 1-st row left non-window seat, 1-st row left window seat, 1-st row right non-window seat, 1-st row right window seat, ... , n-th row left non-window seat, n-th row left window seat, n-th row right non-window seat, n-th row right window seat. You are given the values n and m. Output m numbers from 1 to m, the order in which the passengers will get off the bus. The only line contains two integers, n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100, xe2 x80 x891 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x894n) -- the number of pairs of rows and the number of passengers. Print m distinct integers from 1 to m -- the order in which the passengers will get off the bus. '...

Tutorials

Editorial of Educational Codeforces Round 11

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
17239866 daniil-eshkin B April 8, 2016, 4:39 p.m. OK Delphi TESTS 23 15 2560000 1200
17239927 Grach B April 8, 2016, 4:40 p.m. OK Delphi TESTS 23 15 2764800 1200
17242805 ruban B April 8, 2016, 6:14 p.m. OK Delphi TESTS 23 15 67481600 1200
17289449 Gray_58 B April 12, 2016, 12:17 p.m. OK FPC TESTS 23 15 0 1200
17259063 Quan1999nt B April 10, 2016, 2:01 a.m. OK FPC TESTS 23 15 0 1200
22200760 WalkingDeade B Nov. 13, 2016, 11:39 p.m. OK FPC TESTS 23 15 0 1200
17240155 Ekaterina_Saenko B April 8, 2016, 4:44 p.m. OK FPC TESTS 23 15 1638400 1200
20086290 vkozlovs B Aug. 23, 2016, 1:18 p.m. OK FPC TESTS 23 15 1638400 1200
17389633 0lkeh B April 19, 2016, 4:12 p.m. OK FPC TESTS 23 15 1638400 1200
17240921 chernyavskiy.dmitriy B April 8, 2016, 4:57 p.m. OK FPC TESTS 23 15 1638400 1200
17698700 giaosudauto B May 3, 2016, 1:12 p.m. OK FPC TESTS 23 15 1740800 1200
18224772 dailong B June 3, 2016, 2:09 a.m. OK FPC TESTS 23 15 1740800 1200
17569527 PeterPanVN B April 29, 2016, 4:31 p.m. OK FPC TESTS 23 15 1740800 1200
27369296 less_or_equal B May 27, 2017, 7:49 a.m. OK GNU C TESTS 23 15 0 1200
22853025 vjudge2 B Dec. 10, 2016, 10:48 a.m. OK GNU C TESTS 23 15 0 1200
21238177 rainboy B Oct. 6, 2016, 2:51 p.m. OK GNU C TESTS 23 15 0 1200
19035150 Anqur B July 11, 2016, 6:11 p.m. OK GNU C TESTS 23 15 0 1200
18770131 reyad B June 28, 2016, 4:05 p.m. OK GNU C TESTS 23 15 0 1200
18595393 abak01g B June 19, 2016, 9:58 a.m. OK GNU C TESTS 23 15 0 1200
18582288 lsiddiqsunny B June 18, 2016, 3:22 p.m. OK GNU C TESTS 23 15 0 1200
18541124 UcC109 B June 17, 2016, 11:08 a.m. OK GNU C TESTS 23 15 0 1200
17342569 _Ash__ B April 16, 2016, 3:44 p.m. OK GNU C TESTS 23 15 0 1200
17323206 tabac B April 15, 2016, 7:04 a.m. OK GNU C TESTS 23 15 0 1200
27336668 vjudge4 B May 25, 2017, 12:41 p.m. OK GNU C++ TESTS 23 15 0 1200
32534958 KMAASZRAA B Nov. 21, 2017, 8:10 p.m. OK GNU C++ TESTS 23 15 0 1200
31128976 Passenger B Oct. 7, 2017, 10:01 p.m. OK GNU C++ TESTS 23 15 0 1200
29908732 Sherlock_Tang B Aug. 30, 2017, 5:43 a.m. OK GNU C++ TESTS 23 15 0 1200
29908685 dhuacm2 B Aug. 30, 2017, 5:40 a.m. OK GNU C++ TESTS 23 15 0 1200
27766542 Adham_Nasr B June 14, 2017, 3:15 a.m. OK GNU C++ TESTS 23 15 0 1200
27523521 vjudge2 B June 2, 2017, 12:30 p.m. OK GNU C++ TESTS 23 15 0 1200
27442330 vjudge1 B May 30, 2017, 7:39 a.m. OK GNU C++ TESTS 23 15 0 1200
27337833 vjudge1 B May 25, 2017, 1:38 p.m. OK GNU C++ TESTS 23 15 0 1200
27336932 vjudge1 B May 25, 2017, 12:51 p.m. OK GNU C++ TESTS 23 15 0 1200
18662207 fauzanzaid B June 23, 2016, 11:14 a.m. OK GNU C11 TESTS 23 15 0 1200
17306663 abc10 B April 13, 2016, 6:42 p.m. OK GNU C11 TESTS 23 15 0 1200
17309995 borako B April 14, 2016, 5:03 a.m. OK GNU C11 TESTS 23 15 0 1200
17265098 toReX B April 10, 2016, 1:01 p.m. OK GNU C11 TESTS 23 15 4096000 1200
66387435 RajMaheshwari B Dec. 6, 2019, 7:59 a.m. OK GNU C11 TESTS 23 30 0 1200
49199555 NoSoul B Jan. 30, 2019, 11:56 a.m. OK GNU C11 TESTS 23 31 0 1200
48654427 kaiboy B Jan. 21, 2019, 1:32 a.m. OK GNU C11 TESTS 23 31 0 1200
68142845 abdu95873 B Jan. 4, 2020, 1:02 a.m. OK GNU C11 TESTS 23 31 0 1200
66294568 monisankerru B Dec. 5, 2019, 3:01 a.m. OK GNU C11 TESTS 23 31 0 1200
66254953 utsab560 B Dec. 4, 2019, 5:20 a.m. OK GNU C11 TESTS 23 31 0 1200
46277744 CQUzbx B Nov. 27, 2018, 11:46 a.m. OK GNU C++11 TESTS 23 15 0 1200
30242344 alooochaat1998 B Sept. 10, 2017, 10:02 a.m. OK GNU C++11 TESTS 23 15 0 1200
31036354 VinayakaB B Oct. 5, 2017, 2:02 p.m. OK GNU C++11 TESTS 23 15 0 1200
31038117 st-Firdavs B Oct. 5, 2017, 2:59 p.m. OK GNU C++11 TESTS 23 15 0 1200
31039161 Osama_Alkhodairy B Oct. 5, 2017, 3:31 p.m. OK GNU C++11 TESTS 23 15 0 1200
32061896 Eddax B Nov. 4, 2017, 7:16 p.m. OK GNU C++11 TESTS 23 15 0 1200
30224011 nobleman B Sept. 9, 2017, 11:18 a.m. OK GNU C++11 TESTS 23 15 0 1200
30041018 ahmed.kamal.fcis B Sept. 3, 2017, 6:03 p.m. OK GNU C++11 TESTS 23 15 0 1200
27821247 Big_black_jujube B June 16, 2017, 9:12 a.m. OK GNU C++11 TESTS 23 15 0 1200
27820792 Big_black_jujube B June 16, 2017, 8:48 a.m. OK GNU C++11 TESTS 23 15 0 1200
68027596 S_Aditya B Jan. 1, 2020, 7 a.m. OK GNU C++14 TESTS 23 15 0 1200
60036894 coder_pulkit_c B Sept. 4, 2019, 5:03 p.m. OK GNU C++14 TESTS 23 15 0 1200
58369807 vivek_dh B Aug. 6, 2019, 6:05 a.m. OK GNU C++14 TESTS 23 15 0 1200
55489419 MiikoTM B June 12, 2019, 9:26 a.m. OK GNU C++14 TESTS 23 15 0 1200
55174061 thsr2556 B June 5, 2019, 5:54 p.m. OK GNU C++14 TESTS 23 15 0 1200
54987617 Wernier B June 2, 2019, 4:36 p.m. OK GNU C++14 TESTS 23 15 0 1200
51597564 SLIFER B March 20, 2019, 11:50 p.m. OK GNU C++14 TESTS 23 15 0 1200
51393116 CPX B March 17, 2019, 1:56 a.m. OK GNU C++14 TESTS 23 15 0 1200
50551743 Nidala B Feb. 27, 2019, 5:04 a.m. OK GNU C++14 TESTS 23 15 0 1200
49522633 trungvthe130284 B Feb. 6, 2019, 9:09 a.m. OK GNU C++14 TESTS 23 15 0 1200
49987071 abood454 B Feb. 16, 2019, 11:02 a.m. OK GNU C++17 TESTS 23 15 0 1200
49995488 MrAlexandrov B Feb. 16, 2019, 2:45 p.m. OK GNU C++17 TESTS 23 15 0 1200
50805602 ivan.v.gerasimov B March 5, 2019, 5:10 a.m. OK GNU C++17 TESTS 23 15 0 1200
55510746 vitorfhc B June 12, 2019, 10:11 p.m. OK GNU C++17 TESTS 23 15 0 1200
57149782 lee-jinhen B July 16, 2019, 2:19 p.m. OK GNU C++17 TESTS 23 15 0 1200
58949862 hobgoblin23 B Aug. 17, 2019, 10:32 a.m. OK GNU C++17 TESTS 23 15 0 1200
59397866 NotGivingUp B Aug. 24, 2019, 11:01 a.m. OK GNU C++17 TESTS 23 15 0 1200
59425559 mapoona B Aug. 25, 2019, 2:06 a.m. OK GNU C++17 TESTS 23 15 0 1200
68436201 amiralisalimi B Jan. 9, 2020, 9:04 a.m. OK GNU C++17 TESTS 23 15 0 1200
69073143 Lazy-Tortoise B Jan. 19, 2020, 12:21 a.m. OK GNU C++17 TESTS 23 15 0 1200
17297899 mengsungwu B April 13, 2016, 5:51 a.m. OK Go TESTS 23 15 102400 1200
17240961 slcjordan B April 8, 2016, 4:57 p.m. OK Go TESTS 23 15 6041600 1200
17556123 binhuq B April 28, 2016, 5:09 p.m. OK Go TESTS 23 31 6041600 1200
17233745 9mmlitswe B April 8, 2016, 3:22 p.m. OK Haskell TESTS 23 15 44953600 1200
19968639 pavel.rosputko B Aug. 19, 2016, 5:48 p.m. OK Haskell TESTS 23 15 53248000 1200
17237805 nes_in_it B April 8, 2016, 4:09 p.m. OK Haskell TESTS 23 15 53452800 1200
64611996 davisrollman B Nov. 10, 2019, 2:19 a.m. OK Java 11 TESTS 23 187 0 1200
17273135 alibaba B April 11, 2016, 2:56 a.m. OK Java 7 TESTS 23 93 0 1200
17610238 santjuan B May 1, 2016, 4:17 p.m. OK Java 7 TESTS 23 93 39014400 1200
17235638 MazzForces B April 8, 2016, 3:41 p.m. OK Java 7 TESTS 23 93 39014400 1200
17233723 smalex69 B April 8, 2016, 3:22 p.m. OK Java 7 TESTS 23 93 39219200 1200
18661290 paresh B June 23, 2016, 10:10 a.m. OK Java 7 TESTS 23 108 0 1200
17297973 petr11235 B April 13, 2016, 6:01 a.m. OK Java 7 TESTS 23 108 0 1200
17292865 yan_lazy B April 12, 2016, 4:51 p.m. OK Java 7 TESTS 23 108 8806400 1200
17249985 J1GS4W B April 9, 2016, 8:43 a.m. OK Java 7 TESTS 23 108 38912000 1200
17233478 iakovlev.zakhar B April 8, 2016, 3:20 p.m. OK Java 7 TESTS 23 108 39014400 1200
18441576 Yeison_Garcia B June 14, 2016, 2:52 a.m. OK Java 7 TESTS 23 108 39321600 1200
17703618 Lark B May 4, 2016, 2:26 a.m. OK Java 8 TESTS 23 108 20377600 1200
17244120 yfo B April 8, 2016, 7:54 p.m. OK Java 8 TESTS 23 108 20377600 1200
62406279 Whiplash99 B Oct. 12, 2019, 9:03 a.m. OK Java 8 TESTS 23 109 0 1200
61575466 saptarshim B Sept. 30, 2019, 8:33 p.m. OK Java 8 TESTS 23 109 0 1200
59520440 jakejase2 B Aug. 26, 2019, 11:40 a.m. OK Java 8 TESTS 23 109 0 1200
58943589 its_aks_ulure B Aug. 17, 2019, 7:59 a.m. OK Java 8 TESTS 23 109 0 1200
22838531 mrmaniac B Dec. 9, 2016, 4:22 p.m. OK Java 8 TESTS 23 109 0 1200
22036457 Petruchcho B Nov. 4, 2016, 2:34 p.m. OK Java 8 TESTS 23 109 0 1200
19568510 Mluque1 B Aug. 1, 2016, 9:27 p.m. OK Java 8 TESTS 23 109 0 1200
18632166 A.Araghian B June 21, 2016, 2:55 p.m. OK Java 8 TESTS 23 109 0 1200
17237558 bethge B April 8, 2016, 4:05 p.m. OK JavaScript TESTS 23 31 6963200 1200
53846467 I.A.K.O.V B May 7, 2019, 11:16 a.m. OK Kotlin TESTS 23 124 0 1200
17553868 Roka B April 28, 2016, 2:27 p.m. OK Mono C# TESTS 23 46 9216000 1200
17275283 TRR B April 11, 2016, 9 a.m. OK Mono C# TESTS 23 62 102400 1200
21380591 pomjuice B Oct. 12, 2016, 11:57 a.m. OK Mono C# TESTS 23 78 11366400 1200
17236440 RainGrid B April 8, 2016, 3:51 p.m. OK MS C# TESTS 23 46 9011200 1200
17251422 zazak B April 9, 2016, 10:56 a.m. OK MS C# TESTS 23 46 9113600 1200
17233240 og.kostya B April 8, 2016, 3:18 p.m. OK MS C# TESTS 23 46 9113600 1200
17241426 sundown B April 8, 2016, 5:10 p.m. OK MS C# TESTS 23 46 9318400 1200
17993371 Egorsmir B May 19, 2016, 3:19 p.m. OK MS C# TESTS 23 46 9420800 1200
22336771 Mem B Nov. 19, 2016, 8:11 p.m. OK MS C# TESTS 23 62 2560000 1200
17232147 azukun B April 8, 2016, 3:08 p.m. OK MS C# TESTS 23 62 9523200 1200
17236094 renadeen B April 8, 2016, 3:47 p.m. OK MS C# TESTS 23 62 11366400 1200
17376325 szechuan_sauce B April 18, 2016, 1:08 p.m. OK MS C# TESTS 23 62 11468800 1200
17235446 Mysqyrlex B April 8, 2016, 3:39 p.m. OK MS C# TESTS 23 62 11468800 1200
19553397 Anaar B Aug. 1, 2016, 7:27 a.m. OK MS C++ TESTS 23 15 0 1200
18850986 hubert322 B July 2, 2016, 8:17 a.m. OK MS C++ TESTS 23 15 0 1200
17336966 yAeoUK B April 16, 2016, 8:45 a.m. OK MS C++ TESTS 23 15 0 1200
17335402 nth9596 B April 16, 2016, 6:44 a.m. OK MS C++ TESTS 23 15 0 1200
17334050 TangTang B April 16, 2016, 4:01 a.m. OK MS C++ TESTS 23 15 0 1200
17310005 1007leo B April 14, 2016, 5:06 a.m. OK MS C++ TESTS 23 15 0 1200
17302063 HeyZOJian B April 13, 2016, 12:59 p.m. OK MS C++ TESTS 23 15 0 1200
22883325 SmallSir B Dec. 11, 2016, 3:27 p.m. OK MS C++ TESTS 23 15 0 1200
23050784 scorpiowf B Dec. 17, 2016, 3:25 p.m. OK MS C++ TESTS 23 15 0 1200
19553410 Anaar B Aug. 1, 2016, 7:27 a.m. OK MS C++ TESTS 23 15 0 1200
62077492 marewolf B Oct. 7, 2019, 7:03 p.m. OK MS C++ 2017 TESTS 23 31 0 1200
60461789 siwei B Sept. 12, 2019, 9:09 p.m. OK MS C++ 2017 TESTS 23 46 0 1200
17232816 alexey.shchepin B April 8, 2016, 3:14 p.m. OK Ocaml TESTS 23 15 3891200 1200
17254535 mayakin B April 9, 2016, 3:55 p.m. OK PHP TESTS 23 30 4812800 1200
18640195 ArGuTe B June 22, 2016, 4:32 a.m. OK PHP TESTS 23 31 0 1200
17319054 skorpyo B April 14, 2016, 6:56 p.m. OK PHP TESTS 23 31 0 1200
18574563 justforlaugh B June 18, 2016, 8:18 a.m. OK PyPy 2 TESTS 23 62 0 1200
17292082 kliner B April 12, 2016, 4:01 p.m. OK PyPy 2 TESTS 23 77 0 1200
17285092 Butane B April 12, 2016, 2:41 a.m. OK PyPy 2 TESTS 23 77 0 1200
17285028 nealzane B April 12, 2016, 2:28 a.m. OK PyPy 2 TESTS 23 77 0 1200
17276989 juniorcompressor B April 11, 2016, 11:45 a.m. OK PyPy 2 TESTS 23 77 0 1200
17233233 TokuchiToa B April 8, 2016, 3:18 p.m. OK PyPy 2 TESTS 23 78 22630400 1200
23496045 ragingbull B Jan. 2, 2017, 9:27 a.m. OK PyPy 2 TESTS 23 93 22016000 1200
17272816 Eeyore B April 11, 2016, 1:44 a.m. OK PyPy 2 TESTS 23 108 0 1200
17235682 alexander.kolesnikoff B April 8, 2016, 3:42 p.m. OK PyPy 2 TESTS 23 124 22835200 1200
17232323 hellman_ B April 8, 2016, 3:10 p.m. OK PyPy 2 TESTS 23 265 36044800 1200
29514241 Qumeric B Aug. 16, 2017, 9:03 p.m. OK PyPy 3 TESTS 23 109 0 1200
20295616 Remarque B Aug. 31, 2016, 6:58 a.m. OK PyPy 3 TESTS 23 109 307200 1200
56018880 scambret B June 25, 2019, 12:51 a.m. OK PyPy 3 TESTS 23 139 0 1200
23877362 vjudge4 B Jan. 16, 2017, 8:33 a.m. OK PyPy 3 TESTS 23 155 23347200 1200
59591843 kchau B Aug. 27, 2019, 9:06 p.m. OK PyPy 3 TESTS 23 156 0 1200
17232680 SirNickolas B April 8, 2016, 3:13 p.m. OK PyPy 3 TESTS 23 171 23244800 1200
17233577 cugel B April 8, 2016, 3:21 p.m. OK PyPy 3 TESTS 23 186 23244800 1200
17235316 ssmiler B April 8, 2016, 3:38 p.m. OK PyPy 3 TESTS 23 342 39936000 1200
22832735 franckmy B Dec. 9, 2016, 12:08 p.m. OK Python 2 TESTS 23 46 0 1200
17243307 mykro B April 8, 2016, 6:44 p.m. OK Python 2 TESTS 23 46 4608000 1200
17543912 krystallize B April 27, 2016, 4:43 p.m. OK Python 2 TESTS 23 46 4710400 1200
17396129 marcv81 B April 20, 2016, 7:56 a.m. OK Python 2 TESTS 23 46 4710400 1200
17240622 bhargavkonkathi B April 8, 2016, 4:52 p.m. OK Python 2 TESTS 23 46 4710400 1200
17239988 hareesh.veligeti B April 8, 2016, 4:41 p.m. OK Python 2 TESTS 23 46 4710400 1200
17239224 wanderer163 B April 8, 2016, 4:28 p.m. OK Python 2 TESTS 23 46 4710400 1200
19371527 osev B July 23, 2016, 7:51 p.m. OK Python 2 TESTS 23 61 0 1200
17274838 masonsbro B April 11, 2016, 8:02 a.m. OK Python 2 TESTS 23 61 0 1200
35888245 ______M______ B March 3, 2018, 2:18 p.m. OK Python 2 TESTS 23 61 4608000 1200
17311535 fourele B April 14, 2016, 8:12 a.m. OK Python 3 TESTS 23 61 0 1200
17303431 kaislearning3 B April 13, 2016, 2:42 p.m. OK Python 3 TESTS 23 61 0 1200
18481302 Jose.Ibanez B June 14, 2016, 9:03 p.m. OK Python 3 TESTS 23 61 4608000 1200
17238408 nothing2lose B April 8, 2016, 4:17 p.m. OK Python 3 TESTS 23 61 5120000 1200
32126576 arknave B Nov. 7, 2017, 5:18 p.m. OK Python 3 TESTS 23 62 0 1200
31152327 treasuryonly B Oct. 8, 2017, 6:40 p.m. OK Python 3 TESTS 23 62 0 1200
17352443 thehaiyang B April 16, 2016, 6:49 p.m. OK Python 3 TESTS 23 62 0 1200
17350134 thehaiyang B April 16, 2016, 5:54 p.m. OK Python 3 TESTS 23 62 0 1200
17343079 lavafalls B April 16, 2016, 4:31 p.m. OK Python 3 TESTS 23 62 0 1200
17297551 CraigCarr B April 13, 2016, 4:58 a.m. OK Python 3 TESTS 23 62 0 1200
18649009 redchrom B June 22, 2016, 3:38 p.m. OK Ruby TESTS 23 61 0 1200
18444829 MoOfMo B June 14, 2016, 6:48 a.m. OK Ruby TESTS 23 62 6656000 1200
17265750 cielavenir B April 10, 2016, 1:56 p.m. OK Ruby TESTS 23 77 102400 1200
17235686 PanicStation B April 8, 2016, 3:42 p.m. OK Ruby TESTS 23 93 6553600 1200
17315872 _ShadowSong B April 14, 2016, 2:50 p.m. OK Ruby TESTS 23 108 409600 1200
17276787 reldan B April 11, 2016, 11:31 a.m. OK Scala TESTS 23 296 0 1200

remove filters

Back to search problems