Educational Codeforces Round 26

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
837 Educational Codeforces Round 26 FINISHED False 7200 230049899 Aug. 3, 2017, 3:15 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3945 ) B Flag of Berland PROGRAMMING brute force implementation 1600

B'The flag of Berland is such rectangular field n xe2 x80 x89 xc3 x97 xe2 x80 x89m that satisfies following conditions: You are given a field n xe2 x80 x89 xc3 x97 xe2 x80 x89m, consisting of characters 'R ', 'G ' and 'B '. Output "YES" (without quotes) if this field corresponds to correct flag of Berland. Otherwise, print "NO" (without quotes). The first line contains two integer numbers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100) -- the sizes of the field. Each of the following n lines consisting of m characters 'R ', 'G ' and 'B ' -- the description of the field. Print "YES" (without quotes) if the given field corresponds to correct flag of Berland . Otherwise, print "NO" (without quotes). The field in the third example doesn 't have three parralel stripes. Rows of the field in the fourth example are parralel to each other and to borders. But they have different heights -- 2, 1 and 1. '...

Tutorials

53662

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
29163040 nanae1914 B Aug. 3, 2017, 3:41 p.m. OK D TESTS 153 15 3072000 1600
29212470 nanae1914 B Aug. 5, 2017, 7:28 a.m. OK D TESTS 153 15 3072000 1600
29169457 Leonardone B Aug. 3, 2017, 4:38 p.m. OK D TESTS 153 30 2969600 1600
29179693 fluffyowl B Aug. 4, 2017, 12:37 a.m. OK D TESTS 153 31 2969600 1600
29435705 ME_AJUUUUUDAAA B Aug. 13, 2017, 2:02 p.m. OK D TESTS 153 31 2969600 1600
32374540 URTATAGLM B Nov. 17, 2017, 9:55 a.m. OK FPC TESTS 153 15 0 1600
29210991 vjudge4 B Aug. 5, 2017, 6:19 a.m. OK FPC TESTS 153 15 1638400 1600
29210743 vjudge4 B Aug. 5, 2017, 6:06 a.m. OK FPC TESTS 153 15 1638400 1600
29207720 vjudge4 B Aug. 5, 2017, 2:54 a.m. OK FPC TESTS 153 15 1638400 1600
29207664 vjudge4 B Aug. 5, 2017, 2:51 a.m. OK FPC TESTS 153 15 1638400 1600
29207636 vjudge5 B Aug. 5, 2017, 2:50 a.m. OK FPC TESTS 153 15 1638400 1600
29207629 vjudge1 B Aug. 5, 2017, 2:50 a.m. OK FPC TESTS 153 15 1638400 1600
29207539 vjudge4 B Aug. 5, 2017, 2:42 a.m. OK FPC TESTS 153 15 1638400 1600
29265892 KagamiharaNadeshiko B Aug. 7, 2017, 1:33 p.m. OK FPC TESTS 153 15 1638400 1600
29241435 neddie B Aug. 6, 2017, 12:40 p.m. OK FPC TESTS 153 15 1638400 1600
31247379 monmon2 B Oct. 12, 2017, 2:41 p.m. OK GNU C TESTS 153 15 0 1600
29353062 thoughtfultown B Aug. 11, 2017, 12:43 p.m. OK GNU C TESTS 153 15 1945600 1600
29346770 fsociety00 B Aug. 11, 2017, 7:46 a.m. OK GNU C TESTS 153 15 1945600 1600
29332688 neka B Aug. 10, 2017, 4:03 p.m. OK GNU C TESTS 153 15 1945600 1600
29282650 d.j6082013 B Aug. 8, 2017, 9:53 a.m. OK GNU C TESTS 153 15 1945600 1600
29264020 yafi38 B Aug. 7, 2017, 11:58 a.m. OK GNU C TESTS 153 15 1945600 1600
29236237 Barceloner B Aug. 6, 2017, 8:13 a.m. OK GNU C TESTS 153 15 1945600 1600
29234088 mananb31 B Aug. 6, 2017, 6:09 a.m. OK GNU C TESTS 153 15 1945600 1600
29458566 strawhat787 B Aug. 14, 2017, 1:23 p.m. OK GNU C TESTS 153 15 1945600 1600
29219625 anirudhbansal B Aug. 5, 2017, 1:27 p.m. OK GNU C TESTS 153 15 1945600 1600
29860366 Kimia.H B Aug. 29, 2017, 7:38 a.m. OK GNU C++ TESTS 153 15 0 1600
30091576 nnnnnox B Sept. 5, 2017, 5:50 a.m. OK GNU C++ TESTS 153 15 0 1600
30022865 vjudge2 B Sept. 3, 2017, 2:09 a.m. OK GNU C++ TESTS 153 15 0 1600
29973344 Tarrus B Sept. 1, 2017, 12:04 p.m. OK GNU C++ TESTS 153 15 0 1600
29918506 bestFy B Aug. 30, 2017, 1:32 p.m. OK GNU C++ TESTS 153 15 0 1600
29841898 Polosatik B Aug. 28, 2017, 9:09 a.m. OK GNU C++ TESTS 153 15 0 1600
29826793 dhuacm5 B Aug. 27, 2017, 12:50 p.m. OK GNU C++ TESTS 153 15 0 1600
29692563 terminator222 B Aug. 22, 2017, 7:53 p.m. OK GNU C++ TESTS 153 15 0 1600
29645379 ya_ B Aug. 21, 2017, 2:06 p.m. OK GNU C++ TESTS 153 15 0 1600
29645027 sgr_suman B Aug. 21, 2017, 1:50 p.m. OK GNU C++ TESTS 153 15 0 1600
29522212 eku B Aug. 17, 2017, 8:51 a.m. OK GNU C11 TESTS 153 15 0 1600
30013632 xiao-xiao B Sept. 2, 2017, 1:24 p.m. OK GNU C11 TESTS 153 15 0 1600
29216846 newbass B Aug. 5, 2017, 11:06 a.m. OK GNU C11 TESTS 153 15 1945600 1600
29301419 zzudiedfish B Aug. 9, 2017, 8:26 a.m. OK GNU C11 TESTS 153 15 1945600 1600
29266632 f2lk6wf90d B Aug. 7, 2017, 2:10 p.m. OK GNU C11 TESTS 153 15 1945600 1600
37123286 vjudge3 B April 9, 2018, 1:34 p.m. OK GNU C11 TESTS 153 30 3379200 1600
29164061 ZhangJinnan B Aug. 3, 2017, 3:48 p.m. OK GNU C11 TESTS 153 31 1945600 1600
37089198 wsy1998 B April 8, 2018, 6:33 a.m. OK GNU C11 TESTS 153 31 3379200 1600
30227390 GorosheK B Sept. 9, 2017, 1:59 p.m. OK GNU C++11 TESTS 153 15 0 1600
32539576 Dmaxiya B Nov. 22, 2017, 3:50 a.m. OK GNU C++11 TESTS 153 15 0 1600
32360098 WooDeND B Nov. 16, 2017, 4:09 p.m. OK GNU C++11 TESTS 153 15 0 1600
30380866 MrTsima B Sept. 16, 2017, 10:15 a.m. OK GNU C++11 TESTS 153 15 0 1600
30354758 a_aron B Sept. 15, 2017, 12:18 a.m. OK GNU C++11 TESTS 153 15 0 1600
30263490 marinac321 B Sept. 11, 2017, 10:21 a.m. OK GNU C++11 TESTS 153 15 0 1600
30079678 loli_lover B Sept. 4, 2017, 5 p.m. OK GNU C++11 TESTS 153 15 0 1600
30053346 lifan B Sept. 4, 2017, 12:59 p.m. OK GNU C++11 TESTS 153 15 0 1600
30027614 themultiplexer B Sept. 3, 2017, 8:52 a.m. OK GNU C++11 TESTS 153 15 0 1600
30011518 pranjal.ssh B Sept. 2, 2017, 11:23 a.m. OK GNU C++11 TESTS 153 15 0 1600
30525681 Immortal_ua B Sept. 19, 2017, 6:20 p.m. OK GNU C++14 TESTS 153 15 0 1600
30244784 Rejur B Sept. 10, 2017, 12:19 p.m. OK GNU C++14 TESTS 153 15 0 1600
30926196 5ak18 B Oct. 1, 2017, 9:53 p.m. OK GNU C++14 TESTS 153 15 0 1600
30955261 gonP B Oct. 3, 2017, 12:55 a.m. OK GNU C++14 TESTS 153 15 0 1600
31104566 yashar_sb_sb B Oct. 7, 2017, 7:52 a.m. OK GNU C++14 TESTS 153 15 0 1600
31187358 Cinzaderius B Oct. 10, 2017, 10:57 a.m. OK GNU C++14 TESTS 153 15 0 1600
31707976 weak_informatics B Oct. 25, 2017, 12:04 p.m. OK GNU C++14 TESTS 153 15 0 1600
31717717 godfather97 B Oct. 25, 2017, 4:37 p.m. OK GNU C++14 TESTS 153 15 0 1600
31794955 dynamite_iit B Oct. 27, 2017, 12:30 p.m. OK GNU C++14 TESTS 153 15 0 1600
31824679 Abdulbosit.Abdullo B Oct. 28, 2017, 4:54 a.m. OK GNU C++14 TESTS 153 15 0 1600
35536255 togatoga B Feb. 21, 2018, 2:12 a.m. OK GNU C++17 TESTS 153 15 1945600 1600
68882206 kg1910 B Jan. 15, 2020, 7:19 p.m. OK GNU C++17 TESTS 153 30 204800 1600
65322150 limabeans B Nov. 18, 2019, 8:33 p.m. OK GNU C++17 TESTS 153 31 0 1600
63061335 genesiscentury B Oct. 21, 2019, 8:47 a.m. OK GNU C++17 TESTS 153 31 0 1600
69523331 hobgoblin23 B Jan. 25, 2020, 2:05 p.m. OK GNU C++17 TESTS 153 31 0 1600
69294627 sunnyorrainy B Jan. 22, 2020, 11:42 a.m. OK GNU C++17 TESTS 153 31 0 1600
68999338 kaizen_ B Jan. 17, 2020, 6:49 p.m. OK GNU C++17 TESTS 153 31 0 1600
68103703 tsutaj1458 B Jan. 3, 2020, 5:40 a.m. OK GNU C++17 TESTS 153 31 0 1600
68004508 tumaryui B Dec. 31, 2019, 12:32 p.m. OK GNU C++17 TESTS 153 31 0 1600
66600836 Falak19 B Dec. 10, 2019, 4:27 p.m. OK GNU C++17 TESTS 153 31 0 1600
29634848 megaspazz B Aug. 21, 2017, 4:46 a.m. OK Go TESTS 153 30 18124800 1600
29635130 megaspazz B Aug. 21, 2017, 5:02 a.m. OK Go TESTS 153 46 102400 1600
29189423 hhandleh B Aug. 4, 2017, 9:01 a.m. OK Haskell TESTS 153 15 53248000 1600
29425579 euangjyugum B Aug. 13, 2017, 6:33 a.m. OK Haskell TESTS 153 30 44851200 1600
29163139 torus711 B Aug. 3, 2017, 3:41 p.m. OK Haskell TESTS 153 30 53350400 1600
29180729 lastland B Aug. 4, 2017, 1:57 a.m. OK Haskell TESTS 153 31 53248000 1600
29173793 sl0th B Aug. 3, 2017, 5:34 p.m. OK Haskell TESTS 153 31 53350400 1600
51944794 alibaba B March 28, 2019, 4:17 p.m. OK Java 8 TESTS 153 109 0 1600
29640268 ankurdua15 B Aug. 21, 2017, 9:40 a.m. OK Java 8 TESTS 153 109 0 1600
29307884 Hoda_Hisham B Aug. 9, 2017, 2:26 p.m. OK Java 8 TESTS 153 109 20275200 1600
29190464 Mr.Awesome B Aug. 4, 2017, 9:47 a.m. OK Java 8 TESTS 153 109 20480000 1600
29457922 kocko B Aug. 14, 2017, 12:53 p.m. OK Java 8 TESTS 153 109 20582400 1600
29377389 dwoolley3 B Aug. 12, 2017, 12:37 p.m. OK Java 8 TESTS 153 109 20582400 1600
29377182 dwoolley3 B Aug. 12, 2017, 12:28 p.m. OK Java 8 TESTS 153 109 20582400 1600
29347482 Hossam B Aug. 11, 2017, 8:16 a.m. OK Java 8 TESTS 153 109 20582400 1600
29289448 XingxingHuang B Aug. 8, 2017, 4:26 p.m. OK Java 8 TESTS 153 109 20582400 1600
29282372 mDziewanowski B Aug. 8, 2017, 9:34 a.m. OK Java 8 TESTS 153 109 20582400 1600
29193720 zhakovnikita B Aug. 4, 2017, 12:30 p.m. OK JavaScript TESTS 153 31 5939200 1600
29188611 Paradox512 B Aug. 4, 2017, 8:29 a.m. OK JavaScript TESTS 153 31 5939200 1600
29414985 karvozavr B Aug. 12, 2017, 7:53 p.m. OK Kotlin TESTS 153 186 22732800 1600
66537273 MiuraMiuMiu B Dec. 9, 2019, 10:07 a.m. OK Mono C# TESTS 153 62 0 1600
29183820 leign B Aug. 4, 2017, 4:59 a.m. OK Mono C# TESTS 153 62 9318400 1600
29551298 boscatov B Aug. 18, 2017, 10:25 a.m. OK MS C# TESTS 153 46 204800 1600
29193009 artsin666 B Aug. 4, 2017, 11:59 a.m. OK MS C# TESTS 153 46 9318400 1600
29452031 Liran B Aug. 14, 2017, 7:54 a.m. OK MS C# TESTS 153 46 9318400 1600
29217142 zazak B Aug. 5, 2017, 11:22 a.m. OK MS C# TESTS 153 46 9318400 1600
29186115 vvevgeny B Aug. 4, 2017, 6:44 a.m. OK MS C# TESTS 153 46 9420800 1600
29510243 hkcsser2 B Aug. 16, 2017, 4:52 p.m. OK MS C# TESTS 153 61 1433600 1600
29510135 hkcsser2 B Aug. 16, 2017, 4:45 p.m. OK MS C# TESTS 153 62 1331200 1600
29190236 ShowStopper728 B Aug. 4, 2017, 9:36 a.m. OK MS C# TESTS 153 62 11776000 1600
29286916 vitoshacademy B Aug. 8, 2017, 2:12 p.m. OK MS C# TESTS 153 62 11878400 1600
29855387 Artem121 B Aug. 28, 2017, 10:51 p.m. OK MS C# TESTS 153 77 102400 1600
29597637 Loesen B Aug. 19, 2017, 12:07 p.m. OK MS C++ TESTS 153 15 204800 1600
29505401 nadavishe B Aug. 16, 2017, 12:43 p.m. OK MS C++ TESTS 153 15 204800 1600
29299067 vjudge4 B Aug. 9, 2017, 6:13 a.m. OK MS C++ TESTS 153 15 2048000 1600
29288117 Diplomate B Aug. 8, 2017, 3:15 p.m. OK MS C++ TESTS 153 15 2048000 1600
29259017 mshcherba B Aug. 7, 2017, 8:16 a.m. OK MS C++ TESTS 153 15 2048000 1600
29214394 backTTT B Aug. 5, 2017, 9:02 a.m. OK MS C++ TESTS 153 15 2048000 1600
29165624 backTTT B Aug. 3, 2017, 4 p.m. OK MS C++ TESTS 153 15 2048000 1600
35866899 vjudge1 B March 3, 2018, 2:55 a.m. OK MS C++ TESTS 153 15 2048000 1600
29320834 brightlymale B Aug. 10, 2017, 7:59 a.m. OK MS C++ TESTS 153 15 2048000 1600
29483788 imbirik B Aug. 15, 2017, 2:26 p.m. OK MS C++ TESTS 153 15 2150400 1600
53280867 DdosDanila B April 25, 2019, 11:54 a.m. OK MS C++ 2017 TESTS 153 31 0 1600
57191636 Still_Theory B July 17, 2019, 10:50 a.m. OK MS C++ 2017 TESTS 153 31 0 1600
59086380 vjudge3 B Aug. 19, 2019, 11:12 a.m. OK MS C++ 2017 TESTS 153 31 0 1600
29196012 mayakin B Aug. 4, 2017, 2:09 p.m. OK PHP TESTS 153 46 6041600 1600
29305504 venkat1997 B Aug. 9, 2017, 12:25 p.m. OK PyPy 2 TESTS 153 62 22016000 1600
29933337 pluristiq B Aug. 31, 2017, 1:29 a.m. OK PyPy 2 TESTS 153 77 0 1600
29178245 gedymin B Aug. 3, 2017, 9:32 p.m. OK PyPy 2 TESTS 153 77 22016000 1600
29179997 sragavan B Aug. 4, 2017, 1:06 a.m. OK PyPy 2 TESTS 153 92 22220800 1600
38704218 dendi239 B May 28, 2018, 8:46 p.m. OK PyPy 2 TESTS 153 93 409600 1600
29288464 cchao B Aug. 8, 2017, 3:33 p.m. OK PyPy 2 TESTS 153 93 22016000 1600
29185064 Ostkaka B Aug. 4, 2017, 6:02 a.m. OK PyPy 2 TESTS 153 93 22220800 1600
29288353 cchao B Aug. 8, 2017, 3:27 p.m. OK PyPy 2 TESTS 153 93 22323200 1600
29262377 andreamaf B Aug. 7, 2017, 10:33 a.m. OK PyPy 2 TESTS 153 109 26828800 1600
49957896 gatsko B Feb. 15, 2019, 4:51 p.m. OK PyPy 2 TESTS 153 156 2867200 1600
59933037 kopok2 B Sept. 3, 2019, 8:12 a.m. OK PyPy 3 TESTS 153 140 0 1600
41618290 beast_pirate B Aug. 15, 2018, 10:38 a.m. OK PyPy 3 TESTS 153 140 204800 1600
29164267 Naoki_M B Aug. 3, 2017, 3:50 p.m. OK PyPy 3 TESTS 153 140 23552000 1600
68259529 po1ycarp B Jan. 5, 2020, 2:48 p.m. OK PyPy 3 TESTS 153 170 1740800 1600
42803247 neo.ezop B Sept. 12, 2018, 3:36 p.m. OK PyPy 3 TESTS 153 187 1536000 1600
56454508 scambret B July 3, 2019, 2:38 a.m. OK PyPy 3 TESTS 153 218 1945600 1600
55362878 artifexbm B June 9, 2019, 3:55 p.m. OK PyPy 3 TESTS 153 264 1536000 1600
29260694 Joker_Poker B Aug. 7, 2017, 9:05 a.m. OK Python 2 TESTS 153 61 4710400 1600
29178981 nealzane B Aug. 3, 2017, 10:53 p.m. OK Python 2 TESTS 153 61 4710400 1600
32188852 mohammadsafi75 B Nov. 10, 2017, 8:16 a.m. OK Python 2 TESTS 153 62 0 1600
29511121 nwi B Aug. 16, 2017, 5:46 p.m. OK Python 2 TESTS 153 62 0 1600
30781429 sid_mishra B Sept. 27, 2017, 3:35 p.m. OK Python 2 TESTS 153 62 102400 1600
29692853 electro B Aug. 22, 2017, 8:10 p.m. OK Python 2 TESTS 153 62 102400 1600
29945646 upanshug53 B Aug. 31, 2017, 1:15 p.m. OK Python 2 TESTS 153 62 409600 1600
34178073 MadCook B Jan. 14, 2018, 2:52 p.m. OK Python 2 TESTS 153 62 4710400 1600
29213485 2O16 B Aug. 5, 2017, 8:19 a.m. OK Python 2 TESTS 153 62 4710400 1600
29195840 WhatTheFua B Aug. 4, 2017, 2:04 p.m. OK Python 2 TESTS 153 62 4710400 1600
29264658 dvec B Aug. 7, 2017, 12:32 p.m. OK Python 3 TESTS 153 61 4608000 1600
30220071 anatoly.rr B Sept. 9, 2017, 7:51 a.m. OK Python 3 TESTS 153 62 0 1600
31198872 _swarna B Oct. 10, 2017, 5:18 p.m. OK Python 3 TESTS 153 62 307200 1600
29857578 Kinomasu B Aug. 29, 2017, 3:47 a.m. OK Python 3 TESTS 153 62 307200 1600
29686292 jukterif B Aug. 22, 2017, 3:02 p.m. OK Python 3 TESTS 153 62 307200 1600
29357803 merolish B Aug. 11, 2017, 4:25 p.m. OK Python 3 TESTS 153 62 4608000 1600
29234268 tojochacko B Aug. 6, 2017, 6:21 a.m. OK Python 3 TESTS 153 62 4608000 1600
29485626 DS-K B Aug. 15, 2017, 3:59 p.m. OK Python 3 TESTS 153 62 4915200 1600
29459764 warpgate B Aug. 14, 2017, 2:18 p.m. OK Python 3 TESTS 153 62 4915200 1600
29378657 hetzi B Aug. 12, 2017, 1:52 p.m. OK Python 3 TESTS 153 62 4915200 1600
29835750 orailly B Aug. 27, 2017, 10:37 p.m. OK Ruby TESTS 153 62 204800 1600
29160461 Shik B Aug. 3, 2017, 3:24 p.m. OK Ruby TESTS 153 78 14438400 1600
29550108 saurabh7717 B Aug. 18, 2017, 10:13 a.m. OK Ruby TESTS 153 93 102400 1600
29173490 YeuDieuNhieu B Aug. 3, 2017, 5:26 p.m. OK Ruby TESTS 153 109 14438400 1600
29239499 mayo-ya B Aug. 6, 2017, 11:10 a.m. OK Rust TESTS 153 15 1536000 1600

remove filters

Back to search problems