Educational Codeforces Round 44 (Rated for 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
985 Educational Codeforces Round 44 (Rated for Div. 2) FINISHED False 7200 204909299 May 21, 2018, 2:45 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 7403 ) B Switches and Lamps PROGRAMMING implementation 1200

B'You are given n switches and m lamps. The i-th switch turns on some subset of the lamps. This information is given as the matrix a consisting of n rows and m columns where ai, xe2 x80 x89j xe2 x80 x89= xe2 x80 x891 if the i-th switch turns on the j-th lamp and ai, xe2 x80 x89j xe2 x80 x89= xe2 x80 x890 if the i-th switch is not connected to the j-th lamp. Initially all m lamps are turned off. Switches change state only from "off" to "on". It means that if you press two or more switches connected to the same lamp then the lamp will be turned on after any of this switches is pressed and will remain its state even if any switch connected to this lamp is pressed afterwards. It is guaranteed that if you push all n switches then all m lamps will be turned on. Your think that you have too many switches and you would like to ignore one of them. Your task is to say if there exists such a switch that if you will ignore (not use) it but press all the other n xe2 x80 x89- xe2 x80 x891 switches then all the m lamps will be turned on. The first line of the input contains two integers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x892000) -- the number of the switches and the number of the lamps. The following n lines contain m characters each. The character ai, xe2 x80 x89j is equal to '1 ' if the i-th switch turns on the j-th lamp and '0 ' otherwise. It is guaranteed that if you press all n switches all m lamps will be turned on. Print "YES" if there is a switch that if you will ignore it and press all the other n xe2 x80 x89- xe2 x80 x891 switches then all m lamps will be turned on. Print "NO" if there is no such switch. '...

Tutorials

Educational Codeforces Round 44 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
58173854 TianPingXing B Aug. 2, 2019, 12:21 p.m. OK Clang++17 Diagnostics TESTS 67 467 20992000 1200
43443680 vjudge4 B Sept. 26, 2018, 10:22 a.m. OK Clang++17 Diagnostics TESTS 67 1060 19046400 1200
52282238 vjudge3 B April 3, 2019, 5:40 p.m. OK Clang++17 Diagnostics TESTS 67 1075 15360000 1200
38544854 rr_ B May 22, 2018, 7:07 p.m. OK D TESTS 67 78 11776000 1200
38530623 rr_ B May 22, 2018, 9:52 a.m. OK D TESTS 67 171 42393600 1200
38530708 rr_ B May 22, 2018, 9:55 a.m. OK D TESTS 67 171 42393600 1200
38544890 rr_ B May 22, 2018, 7:09 p.m. OK D TESTS 67 186 22118400 1200
38541319 rr_ B May 22, 2018, 4:14 p.m. OK D TESTS 67 186 22118400 1200
38544440 rr_ B May 22, 2018, 6:46 p.m. OK D TESTS 67 187 22118400 1200
38545774 rr_ B May 22, 2018, 8:05 p.m. OK D TESTS 67 187 35737600 1200
38545760 rr_ B May 22, 2018, 8:04 p.m. OK D TESTS 67 187 35737600 1200
38544789 rr_ B May 22, 2018, 7:04 p.m. OK D TESTS 67 202 22118400 1200
38545948 rr_ B May 22, 2018, 8:16 p.m. OK D TESTS 67 202 35737600 1200
39263004 samau07012005 B June 15, 2018, 10:15 a.m. OK FPC TESTS 67 77 20377600 1200
38591567 _Sven_ B May 24, 2018, 4:03 p.m. OK FPC TESTS 67 155 66355200 1200
39078670 Dasha_Gnedko B June 9, 2018, 8:58 p.m. OK FPC TESTS 67 280 3993600 1200
38709336 L_K_R B May 29, 2018, 4:57 a.m. OK FPC TESTS 67 280 16076800 1200
41425910 narutohokage B Aug. 10, 2018, 9:16 a.m. OK GNU C TESTS 67 46 3993600 1200
38588346 hadto B May 24, 2018, 1:43 p.m. OK GNU C TESTS 67 46 4096000 1200
38513149 forlfs B May 21, 2018, 5:08 p.m. OK GNU C TESTS 67 46 4096000 1200
38528779 libra9z B May 22, 2018, 8:38 a.m. OK GNU C TESTS 67 46 4300800 1200
41426101 narutohokage B Aug. 10, 2018, 9:23 a.m. OK GNU C TESTS 67 61 3993600 1200
38506862 Subraman B May 21, 2018, 4:24 p.m. OK GNU C TESTS 67 62 3993600 1200
38648627 coderanant B May 27, 2018, 6:21 a.m. OK GNU C TESTS 67 62 3993600 1200
38550948 anirudhbansal B May 23, 2018, 4:28 a.m. OK GNU C TESTS 67 62 3993600 1200
38508653 sanchit17 B May 21, 2018, 4:33 p.m. OK GNU C TESTS 67 62 3993600 1200
38588283 hadto B May 24, 2018, 1:40 p.m. OK GNU C TESTS 67 62 4096000 1200
41923673 Hacheylight B Aug. 21, 2018, 6:16 a.m. OK GNU C++ TESTS 67 31 3891200 1200
38554935 bat12399 B May 23, 2018, 7:57 a.m. OK GNU C++ TESTS 67 31 16076800 1200
38509908 alphaGem B May 21, 2018, 4:39 p.m. OK GNU C++ TESTS 67 31 43622400 1200
38610769 0rchid B May 25, 2018, 1:40 p.m. OK GNU C++ TESTS 67 46 307200 1200
38535717 luhong B May 22, 2018, 12:46 p.m. OK GNU C++ TESTS 67 46 1536000 1200
38565423 id1 B May 23, 2018, 2:43 p.m. OK GNU C++ TESTS 67 46 3788800 1200
39059551 vjudge2 B June 9, 2018, 4:21 a.m. OK GNU C++ TESTS 67 46 3891200 1200
38692230 vjudge5 B May 28, 2018, 11:18 a.m. OK GNU C++ TESTS 67 46 3891200 1200
38587461 luogu_bot1 B May 24, 2018, 1:08 p.m. OK GNU C++ TESTS 67 46 3891200 1200
38587377 AutumnKite B May 24, 2018, 1:06 p.m. OK GNU C++ TESTS 67 46 3891200 1200
38541325 xiao-xiao B May 22, 2018, 4:14 p.m. OK GNU C11 TESTS 67 31 16076800 1200
51658810 kaiboy B March 22, 2019, 12:33 a.m. OK GNU C11 TESTS 67 46 3993600 1200
38573165 chicken_coder B May 23, 2018, 10:50 p.m. OK GNU C11 TESTS 67 46 3993600 1200
47459151 NoSoul B Dec. 24, 2018, 2:10 p.m. OK GNU C11 TESTS 67 46 3993600 1200
51642616 rainboy B March 21, 2019, 4:49 p.m. OK GNU C11 TESTS 67 46 3993600 1200
49106349 vjudge2 B Jan. 28, 2019, 1:16 p.m. OK GNU C11 TESTS 67 46 4096000 1200
54661952 vjudge1 B May 26, 2019, 11:15 a.m. OK GNU C11 TESTS 67 62 4096000 1200
46286709 Arpanet B Nov. 27, 2018, 4:42 p.m. OK GNU C11 TESTS 67 62 17715200 1200
38514236 zylzyl B May 21, 2018, 5:36 p.m. OK GNU C11 TESTS 67 77 16179200 1200
51223887 vjudge3 B March 12, 2019, 1:25 p.m. OK GNU C11 TESTS 67 343 16179200 1200
58154985 TianJianXing B Aug. 2, 2019, 5:08 a.m. OK GNU C++11 TESTS 67 31 3993600 1200
64771811 qinding B Nov. 13, 2019, 12:38 a.m. OK GNU C++11 TESTS 67 31 4096000 1200
38716235 1001qqq B May 29, 2018, 10:49 a.m. OK GNU C++11 TESTS 67 31 4403200 1200
52743640 7NationTengri B April 14, 2019, 10:29 a.m. OK GNU C++11 TESTS 67 31 4710400 1200
42351921 lqs2015 B Sept. 2, 2018, 6:03 a.m. OK GNU C++11 TESTS 67 31 4915200 1200
58155496 TianSunXing B Aug. 2, 2019, 5:24 a.m. OK GNU C++11 TESTS 67 31 16076800 1200
38534980 RDDCCD B May 22, 2018, 12:23 p.m. OK GNU C++11 TESTS 67 31 16076800 1200
58156184 TianJianXing B Aug. 2, 2019, 5:43 a.m. OK GNU C++11 TESTS 67 31 16179200 1200
57140249 KobeWu B July 16, 2019, 10:42 a.m. OK GNU C++11 TESTS 67 31 16179200 1200
38640653 wfjrmars B May 26, 2018, 5:30 p.m. OK GNU C++11 TESTS 67 46 0 1200
38519838 Kupnu4 B May 21, 2018, 11:16 p.m. OK GNU C++14 TESTS 67 46 307200 1200
38514612 NBAH B May 21, 2018, 5:48 p.m. OK GNU C++14 TESTS 67 46 307200 1200
38541660 sibasish_14 B May 22, 2018, 4:24 p.m. OK GNU C++14 TESTS 67 46 3993600 1200
49775771 HawkBreaker B Feb. 11, 2019, 3:23 p.m. OK GNU C++14 TESTS 67 46 3993600 1200
38552100 himanshu8mishra B May 23, 2018, 5:42 a.m. OK GNU C++14 TESTS 67 46 3993600 1200
40149198 wladw B July 9, 2018, 7:18 p.m. OK GNU C++14 TESTS 67 46 4096000 1200
68988291 vjudge2 B Jan. 17, 2020, 1:18 p.m. OK GNU C++14 TESTS 67 46 4096000 1200
42203759 Killer_Mind B Aug. 28, 2018, 10:21 a.m. OK GNU C++14 TESTS 67 46 4096000 1200
54664441 vjudge5 B May 26, 2019, 12:30 p.m. OK GNU C++14 TESTS 67 46 4096000 1200
39060901 dreamoon_love_AA B June 9, 2018, 5:53 a.m. OK GNU C++14 TESTS 67 46 4096000 1200
38696972 bomo B May 28, 2018, 2:33 p.m. OK GNU C++17 TESTS 67 31 37785600 1200
38523571 haleyk100198 B May 22, 2018, 4:35 a.m. OK GNU C++17 TESTS 67 46 0 1200
38519493 CodingKnight B May 21, 2018, 10:39 p.m. OK GNU C++17 TESTS 67 46 512000 1200
47353722 charity B Dec. 22, 2018, 4:56 a.m. OK GNU C++17 TESTS 67 46 3993600 1200
38521608 WXQLZJ B May 22, 2018, 2:16 a.m. OK GNU C++17 TESTS 67 46 3993600 1200
38507672 Goorkiewicz B May 21, 2018, 4:28 p.m. OK GNU C++17 TESTS 67 46 3993600 1200
38693279 Heltion B May 28, 2018, 12:01 p.m. OK GNU C++17 TESTS 67 46 3993600 1200
40098360 vjudge2 B July 9, 2018, 2:14 a.m. OK GNU C++17 TESTS 67 46 3993600 1200
61271322 vjudge3 B Sept. 25, 2019, 2:09 p.m. OK GNU C++17 TESTS 67 46 4096000 1200
58197540 TianZuiXing B Aug. 3, 2019, 1:50 a.m. OK GNU C++17 TESTS 67 46 4096000 1200
38524186 shua_ti B May 22, 2018, 5:14 a.m. OK GNU C++17 Diagnostics TESTS 67 1684 2252800 1200
38516336 stczhc B May 21, 2018, 6:54 p.m. OK Haskell TESTS 67 592 98918400 1200
68887302 valter.by B Jan. 15, 2020, 10:46 p.m. OK Java 11 TESTS 67 1294 18432000 1200
47445120 llamaoo7 B Dec. 24, 2018, 5:36 a.m. OK Java 8 TESTS 67 139 0 1200
38562901 wns349 B May 23, 2018, 1:10 p.m. OK Java 8 TESTS 67 155 0 1200
38515357 helllo B May 21, 2018, 6:13 p.m. OK Java 8 TESTS 67 155 0 1200
51916267 Atomwolfie B March 27, 2019, 10:08 p.m. OK Java 8 TESTS 67 155 4505600 1200
40284002 BNL B July 13, 2018, 3:44 p.m. OK Java 8 TESTS 67 155 4505600 1200
40745538 krit_patel B July 25, 2018, 2:29 p.m. OK Java 8 TESTS 67 155 4710400 1200
39061732 saichandu6 B June 9, 2018, 6:37 a.m. OK Java 8 TESTS 67 155 4812800 1200
67054776 fundamentals B Dec. 17, 2019, 6:16 a.m. OK Java 8 TESTS 67 155 7475200 1200
58155711 TianPingXing B Aug. 2, 2019, 5:31 a.m. OK Java 8 TESTS 67 155 16793600 1200
38587014 utk-2310 B May 24, 2018, 12:53 p.m. OK Java 8 TESTS 67 155 16793600 1200
38511762 og.kostya B May 21, 2018, 4:47 p.m. OK Mono C# TESTS 67 93 15974400 1200
38638641 zazak B May 26, 2018, 3:41 p.m. OK Mono C# TESTS 67 108 13824000 1200
38697705 ztl8702 B May 28, 2018, 3:06 p.m. OK Mono C# TESTS 67 109 7065600 1200
38537442 wleung_bvg B May 22, 2018, 1:46 p.m. OK Mono C# TESTS 67 109 166502400 1200
38525201 keep.deep B May 22, 2018, 6:16 a.m. OK Mono C# TESTS 67 124 12697600 1200
38952292 Samyrai B June 4, 2018, 6:01 p.m. OK Mono C# TESTS 67 124 18636800 1200
52294158 MinProph B April 4, 2019, 5 a.m. OK Mono C# TESTS 67 139 32665600 1200
51844672 Mandrade B March 26, 2019, 3:14 a.m. OK Mono C# TESTS 67 171 17510400 1200
39801515 fastnoise B June 30, 2018, 3:22 p.m. OK Mono C# TESTS 67 186 33075200 1200
50895576 nemars B March 6, 2019, 2:55 p.m. OK Mono C# TESTS 67 249 12697600 1200
45908933 scorpiowf B Nov. 18, 2018, 10:05 a.m. OK MS C++ TESTS 67 31 4198400 1200
38640631 wfjrmars B May 26, 2018, 5:29 p.m. OK MS C++ TESTS 67 46 0 1200
58155986 TianJianXing B Aug. 2, 2019, 5:38 a.m. OK MS C++ TESTS 67 46 3993600 1200
46682887 vjudge5 B Dec. 6, 2018, 12:49 p.m. OK MS C++ TESTS 67 46 3993600 1200
68010430 vjudge1 B Dec. 31, 2019, 3:28 p.m. OK MS C++ TESTS 67 46 4096000 1200
63784188 vjudge5 B Oct. 30, 2019, 11:52 a.m. OK MS C++ TESTS 67 46 4096000 1200
47812259 vjudge2 B Jan. 1, 2019, 12:09 p.m. OK MS C++ TESTS 67 46 4096000 1200
45496373 vjudge3 B Nov. 10, 2018, 1:21 a.m. OK MS C++ TESTS 67 46 4403200 1200
51393268 vjudge1 B March 17, 2019, 2:06 a.m. OK MS C++ TESTS 67 46 16076800 1200
54663037 vjudge2 B May 26, 2019, 11:45 a.m. OK MS C++ TESTS 67 46 16076800 1200
61705778 vjudge3 B Oct. 2, 2019, 10 a.m. OK MS C++ 2017 TESTS 67 61 4096000 1200
63566541 shio B Oct. 27, 2019, 3:36 p.m. OK MS C++ 2017 TESTS 67 77 5734400 1200
58173803 TianPingXing B Aug. 2, 2019, 12:20 p.m. OK MS C++ 2017 TESTS 67 77 20480000 1200
59943338 siwei B Sept. 3, 2019, 12:12 p.m. OK MS C++ 2017 TESTS 67 78 614400 1200
49958996 iamgodiva B Feb. 15, 2019, 5:18 p.m. OK MS C++ 2017 TESTS 67 78 4505600 1200
61681706 vjudge3 B Oct. 2, 2019, 1:36 a.m. OK MS C++ 2017 TESTS 67 156 3993600 1200
53272463 taolahung01 B April 25, 2019, 7:19 a.m. OK MS C++ 2017 TESTS 67 280 20582400 1200
58157329 TianJianXing B Aug. 2, 2019, 6:12 a.m. OK MS C++ 2017 TESTS 67 748 3993600 1200
56557980 Mad112233 B July 5, 2019, 1:20 p.m. OK MS C++ 2017 TESTS 67 748 4300800 1200
58156335 TianSunXing B Aug. 2, 2019, 5:47 a.m. OK MS C++ 2017 TESTS 67 763 16179200 1200
39642997 secondwtq B June 25, 2018, 8:19 a.m. OK Ocaml TESTS 67 265 56627200 1200
38595680 121111111 B May 24, 2018, 7:49 p.m. OK PascalABC.NET TESTS 67 280 22118400 1200
51463850 mm944 B March 18, 2019, 10:16 p.m. OK PascalABC.NET TESTS 67 576 8499200 1200
38519767 gabe B May 21, 2018, 11:08 p.m. OK Perl TESTS 67 2433 4812800 1200
38517726 mayakin B May 21, 2018, 8:08 p.m. OK PHP TESTS 67 748 3686400 1200
38546088 le_michael B May 22, 2018, 8:28 p.m. OK PyPy 2 TESTS 67 264 7680000 1200
38613135 thanos_03 B May 25, 2018, 3:24 p.m. OK PyPy 2 TESTS 67 327 22016000 1200
38605656 viralm B May 25, 2018, 10:05 a.m. OK PyPy 2 TESTS 67 342 5734400 1200
38541397 fortmax120 B May 22, 2018, 4:18 p.m. OK PyPy 2 TESTS 67 404 22118400 1200
38509973 fortmax120 B May 21, 2018, 4:40 p.m. OK PyPy 2 TESTS 67 436 21708800 1200
38512905 pa.n.ik B May 21, 2018, 5:04 p.m. OK PyPy 2 TESTS 67 561 69427200 1200
39430138 ChopChop B June 20, 2018, 8:28 a.m. OK PyPy 3 TESTS 67 467 28876800 1200
38919422 bortoz B June 3, 2018, 11:40 a.m. OK PyPy 3 TESTS 67 467 34508800 1200
38640721 pypractice B May 26, 2018, 5:35 p.m. OK PyPy 3 TESTS 67 545 24883200 1200
38513457 arknave B May 21, 2018, 5:15 p.m. OK PyPy 3 TESTS 67 592 13312000 1200
38522699 _GJH B May 22, 2018, 3:32 a.m. OK PyPy 3 TESTS 67 654 13824000 1200
38622506 PeterYang B May 26, 2018, 4:14 a.m. OK PyPy 3 TESTS 67 670 53145600 1200
59331754 xuzhengqi B Aug. 23, 2019, 1:41 a.m. OK PyPy 3 TESTS 67 670 59289600 1200
59066182 kchau B Aug. 19, 2019, 2 a.m. OK PyPy 3 TESTS 67 685 87961600 1200
38594540 Spelvin B May 24, 2018, 6:39 p.m. OK PyPy 3 TESTS 67 795 19046400 1200
38543137 bernie B May 22, 2018, 5:40 p.m. OK PyPy 3 TESTS 67 810 25702400 1200
38547422 nealzane B May 22, 2018, 10:17 p.m. OK Python 2 TESTS 67 156 716800 1200
40211547 quique0194 B July 11, 2018, 8:21 p.m. OK Python 2 TESTS 67 717 4198400 1200
38544023 dan_ B May 22, 2018, 6:22 p.m. OK Python 2 TESTS 67 795 4300800 1200
39134401 jhoelD B June 11, 2018, 1:39 a.m. OK Python 2 TESTS 67 1263 4300800 1200
38555749 tnowakow B May 23, 2018, 8:29 a.m. OK Python 2 TESTS 67 1294 4300800 1200
39004105 dwij28 B June 6, 2018, 8:55 p.m. OK Python 2 TESTS 67 1512 4198400 1200
38568552 biltharesatyendra B May 23, 2018, 5:12 p.m. OK Python 2 TESTS 67 1544 21196800 1200
38538057 LanceTheDragonTrainer B May 22, 2018, 2:09 p.m. OK Python 2 TESTS 67 1637 614400 1200
38561792 albinpaul.ks B May 23, 2018, 12:32 p.m. OK Python 2 TESTS 67 1668 716800 1200
39809725 Ex0d1a B July 1, 2018, 12:17 a.m. OK Python 2 TESTS 67 1715 716800 1200
38690652 Qumeric B May 28, 2018, 10:09 a.m. OK Python 3 TESTS 67 109 819200 1200
38521342 joe_joe B May 22, 2018, 1:52 a.m. OK Python 3 TESTS 67 109 819200 1200
38518285 eugalt B May 21, 2018, 8:43 p.m. OK Python 3 TESTS 67 109 819200 1200
38563718 MartiBook B May 23, 2018, 1:45 p.m. OK Python 3 TESTS 67 109 921600 1200
38523410 eugalt B May 22, 2018, 4:22 a.m. OK Python 3 TESTS 67 109 921600 1200
38520749 Yee_172 B May 22, 2018, 12:58 a.m. OK Python 3 TESTS 67 109 5222400 1200
38716848 CodeMaster B May 29, 2018, 11:19 a.m. OK Python 3 TESTS 67 124 819200 1200
38519888 eugalt B May 21, 2018, 11:24 p.m. OK Python 3 TESTS 67 124 819200 1200
38626893 Mahdi_Shokoufi B May 26, 2018, 7:25 a.m. OK Python 3 TESTS 67 124 1945600 1200
38520790 Yee_172 B May 22, 2018, 1:01 a.m. OK Python 3 TESTS 67 124 5222400 1200

remove filters

Back to search problems