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
( 4013 ) C Two Seals PROGRAMMING brute force implementation 1500

B"One very important person has a piece of paper in the form of a rectangle a xe2 x80 x89 xc3 x97 xe2 x80 x89b. Also, he has n seals. Each seal leaves an impression on the paper in the form of a rectangle of the size xi xe2 x80 x89 xc3 x97 xe2 x80 x89yi. Each impression must be parallel to the sides of the piece of paper (but seal can be rotated by 90 degrees). A very important person wants to choose two different seals and put them two impressions. Each of the selected seals puts exactly one impression. Impressions should not overlap (but they can touch sides), and the total area occupied by them should be the largest possible. What is the largest area that can be occupied by two seals? The first line contains three integer numbers n, a and b (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89a, xe2 x80 x89b xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100). Each of the next n lines contain two numbers xi, yi (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89xi, xe2 x80 x89yi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100). Print the largest total area that can be occupied by two seals. If you can not select two seals, print 0. In the first example you can rotate the second seal by 90 degrees. Then put impression of it right under the impression of the first seal. This will occupy all the piece of paper. In the second example you can't choose the last seal because it doesn't fit. By choosing the first and the third seals you occupy the largest area. In the third example there is no such pair of seals that they both can fit on a piece of paper. "...

Tutorials

53662

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
29179783 fluffyowl C Aug. 4, 2017, 12:47 a.m. OK D TESTS 51 15 2969600 1500
29212487 nanae1914 C Aug. 5, 2017, 7:29 a.m. OK D TESTS 51 15 3072000 1500
29165547 nanae1914 C Aug. 3, 2017, 4 p.m. OK D TESTS 51 30 3072000 1500
29171595 Leonardone C Aug. 3, 2017, 5:02 p.m. OK D TESTS 51 46 2969600 1500
32247375 URTATAGLM C Nov. 12, 2017, 3:27 p.m. OK FPC TESTS 51 15 102400 1500
29212602 vjudge1 C Aug. 5, 2017, 7:34 a.m. OK FPC TESTS 51 15 1638400 1500
29211008 vjudge4 C Aug. 5, 2017, 6:20 a.m. OK FPC TESTS 51 15 1638400 1500
29207989 vjudge3 C Aug. 5, 2017, 3:11 a.m. OK FPC TESTS 51 15 1638400 1500
29206381 vjudge3 C Aug. 5, 2017, 1:27 a.m. OK FPC TESTS 51 15 1638400 1500
29206361 vjudge1 C Aug. 5, 2017, 1:25 a.m. OK FPC TESTS 51 15 1638400 1500
29212659 vjudge5 C Aug. 5, 2017, 7:37 a.m. OK FPC TESTS 51 15 1638400 1500
29213254 vjudge2 C Aug. 5, 2017, 8:08 a.m. OK FPC TESTS 51 15 1638400 1500
29218107 vjudge5 C Aug. 5, 2017, 12:08 p.m. OK FPC TESTS 51 15 1638400 1500
29312107 Grom9941 C Aug. 9, 2017, 6:44 p.m. OK FPC TESTS 51 15 1638400 1500
30199672 him_mah10 C Sept. 8, 2017, 10:11 a.m. OK GNU C TESTS 51 15 102400 1500
34173460 Unknownnn C Jan. 14, 2018, 11:33 a.m. OK GNU C TESTS 51 15 1843200 1500
29353626 thoughtfultown C Aug. 11, 2017, 1:07 p.m. OK GNU C TESTS 51 15 1945600 1500
29334721 neka C Aug. 10, 2017, 4:56 p.m. OK GNU C TESTS 51 15 1945600 1500
29238260 changz C Aug. 6, 2017, 10:04 a.m. OK GNU C TESTS 51 15 1945600 1500
29237634 Barceloner C Aug. 6, 2017, 9:31 a.m. OK GNU C TESTS 51 15 1945600 1500
29236598 mananb31 C Aug. 6, 2017, 8:34 a.m. OK GNU C TESTS 51 15 1945600 1500
29219981 anirudhbansal C Aug. 5, 2017, 1:47 p.m. OK GNU C TESTS 51 15 1945600 1500
29172005 sid9406 C Aug. 3, 2017, 5:06 p.m. OK GNU C TESTS 51 15 1945600 1500
30472591 xiao-xiao C Sept. 18, 2017, 2:57 p.m. OK GNU C TESTS 51 15 1945600 1500
30574446 vjudge4 C Sept. 21, 2017, 10:53 a.m. OK GNU C++ TESTS 51 15 0 1500
32540349 HIT_Attacker C Nov. 22, 2017, 5:07 a.m. OK GNU C++ TESTS 51 15 0 1500
32343149 KrK C Nov. 15, 2017, 10:55 p.m. OK GNU C++ TESTS 51 15 0 1500
32063951 faresbkh C Nov. 4, 2017, 9:16 p.m. OK GNU C++ TESTS 51 15 0 1500
31797556 fighting_hlq C Oct. 27, 2017, 1:46 p.m. OK GNU C++ TESTS 51 15 0 1500
31238970 panoschal C Oct. 12, 2017, 11:16 a.m. OK GNU C++ TESTS 51 15 0 1500
31217574 opmpiftekhs C Oct. 11, 2017, 1:31 p.m. OK GNU C++ TESTS 51 15 0 1500
31122264 Tarrus C Oct. 7, 2017, 4:29 p.m. OK GNU C++ TESTS 51 15 0 1500
30574663 vjudge3 C Sept. 21, 2017, 11:02 a.m. OK GNU C++ TESTS 51 15 0 1500
30574583 vjudge4 C Sept. 21, 2017, 10:59 a.m. OK GNU C++ TESTS 51 15 0 1500
29266646 f2lk6wf90d C Aug. 7, 2017, 2:10 p.m. OK GNU C11 TESTS 51 15 1945600 1500
29522621 eku C Aug. 17, 2017, 9:12 a.m. OK GNU C11 TESTS 51 31 0 1500
59598312 BugLeave C Aug. 28, 2019, 3:57 a.m. OK GNU C11 TESTS 51 31 0 1500
66240982 abcd227 C Dec. 3, 2019, 6:09 p.m. OK GNU C11 TESTS 51 31 0 1500
32064517 kai9 C Nov. 4, 2017, 10:12 p.m. OK GNU C++11 TESTS 51 15 0 1500
32539573 Dmaxiya C Nov. 22, 2017, 3:49 a.m. OK GNU C++11 TESTS 51 15 0 1500
32215426 KarimTheGrim C Nov. 11, 2017, 9:25 a.m. OK GNU C++11 TESTS 51 15 0 1500
31971281 D_XF C Nov. 2, 2017, 7:50 a.m. OK GNU C++11 TESTS 51 15 0 1500
31003444 krijgertje C Oct. 4, 2017, 9:21 p.m. OK GNU C++11 TESTS 51 15 0 1500
30935447 Dreamer96 C Oct. 2, 2017, 7 a.m. OK GNU C++11 TESTS 51 15 0 1500
30831645 Alex_PKZDL C Sept. 29, 2017, 2:07 p.m. OK GNU C++11 TESTS 51 15 0 1500
30819378 sspu_zhaojingyuan1996 C Sept. 29, 2017, 3:09 a.m. OK GNU C++11 TESTS 51 15 0 1500
30336728 ref C Sept. 14, 2017, 6:50 p.m. OK GNU C++11 TESTS 51 15 0 1500
30336463 Yusuf_sust C Sept. 14, 2017, 6:37 p.m. OK GNU C++11 TESTS 51 15 0 1500
39185201 arpitgarg7 C June 12, 2018, 8:36 a.m. OK GNU C++14 TESTS 51 15 0 1500
39694630 dhr_1 C June 27, 2018, 7:46 a.m. OK GNU C++14 TESTS 51 15 0 1500
55221060 igorpastukh C June 6, 2019, 7:37 p.m. OK GNU C++14 TESTS 51 15 0 1500
55939702 FastestFinger C June 22, 2019, 3:53 p.m. OK GNU C++14 TESTS 51 15 0 1500
31903921 maiquynhtruong C Oct. 30, 2017, 7:23 p.m. OK GNU C++14 TESTS 51 15 0 1500
31849009 redcpp C Oct. 28, 2017, 7:21 p.m. OK GNU C++14 TESTS 51 15 0 1500
32529474 uzumaki_naruto_ C Nov. 21, 2017, 3:24 p.m. OK GNU C++14 TESTS 51 15 0 1500
32359945 id1 C Nov. 16, 2017, 4:02 p.m. OK GNU C++14 TESTS 51 15 0 1500
32338481 st-Firdavs C Nov. 15, 2017, 5:18 p.m. OK GNU C++14 TESTS 51 15 0 1500
32334444 Anachor C Nov. 15, 2017, 2:28 p.m. OK GNU C++14 TESTS 51 15 0 1500
60348979 Admiral_puri C Sept. 10, 2019, 1:35 p.m. OK GNU C++17 TESTS 51 15 0 1500
55504250 icpcrussia C June 12, 2019, 4:52 p.m. OK GNU C++17 TESTS 51 15 0 1500
39699378 coder_h C June 27, 2018, 11:09 a.m. OK GNU C++17 TESTS 51 15 0 1500
38654977 wanfeng_s C May 27, 2018, 12:14 p.m. OK GNU C++17 TESTS 51 15 0 1500
36146783 Febrin C March 10, 2018, 10:21 a.m. OK GNU C++17 TESTS 51 15 1945600 1500
36314766 Ashishgup C March 16, 2018, 1:48 a.m. OK GNU C++17 TESTS 51 15 4915200 1500
64592596 INMAK C Nov. 9, 2019, 3:19 p.m. OK GNU C++17 TESTS 51 30 0 1500
61349194 umang99m C Sept. 27, 2019, 7:06 a.m. OK GNU C++17 TESTS 51 30 0 1500
58974050 Antygenius C Aug. 17, 2019, 10:35 p.m. OK GNU C++17 TESTS 51 30 0 1500
58263183 SMani24 C Aug. 4, 2019, 1:17 p.m. OK GNU C++17 TESTS 51 30 0 1500
29635143 megaspazz C Aug. 21, 2017, 5:02 a.m. OK Go TESTS 51 30 18124800 1500
29665461 alibaba C Aug. 21, 2017, 6:17 p.m. OK Go TESTS 51 46 18022400 1500
29167333 sl0th C Aug. 3, 2017, 4:16 p.m. OK Haskell TESTS 51 15 53248000 1500
29172218 torus711 C Aug. 3, 2017, 5:08 p.m. OK Haskell TESTS 51 31 53350400 1500
52468594 catforce C April 7, 2019, 5:11 p.m. OK Java 8 TESTS 51 108 0 1500
46724431 StayAwayFromBitches C Dec. 7, 2018, 2:23 p.m. OK Java 8 TESTS 51 109 0 1500
61027585 jakejase2 C Sept. 21, 2019, 4:31 p.m. OK Java 8 TESTS 51 109 0 1500
55215808 lebaur C June 6, 2019, 4:40 p.m. OK Java 8 TESTS 51 109 0 1500
45340169 himanshubhardwaj169 C Nov. 5, 2018, 8:10 p.m. OK Java 8 TESTS 51 109 0 1500
29704146 LeontiBrechko C Aug. 23, 2017, 10:25 a.m. OK Java 8 TESTS 51 109 0 1500
29308189 Hoda_Hisham C Aug. 9, 2017, 2:42 p.m. OK Java 8 TESTS 51 109 20275200 1500
29193461 Mr.Awesome C Aug. 4, 2017, 12:18 p.m. OK Java 8 TESTS 51 109 20275200 1500
29370845 Killer45 C Aug. 12, 2017, 7:02 a.m. OK Java 8 TESTS 51 109 20582400 1500
29377785 dwoolley3 C Aug. 12, 2017, 12:59 p.m. OK Java 8 TESTS 51 109 20582400 1500
49373808 sayeh C Feb. 2, 2019, 6:45 p.m. OK JavaScript TESTS 51 31 1638400 1500
29188932 Paradox512 C Aug. 4, 2017, 8:42 a.m. OK JavaScript TESTS 51 31 6656000 1500
42729170 065583 C Sept. 10, 2018, 10:16 a.m. OK Kotlin TESTS 51 156 0 1500
29162671 leign C Aug. 3, 2017, 3:38 p.m. OK Mono C# TESTS 51 46 9318400 1500
66537857 MiuraMiuMiu C Dec. 9, 2019, 10:21 a.m. OK Mono C# TESTS 51 62 0 1500
29501323 Xtreemist C Aug. 16, 2017, 9:21 a.m. OK Mono C# TESTS 51 62 9420800 1500
29645017 Liran C Aug. 21, 2017, 1:49 p.m. OK MS C# TESTS 51 46 102400 1500
29924772 Artem121 C Aug. 30, 2017, 4:43 p.m. OK MS C# TESTS 51 46 102400 1500
29193378 artsin666 C Aug. 4, 2017, 12:15 p.m. OK MS C# TESTS 51 46 9318400 1500
29554687 fr0st C Aug. 18, 2017, 1:51 p.m. OK MS C# TESTS 51 62 5222400 1500
29218463 og.kostya C Aug. 5, 2017, 12:27 p.m. OK MS C# TESTS 51 62 9420800 1500
32360199 WooDeND C Nov. 16, 2017, 4:14 p.m. OK MS C++ TESTS 51 15 0 1500
29804357 Nordto C Aug. 26, 2017, 10:55 a.m. OK MS C++ TESTS 51 15 0 1500
29553154 egj1996 C Aug. 18, 2017, 12:29 p.m. OK MS C++ TESTS 51 15 102400 1500
29969550 eastblue C Sept. 1, 2017, 11:22 a.m. OK MS C++ TESTS 51 15 102400 1500
29599660 Loesen C Aug. 19, 2017, 1:35 p.m. OK MS C++ TESTS 51 15 204800 1500
31238948 panoschal C Oct. 12, 2017, 11:15 a.m. OK MS C++ TESTS 51 15 204800 1500
29457578 vjudge4 C Aug. 14, 2017, 12:37 p.m. OK MS C++ TESTS 51 15 1945600 1500
29422273 scorpiowf C Aug. 13, 2017, 4:04 a.m. OK MS C++ TESTS 51 15 1945600 1500
29374131 Ivan_Bondarev C Aug. 12, 2017, 9:44 a.m. OK MS C++ TESTS 51 15 1945600 1500
29259714 vjudge5 C Aug. 7, 2017, 8:38 a.m. OK MS C++ TESTS 51 15 1945600 1500
57193341 Still_Theory C July 17, 2019, 11:23 a.m. OK MS C++ 2017 TESTS 51 31 0 1500
59084625 vjudge3 C Aug. 19, 2019, 10:35 a.m. OK MS C++ 2017 TESTS 51 31 0 1500
66395639 Mad112233 C Dec. 6, 2019, 10:42 a.m. OK MS C++ 2017 TESTS 51 31 307200 1500
66395690 Mad112233 C Dec. 6, 2019, 10:42 a.m. OK MS C++ 2017 TESTS 51 31 307200 1500
33523923 gabe C Dec. 23, 2017, 3:37 a.m. OK Perl TESTS 51 31 2150400 1500
29192102 mayakin C Aug. 4, 2017, 11:19 a.m. OK PHP TESTS 51 31 6041600 1500
29180175 sragavan C Aug. 4, 2017, 1:20 a.m. OK PyPy 2 TESTS 51 93 22835200 1500
29185293 Ostkaka C Aug. 4, 2017, 6:12 a.m. OK PyPy 2 TESTS 51 93 23449600 1500
38704330 dendi239 C May 28, 2018, 8:53 p.m. OK PyPy 2 TESTS 51 108 921600 1500
29946921 pluristiq C Aug. 31, 2017, 2:28 p.m. OK PyPy 2 TESTS 51 109 1740800 1500
29264761 andreamaf C Aug. 7, 2017, 12:37 p.m. OK PyPy 2 TESTS 51 109 23449600 1500
29183533 Yash_ C Aug. 4, 2017, 4:41 a.m. OK PyPy 2 TESTS 51 124 23449600 1500
49958458 gatsko C Feb. 15, 2019, 5:04 p.m. OK PyPy 2 TESTS 51 170 3072000 1500
29178355 gedymin C Aug. 3, 2017, 9:44 p.m. OK PyPy 2 TESTS 51 171 23654400 1500
34188474 vjudge3 C Jan. 15, 2018, 4:15 a.m. OK PyPy 3 TESTS 51 124 22118400 1500
64631675 essi C Nov. 10, 2019, 10:21 a.m. OK PyPy 3 TESTS 51 155 2560000 1500
56455024 scambret C July 3, 2019, 3:05 a.m. OK PyPy 3 TESTS 51 171 3379200 1500
31507421 yugle7 C Oct. 19, 2017, 12:19 p.m. OK PyPy 3 TESTS 51 171 27955200 1500
66299996 manish.17 C Dec. 5, 2019, 6:42 a.m. OK PyPy 3 TESTS 51 187 3584000 1500
60200268 CubeCakes C Sept. 7, 2019, 5:10 a.m. OK PyPy 3 TESTS 51 187 4710400 1500
41618904 beast_pirate C Aug. 15, 2018, 10:58 a.m. OK PyPy 3 TESTS 51 202 2150400 1500
68263319 po1ycarp C Jan. 5, 2020, 3:04 p.m. OK PyPy 3 TESTS 51 202 2969600 1500
42805359 neo.ezop C Sept. 12, 2018, 4:46 p.m. OK PyPy 3 TESTS 51 218 2150400 1500
29169791 SIvan C Aug. 3, 2017, 4:41 p.m. OK PyPy 3 TESTS 51 264 29491200 1500
29323730 nguyenbaduy C Aug. 10, 2017, 10:30 a.m. OK Python 2 TESTS 51 46 4710400 1500
30779747 sid_mishra C Sept. 27, 2017, 2:29 p.m. OK Python 2 TESTS 51 62 0 1500
29510940 nwi C Aug. 16, 2017, 5:36 p.m. OK Python 2 TESTS 51 62 0 1500
29180915 sunary C Aug. 4, 2017, 2:07 a.m. OK Python 2 TESTS 51 62 4710400 1500
29173804 vishalagarwal C Aug. 3, 2017, 5:34 p.m. OK Python 2 TESTS 51 62 4710400 1500
29171976 fengsuiyan C Aug. 3, 2017, 5:06 p.m. OK Python 2 TESTS 51 62 4710400 1500
29160427 Lewin C Aug. 3, 2017, 3:24 p.m. OK Python 2 TESTS 51 62 4710400 1500
29164596 dbhrockzz C Aug. 3, 2017, 3:53 p.m. OK Python 2 TESTS 51 77 4710400 1500
29179082 nealzane C Aug. 3, 2017, 11:05 p.m. OK Python 2 TESTS 51 93 4710400 1500
32028624 anthonymcqueen21 C Nov. 3, 2017, 5:34 p.m. OK Python 2 TESTS 51 561 0 1500
30736420 pdangal C Sept. 25, 2017, 11 p.m. OK Python 3 TESTS 51 46 307200 1500
30793454 treasuryonly C Sept. 28, 2017, 2:39 a.m. OK Python 3 TESTS 51 62 307200 1500
30296286 Gandji C Sept. 12, 2017, 10:22 p.m. OK Python 3 TESTS 51 62 307200 1500
30219242 anatoly.rr C Sept. 9, 2017, 6:59 a.m. OK Python 3 TESTS 51 62 307200 1500
29777576 ketaniyengar C Aug. 25, 2017, 11:25 a.m. OK Python 3 TESTS 51 62 307200 1500
29171876 Linio C Aug. 3, 2017, 5:05 p.m. OK Python 3 TESTS 51 62 4608000 1500
29219667 strawberrry C Aug. 5, 2017, 1:30 p.m. OK Python 3 TESTS 51 62 4915200 1500
29186287 Starry_Sky C Aug. 4, 2017, 6:50 a.m. OK Python 3 TESTS 51 62 4915200 1500
29183668 Vasiliy_48 C Aug. 4, 2017, 4:50 a.m. OK Python 3 TESTS 51 62 4915200 1500
29173478 imd C Aug. 3, 2017, 5:26 p.m. OK Python 3 TESTS 51 62 4915200 1500
29528053 Hillmouse C Aug. 17, 2017, 2:17 p.m. OK Rust TESTS 51 15 102400 1500
29174606 williamyaoh C Aug. 3, 2017, 5:58 p.m. OK Rust TESTS 51 15 1536000 1500
29265802 mayo-ya C Aug. 7, 2017, 1:29 p.m. OK Rust TESTS 51 15 2150400 1500

remove filters

Back to search problems