Codeforces Round 587 (Div. 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
1216 Codeforces Round 587 (Div. 3) FINISHED False 7200 168130463 Sept. 21, 2019, 7:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 9442 ) C White Sheet PROGRAMMING geometry math 1500

B'There is a white sheet of paper lying on a rectangle table. The sheet is a rectangle with its sides parallel to the sides of the table. If you will take a look from above and assume that the bottom left corner of the table has coordinates (0, 0) , and coordinate axes are left and bottom sides of the table, then the bottom left corner of the white sheet has coordinates (x_1, y_1) , and the top right -- (x_2, y_2) . After that two black sheets of paper are placed on the table. Sides of both black sheets are also parallel to the sides of the table. Coordinates of the bottom left corner of the first black sheet are (x_3, y_3) , and the top right -- (x_4, y_4) . Coordinates of the bottom left corner of the second black sheet are (x_5, y_5) , and the top right -- (x_6, y_6) . Determine if some part of the white sheet can be seen from the above after the two black sheets are placed. The part of the white sheet can be seen if there is at least one point lying not strictly inside the white sheet and strictly outside of both black sheets. The first line of the input contains four integers x_1, y_1, x_2, y_2 (0 <= x_1 < x_2 <= 10^{6}, 0 <= y_1 < y_2 <= 10^{6}) -- coordinates of the bottom left and the top right corners of the white sheet. The second line of the input contains four integers x_3, y_3, x_4, y_4 (0 <= x_3 < x_4 <= 10^{6}, 0 <= y_3 < y_4 <= 10^{6}) -- coordinates of the bottom left and the top right corners of the first black sheet. The third line of the input contains four integers x_5, y_5, x_6, y_6 (0 <= x_5 < x_6 <= 10^{6}, 0 <= y_5 < y_6 <= 10^{6}) -- coordinates of the bottom left and the top right corners of the second black sheet. The sides of each sheet of paper are parallel (perpendicular) to the coordinate axes. If some part of the white sheet can be seen from the above after the two black sheets are placed, print "YES" (without quotes). Otherwise print "N'...

Tutorials

Codeforces Round #587 (Div. 3) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
61425412 avenio99 C Sept. 28, 2019, 1 p.m. OK Clang++17 Diagnostics TESTS 134 46 0 1500
68938619 vjudge4 C Jan. 16, 2020, 1:41 p.m. OK Clang++17 Diagnostics TESTS 134 46 0 1500
61313455 sunhuaze C Sept. 26, 2019, 10:10 a.m. OK Clang++17 Diagnostics TESTS 134 61 0 1500
61082625 ruban C Sept. 22, 2019, 4:59 p.m. OK Delphi TESTS 134 31 83558400 1500
68081376 palashitb C Jan. 2, 2020, 2:30 p.m. OK GNU C11 TESTS 134 31 0 1500
67582913 Trinadh724 C Dec. 25, 2019, 6:59 a.m. OK GNU C11 TESTS 134 31 0 1500
61044178 shenlihong C Sept. 22, 2019, 3:14 a.m. OK GNU C11 TESTS 134 31 0 1500
61067260 weastur C Sept. 22, 2019, 11:30 a.m. OK GNU C11 TESTS 134 31 0 1500
61086280 Rintarou_Okabe C Sept. 22, 2019, 6:29 p.m. OK GNU C11 TESTS 134 31 0 1500
61261608 MicroXie C Sept. 25, 2019, 11:44 a.m. OK GNU C11 TESTS 134 31 0 1500
61373548 AcThree C Sept. 27, 2019, 3:40 p.m. OK GNU C11 TESTS 134 31 0 1500
63620668 SkuLexX C Oct. 27, 2019, 10:39 p.m. OK GNU C11 TESTS 134 31 0 1500
65057615 vjudge2 C Nov. 15, 2019, 3:43 p.m. OK GNU C11 TESTS 134 31 0 1500
66679296 RajMaheshwari C Dec. 12, 2019, 12:31 p.m. OK GNU C11 TESTS 134 31 0 1500
69558572 lengzz C Jan. 26, 2020, 9:45 a.m. OK GNU C++11 TESTS 134 31 0 1500
69830750 theo2003 C Jan. 30, 2020, 10:24 a.m. OK GNU C++11 TESTS 134 31 0 1500
69840943 Magi C Jan. 30, 2020, 1:08 p.m. OK GNU C++11 TESTS 134 31 0 1500
69818646 xyjw C Jan. 30, 2020, 6:59 a.m. OK GNU C++11 TESTS 134 31 0 1500
69817905 xyjw C Jan. 30, 2020, 6:46 a.m. OK GNU C++11 TESTS 134 31 0 1500
69723290 k_KNIGHT C Jan. 29, 2020, 11:25 a.m. OK GNU C++11 TESTS 134 31 0 1500
69721920 xxqiam C Jan. 29, 2020, 11 a.m. OK GNU C++11 TESTS 134 31 0 1500
69688003 Nusratbek C Jan. 28, 2020, 5:40 p.m. OK GNU C++11 TESTS 134 31 0 1500
69596469 ds32 C Jan. 27, 2020, 5:05 a.m. OK GNU C++11 TESTS 134 31 0 1500
69563733 _Kema_ C Jan. 26, 2020, 11:37 a.m. OK GNU C++11 TESTS 134 31 0 1500
63278748 itsmihir C Oct. 24, 2019, 7:56 a.m. OK GNU C++14 TESTS 134 30 0 1500
62111646 rath772k C Oct. 8, 2019, 12:21 p.m. OK GNU C++14 TESTS 134 30 0 1500
61199973 unnat C Sept. 24, 2019, 7:20 a.m. OK GNU C++14 TESTS 134 30 0 1500
61034126 andwho C Sept. 21, 2019, 6:56 p.m. OK GNU C++14 TESTS 134 30 0 1500
65530259 tac C Nov. 22, 2019, 12:09 p.m. OK GNU C++14 TESTS 134 30 102400 1500
62834706 vinaylodha24 C Oct. 17, 2019, 9:36 p.m. OK GNU C++14 TESTS 134 30 204800 1500
69886627 Demon20 C Jan. 31, 2020, 8:27 a.m. OK GNU C++14 TESTS 134 31 0 1500
69667820 alirezarznia C Jan. 28, 2020, 11:59 a.m. OK GNU C++14 TESTS 134 31 0 1500
69663503 var_i C Jan. 28, 2020, 10:24 a.m. OK GNU C++14 TESTS 134 31 0 1500
69654533 pitsu C Jan. 28, 2020, 6:51 a.m. OK GNU C++14 TESTS 134 31 0 1500
67464663 Yaseen_Mollik C Dec. 23, 2019, 10:35 a.m. OK GNU C++17 TESTS 134 30 0 1500
61063819 __peossp C Sept. 22, 2019, 10:21 a.m. OK GNU C++17 TESTS 134 30 0 1500
69301228 DQYZ_HWK C Jan. 22, 2020, 1:52 p.m. OK GNU C++17 TESTS 134 31 0 1500
69444780 vuathanh05 C Jan. 24, 2020, 1:44 a.m. OK GNU C++17 TESTS 134 31 0 1500
69649443 Bear_2 C Jan. 28, 2020, 4:13 a.m. OK GNU C++17 TESTS 134 31 0 1500
69719589 Fortin C Jan. 29, 2020, 10:10 a.m. OK GNU C++17 TESTS 134 31 0 1500
69851578 jasonleft C Jan. 30, 2020, 3:47 p.m. OK GNU C++17 TESTS 134 31 0 1500
69858267 cyg_serban C Jan. 30, 2020, 5:39 p.m. OK GNU C++17 TESTS 134 31 0 1500
69865534 andrix007 C Jan. 30, 2020, 8:14 p.m. OK GNU C++17 TESTS 134 31 0 1500
69881960 error445 C Jan. 31, 2020, 6:42 a.m. OK GNU C++17 TESTS 134 31 0 1500
64674494 brosucks C Nov. 11, 2019, 7:28 a.m. OK Go TESTS 134 31 0 1500
62158256 sighduck C Oct. 8, 2019, 5:25 p.m. OK Go TESTS 134 31 0 1500
64673807 brosucks C Nov. 11, 2019, 7:11 a.m. OK Go TESTS 134 46 0 1500
61026375 NewIdea C Sept. 21, 2019, 4:07 p.m. OK Go TESTS 134 46 0 1500
61327687 ancv1990 C Sept. 26, 2019, 2:08 p.m. OK Go TESTS 134 61 0 1500
69251000 CodAR C Jan. 21, 2020, 2:16 p.m. OK Java 11 TESTS 134 202 0 1500
63101255 Amerisma C Oct. 22, 2019, 12:46 a.m. OK Java 8 TESTS 134 109 0 1500
62439731 Shivam_72 C Oct. 12, 2019, 6:52 p.m. OK Java 8 TESTS 134 109 0 1500
62141327 meghana180799 C Oct. 8, 2019, 3:47 p.m. OK Java 8 TESTS 134 109 0 1500
61885670 lizhijian C Oct. 5, 2019, 3:19 a.m. OK Java 8 TESTS 134 109 0 1500
61694264 gahou C Oct. 2, 2019, 6:33 a.m. OK Java 8 TESTS 134 109 0 1500
61413894 nasserahmed36 C Sept. 28, 2019, 9:36 a.m. OK Java 8 TESTS 134 109 0 1500
61233850 adeepgarg13 C Sept. 24, 2019, 5:25 p.m. OK Java 8 TESTS 134 109 0 1500
61098799 Agnimandur C Sept. 23, 2019, 5:27 a.m. OK Java 8 TESTS 134 109 0 1500
61084885 zekigurbuz C Sept. 22, 2019, 5:55 p.m. OK Java 8 TESTS 134 109 0 1500
61071048 mdazmat9 C Sept. 22, 2019, 12:46 p.m. OK Java 8 TESTS 134 109 0 1500
67466263 Killer45 C Dec. 23, 2019, 11:11 a.m. OK Kotlin TESTS 134 124 0 1500
61044141 Spheniscine C Sept. 22, 2019, 3:12 a.m. OK Kotlin TESTS 134 124 0 1500
61043742 Spheniscine C Sept. 22, 2019, 2:54 a.m. OK Kotlin TESTS 134 140 0 1500
61006044 Vesbat C Sept. 21, 2019, 11:12 a.m. OK Kotlin TESTS 134 156 102400 1500
61026114 vinhntndu C Sept. 21, 2019, 4:02 p.m. OK Kotlin TESTS 134 170 102400 1500
61036770 aurokkez C Sept. 21, 2019, 8:18 p.m. OK Mono C# TESTS 134 62 0 1500
61024767 vinhntndu C Sept. 21, 2019, 3:40 p.m. OK Mono C# TESTS 134 62 0 1500
61026071 vinhntndu C Sept. 21, 2019, 4:01 p.m. OK Mono C# TESTS 134 62 0 1500
63398040 Tan42 C Oct. 25, 2019, 5:19 p.m. OK Mono C# TESTS 134 62 0 1500
60990287 BIT C Sept. 21, 2019, 8:25 a.m. OK Mono C# TESTS 134 62 0 1500
60999056 faxse C Sept. 21, 2019, 9:03 a.m. OK Mono C# TESTS 134 62 0 1500
62431325 og.kostya C Oct. 12, 2019, 3:55 p.m. OK Mono C# TESTS 134 62 102400 1500
63779179 Onigatari C Oct. 30, 2019, 10:30 a.m. OK Mono C# TESTS 134 77 0 1500
61104380 nadilk C Sept. 23, 2019, 8:28 a.m. OK Mono C# TESTS 134 77 3584000 1500
62102981 NEvOl C Oct. 8, 2019, 9:45 a.m. OK Mono C# TESTS 134 77 3686400 1500
69085197 vjudge4 C Jan. 19, 2020, 8:02 a.m. OK MS C++ TESTS 134 31 0 1500
65260770 vjudge2 C Nov. 17, 2019, 2:58 p.m. OK MS C++ TESTS 134 31 0 1500
65329334 vjudge1 C Nov. 19, 2019, 4:46 a.m. OK MS C++ TESTS 134 31 0 1500
65444095 vjudge2 C Nov. 20, 2019, 3:20 p.m. OK MS C++ TESTS 134 31 0 1500
65444285 vjudge3 C Nov. 20, 2019, 3:23 p.m. OK MS C++ TESTS 134 31 0 1500
65476346 vjudge1 C Nov. 21, 2019, 10:13 a.m. OK MS C++ TESTS 134 31 0 1500
65531579 vjudge3 C Nov. 22, 2019, 12:39 p.m. OK MS C++ TESTS 134 31 0 1500
65623841 vjudge5 C Nov. 24, 2019, 7:11 a.m. OK MS C++ TESTS 134 31 0 1500
65919056 vjudge4 C Nov. 28, 2019, 3:41 p.m. OK MS C++ TESTS 134 31 0 1500
69057640 vjudge1 C Jan. 18, 2020, 3:08 p.m. OK MS C++ TESTS 134 31 0 1500
69036906 vjudge3 C Jan. 18, 2020, 9:14 a.m. OK MS C++ 2017 TESTS 134 31 0 1500
68872107 rhapHsody C Jan. 15, 2020, 3:36 p.m. OK MS C++ 2017 TESTS 134 31 0 1500
62897637 vjudge4 C Oct. 19, 2019, 1:51 a.m. OK MS C++ 2017 TESTS 134 31 0 1500
62671844 Karimbz C Oct. 16, 2019, 10:04 a.m. OK MS C++ 2017 TESTS 134 31 0 1500
62664639 LizaGordova C Oct. 16, 2019, 7:13 a.m. OK MS C++ 2017 TESTS 134 31 0 1500
62364211 GeKa C Oct. 11, 2019, 1:22 p.m. OK MS C++ 2017 TESTS 134 31 0 1500
62108035 vjudge4 C Oct. 8, 2019, 11:25 a.m. OK MS C++ 2017 TESTS 134 31 0 1500
62069913 Jiang142857 C Oct. 7, 2019, 4:25 p.m. OK MS C++ 2017 TESTS 134 31 0 1500
61946936 RONGER C Oct. 6, 2019, 12:33 a.m. OK MS C++ 2017 TESTS 134 31 0 1500
61747065 prateek3110 C Oct. 3, 2019, 1:11 a.m. OK MS C++ 2017 TESTS 134 31 0 1500
61024821 vinhntndu C Sept. 21, 2019, 3:41 p.m. OK PascalABC.NET TESTS 134 233 0 1500
66455475 torabey C Dec. 7, 2019, 12:59 p.m. OK PyPy 2 TESTS 134 124 0 1500
61038506 alexwice C Sept. 21, 2019, 9:29 p.m. OK PyPy 2 TESTS 134 124 0 1500
61848892 fortmax120 C Oct. 4, 2019, 12:08 p.m. OK PyPy 2 TESTS 134 140 0 1500
60998646 iamprayush C Sept. 21, 2019, 9:02 a.m. OK PyPy 2 TESTS 134 171 1536000 1500
61014957 anupamshah_ C Sept. 21, 2019, 1:09 p.m. OK PyPy 2 TESTS 134 202 2764800 1500
61020306 raj1307 C Sept. 21, 2019, 2:25 p.m. OK PyPy 2 TESTS 134 233 307200 1500
68328683 vyom_goel C Jan. 6, 2020, 5:51 p.m. OK PyPy 3 TESTS 134 140 0 1500
62544406 drain_you C Oct. 14, 2019, 5:41 a.m. OK PyPy 3 TESTS 134 140 0 1500
62113109 Andruwka C Oct. 8, 2019, 12:42 p.m. OK PyPy 3 TESTS 134 140 0 1500
61606667 manish.17 C Oct. 1, 2019, 12:53 p.m. OK PyPy 3 TESTS 134 140 0 1500
61107655 koptev C Sept. 23, 2019, 9:55 a.m. OK PyPy 3 TESTS 134 140 0 1500
61096995 macleChen C Sept. 23, 2019, 4:01 a.m. OK PyPy 3 TESTS 134 140 0 1500
61077281 wol C Sept. 22, 2019, 2:59 p.m. OK PyPy 3 TESTS 134 140 0 1500
61066639 bharathsathya C Sept. 22, 2019, 11:19 a.m. OK PyPy 3 TESTS 134 140 0 1500
61053536 i_wanna_v C Sept. 22, 2019, 7:20 a.m. OK PyPy 3 TESTS 134 140 0 1500
61046944 sam997 C Sept. 22, 2019, 4:56 a.m. OK PyPy 3 TESTS 134 140 0 1500
66523097 Celik01 C Dec. 9, 2019, 1:37 a.m. OK Python 2 TESTS 134 186 0 1500
61067980 Madhur1906 C Sept. 22, 2019, 11:43 a.m. OK Python 2 TESTS 134 265 0 1500
61537200 serkanozel C Sept. 30, 2019, 7:01 a.m. OK Python 3 TESTS 134 109 307200 1500
61239794 Arhimason C Sept. 24, 2019, 7:23 p.m. OK Python 3 TESTS 134 109 307200 1500
68564192 nealzane C Jan. 10, 2020, 8:10 p.m. OK Python 3 TESTS 134 109 512000 1500
62971530 vishnutheerthep C Oct. 20, 2019, 7:05 a.m. OK Python 3 TESTS 134 124 0 1500
61709572 azhukov C Oct. 2, 2019, 11:08 a.m. OK Python 3 TESTS 134 124 0 1500
61524482 yxu18yxu18 C Sept. 29, 2019, 9:05 p.m. OK Python 3 TESTS 134 124 0 1500
61267295 bit_2 C Sept. 25, 2019, 1:05 p.m. OK Python 3 TESTS 134 124 0 1500
61190163 Stephan C Sept. 24, 2019, 2:11 a.m. OK Python 3 TESTS 134 124 0 1500
61182789 Serghei C Sept. 23, 2019, 8:34 p.m. OK Python 3 TESTS 134 124 0 1500
61102466 eugalt C Sept. 23, 2019, 7:32 a.m. OK Python 3 TESTS 134 124 0 1500
60996015 koprus77 C Sept. 21, 2019, 8:51 a.m. OK Ruby TESTS 134 77 102400 1500
61036056 ValenKof C Sept. 21, 2019, 7:55 p.m. OK Rust TESTS 134 31 0 1500
61200176 chinmaykousik1 C Sept. 24, 2019, 7:25 a.m. OK Rust TESTS 134 46 0 1500

remove filters

Back to search problems