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 |
---|---|---|---|---|---|---|
1767 | Educational Codeforces Round 140 (Rated for Div. 2) | FINISHED | False | 7200 | 66065063 | Dec. 16, 2022, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 20749 ) | A | Cut the Triangle | PROGRAMMING | geometry implementation |
B"You are given a non-degenerate triangle (a non-degenerate triangle is a triangle with positive area). The vertices of the triangle have coordinates (x_1, y_1) , (x_2, y_2) and (x_3, y_3) . You want to draw a straight line to cut the triangle into two non-degenerate triangles. Furthermore, the line you draw should be either horizontal or vertical. Can you draw the line to meet all the constraints? Here are some suitable ways to draw the line: However, these ways to draw the line are not suitable (the first line cuts the triangle into a triangle and a quadrangle; the second line doesn't cut the triangle at all; the third line is neither horizontal nor vertical): The first line contains one integer t ( 1 <= t <= 10^4 ) -- the number of test cases. Each test case consists of four lines. The first of them is empty. The i -th of the next three lines contains two integers x_i and y_i ( 1 <= x_i, y_i <= 10^8 ) -- the coordinates of the i -th vertex of the triangle. Additional constraint on the input: in each test case, the triangle formed by three vertices has positive area (i. xe2 x80 x89e. it is non-degenerate). For each test case, print YES if it is possible to cut the triangle according to the statement, or NO otherwise. You may print each letter in any case (YES, yes, Yes will all be recognized as positive answer, NO, no and nO will all be recognized as negative answer). "... |
110225 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
185539661 | singhkrishnajsr143 | A | Dec. 16, 2022, 5:06 p.m. | OK | C# 10 | TESTS | 5 | 108 | 3481600 | ||
185565918 | bluemegane | A | Dec. 16, 2022, 10:01 p.m. | OK | C# 8 | TESTS | 5 | 108 | 3072000 | ||
185549634 | Hacker_orwhat | A | Dec. 16, 2022, 6:22 p.m. | OK | Clang++17 Diagnostics | TESTS | 5 | 311 | 0 | ||
185533305 | 001754 | A | Dec. 16, 2022, 4:33 p.m. | OK | GNU C11 | TESTS | 5 | 46 | 0 | ||
185544210 | SP2003 | A | Dec. 16, 2022, 5:39 p.m. | OK | GNU C11 | TESTS | 5 | 46 | 0 | ||
185547894 | namanpahwa20 | A | Dec. 16, 2022, 6:07 p.m. | OK | GNU C11 | TESTS | 5 | 46 | 0 | ||
185547914 | Hasnat0006 | A | Dec. 16, 2022, 6:07 p.m. | OK | GNU C11 | TESTS | 5 | 46 | 0 | ||
185558731 | meh.reen | A | Dec. 16, 2022, 7:57 p.m. | OK | GNU C11 | TESTS | 5 | 46 | 0 | ||
185568386 | Aisha993 | A | Dec. 16, 2022, 11:12 p.m. | OK | GNU C11 | TESTS | 5 | 46 | 0 | ||
185526094 | Siifu | A | Dec. 16, 2022, 4:15 p.m. | OK | GNU C11 | TESTS | 5 | 46 | 0 | ||
185541277 | Yeasin_01 | A | Dec. 16, 2022, 5:16 p.m. | OK | GNU C11 | TESTS | 5 | 61 | 0 | ||
185551792 | Hoarfrost32 | A | Dec. 16, 2022, 6:42 p.m. | OK | GNU C11 | TESTS | 5 | 61 | 0 | ||
185534013 | aowaow | A | Dec. 16, 2022, 4:34 p.m. | OK | GNU C11 | TESTS | 5 | 61 | 0 | ||
185535639 | Commonrain | A | Dec. 16, 2022, 4:43 p.m. | OK | GNU C++14 | TESTS | 5 | 0 | 0 | ||
185571305 | Luban | A | Dec. 17, 2022, 1 a.m. | OK | GNU C++14 | TESTS | 5 | 0 | 0 | ||
185575846 | Kerror | A | Dec. 17, 2022, 3:13 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
185582767 | zhang_yue_yi | A | Dec. 17, 2022, 5:29 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
185582880 | Deamer | A | Dec. 17, 2022, 5:31 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
185584870 | satir_2000 | A | Dec. 17, 2022, 5:59 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
185575813 | wywldmfs | A | Dec. 17, 2022, 3:12 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
185574501 | shivampandeyvg | A | Dec. 17, 2022, 2:38 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
185574856 | tanker2 | A | Dec. 17, 2022, 2:48 a.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
185557571 | FatihSolak | A | Dec. 16, 2022, 7:43 p.m. | OK | GNU C++14 | TESTS | 5 | 15 | 0 | ||
185572885 | GreyCollar | A | Dec. 17, 2022, 1:44 a.m. | OK | GNU C++17 | TESTS | 5 | 0 | 0 | ||
185577248 | clumsy_7 | A | Dec. 17, 2022, 3:45 a.m. | OK | GNU C++17 | TESTS | 5 | 0 | 819200 | ||
185576599 | thb.014 | A | Dec. 17, 2022, 3:31 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
185578378 | kannan_16 | A | Dec. 17, 2022, 4:10 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
185579011 | anurag_5 | A | Dec. 17, 2022, 4:22 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
185581122 | raghav_2_y_7 | A | Dec. 17, 2022, 5:04 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
185584235 | Codificadora | A | Dec. 17, 2022, 5:51 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
185584539 | Hfuubigstrength | A | Dec. 17, 2022, 5:55 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
185584569 | Toilets | A | Dec. 17, 2022, 5:55 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
185582922 | capsparrow | A | Dec. 17, 2022, 5:32 a.m. | OK | GNU C++17 | TESTS | 5 | 15 | 0 | ||
185522108 | Azmee | A | Dec. 16, 2022, 4:04 p.m. | OK | GNU C++17 (64) | TESTS | 5 | 0 | 0 | ||
185584310 | RohitRKS | A | Dec. 17, 2022, 5:52 a.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
185580956 | Colblue | A | Dec. 17, 2022, 5:01 a.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
185576326 | Anbitiously | A | Dec. 17, 2022, 3:24 a.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
185574819 | Kano1224 | A | Dec. 17, 2022, 2:47 a.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
185560668 | Huntik_03 | A | Dec. 16, 2022, 8:22 p.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
185545300 | prazz_18 | A | Dec. 16, 2022, 5:47 p.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
185543879 | Awesome3.14 | A | Dec. 16, 2022, 5:36 p.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
185543325 | Beevo | A | Dec. 16, 2022, 5:31 p.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
185542812 | izlyforever | A | Dec. 16, 2022, 5:28 p.m. | OK | GNU C++17 (64) | TESTS | 5 | 15 | 0 | ||
185582685 | saurav_s00 | A | Dec. 17, 2022, 5:28 a.m. | OK | GNU C++20 (64) | TESTS | 5 | 0 | 0 | ||
185522141 | Aryan_codefc | A | Dec. 16, 2022, 4:04 p.m. | OK | GNU C++20 (64) | TESTS | 5 | 0 | 0 | ||
185527377 | secretpuc | A | Dec. 16, 2022, 4:19 p.m. | OK | GNU C++20 (64) | TESTS | 5 | 0 | 0 | ||
185528481 | cumming | A | Dec. 16, 2022, 4:21 p.m. | OK | GNU C++20 (64) | TESTS | 5 | 0 | 0 | ||
185529573 | AL-Muzahid | A | Dec. 16, 2022, 4:25 p.m. | OK | GNU C++20 (64) | TESTS | 5 | 0 | 0 | ||
185543413 | Eshqpreet_Singh | A | Dec. 16, 2022, 5:32 p.m. | OK | GNU C++20 (64) | TESTS | 5 | 0 | 0 | ||
185547226 | shalmali | A | Dec. 16, 2022, 6:02 p.m. | OK | GNU C++20 (64) | TESTS | 5 | 0 | 0 | ||
185549639 | Georgegg | A | Dec. 16, 2022, 6:22 p.m. | OK | GNU C++20 (64) | TESTS | 5 | 0 | 0 | ||
185573391 | taintedsilk | A | Dec. 17, 2022, 2:01 a.m. | OK | GNU C++20 (64) | TESTS | 5 | 0 | 0 | ||
185569943 | __Mashiro | A | Dec. 17, 2022, 12:09 a.m. | OK | GNU C++20 (64) | TESTS | 5 | 0 | 90521600 | ||
185525755 | _shrish_ | A | Dec. 16, 2022, 4:14 p.m. | OK | Go | TESTS | 5 | 46 | 1126400 | ||
185570664 | pepradere | A | Dec. 17, 2022, 12:35 a.m. | OK | Go | TESTS | 5 | 46 | 1843200 | ||
185530833 | lak_pnd | A | Dec. 16, 2022, 4:28 p.m. | OK | Java 11 | TESTS | 5 | 171 | 0 | ||
185525823 | saurabh_kh | A | Dec. 16, 2022, 4:14 p.m. | OK | Java 11 | TESTS | 5 | 186 | 0 | ||
185540896 | Yousef_Badr | A | Dec. 16, 2022, 5:14 p.m. | OK | Java 11 | TESTS | 5 | 187 | 0 | ||
185537120 | __Serendipity | A | Dec. 16, 2022, 4:51 p.m. | OK | Java 11 | TESTS | 5 | 187 | 0 | ||
185525975 | dheerajchhatanidc | A | Dec. 16, 2022, 4:15 p.m. | OK | Java 11 | TESTS | 5 | 187 | 0 | ||
185551810 | OmarKenawi | A | Dec. 16, 2022, 6:42 p.m. | OK | Java 11 | TESTS | 5 | 202 | 0 | ||
185523398 | doomhammer. | A | Dec. 16, 2022, 4:08 p.m. | OK | Java 11 | TESTS | 5 | 202 | 0 | ||
185547022 | procasteenator | A | Dec. 16, 2022, 6:01 p.m. | OK | Java 11 | TESTS | 5 | 217 | 0 | ||
185536058 | shubham202012 | A | Dec. 16, 2022, 4:45 p.m. | OK | Java 11 | TESTS | 5 | 249 | 0 | ||
185577166 | x21svage | A | Dec. 17, 2022, 3:44 a.m. | OK | Java 11 | TESTS | 5 | 264 | 0 | ||
185584785 | Badass_Nemesis | A | Dec. 17, 2022, 5:57 a.m. | OK | Java 17 | TESTS | 5 | 218 | 716800 | ||
185584221 | Kaju_ | A | Dec. 17, 2022, 5:51 a.m. | OK | Java 17 | TESTS | 5 | 233 | 1228800 | ||
185549898 | harman1148 | A | Dec. 16, 2022, 6:25 p.m. | OK | Java 17 | TESTS | 5 | 264 | 1024000 | ||
185573535 | MThiaweng | A | Dec. 17, 2022, 2:07 a.m. | OK | Java 17 | TESTS | 5 | 265 | 307200 | ||
185528002 | himanshu.hsk02 | A | Dec. 16, 2022, 4:20 p.m. | OK | Java 17 | TESTS | 5 | 280 | 716800 | ||
185564321 | abdulazizms | A | Dec. 16, 2022, 9:26 p.m. | OK | Java 17 | TESTS | 5 | 295 | 921600 | ||
185539473 | albertmei | A | Dec. 16, 2022, 5:05 p.m. | OK | Java 17 | TESTS | 5 | 311 | 614400 | ||
185543006 | akshayraut8080 | A | Dec. 16, 2022, 5:29 p.m. | OK | Java 17 | TESTS | 5 | 311 | 1331200 | ||
185526663 | piyushaggarwal20903 | A | Dec. 16, 2022, 4:17 p.m. | OK | Java 17 | TESTS | 5 | 327 | 512000 | ||
185527425 | amit_rcciit | A | Dec. 16, 2022, 4:19 p.m. | OK | Java 17 | TESTS | 5 | 342 | 1331200 | ||
185538242 | mohamedhassan_c | A | Dec. 16, 2022, 4:57 p.m. | OK | Java 8 | TESTS | 5 | 93 | 0 | ||
185546584 | avinendra08 | A | Dec. 16, 2022, 5:57 p.m. | OK | Java 8 | TESTS | 5 | 108 | 0 | ||
185582190 | Juhaied_nabid | A | Dec. 17, 2022, 5:20 a.m. | OK | Java 8 | TESTS | 5 | 156 | 0 | ||
185579893 | Zahid_Hasan_Sahin | A | Dec. 17, 2022, 4:40 a.m. | OK | Java 8 | TESTS | 5 | 171 | 0 | ||
185577039 | ArcadioN | A | Dec. 17, 2022, 3:41 a.m. | OK | Java 8 | TESTS | 5 | 171 | 0 | ||
185540564 | toufique_husein | A | Dec. 16, 2022, 5:12 p.m. | OK | Java 8 | TESTS | 5 | 187 | 0 | ||
185532042 | trycodeforfun111 | A | Dec. 16, 2022, 4:30 p.m. | OK | Java 8 | TESTS | 5 | 187 | 0 | ||
185538070 | Abhinav__hadole | A | Dec. 16, 2022, 4:56 p.m. | OK | Java 8 | TESTS | 5 | 249 | 0 | ||
185539982 | Horcrux_8 | A | Dec. 16, 2022, 5:08 p.m. | OK | Java 8 | TESTS | 5 | 264 | 0 | ||
185537930 | Dr.rabi3 | A | Dec. 16, 2022, 4:56 p.m. | OK | Java 8 | TESTS | 5 | 264 | 0 | ||
185528721 | AlaaElnily | A | Dec. 16, 2022, 4:22 p.m. | OK | JavaScript | TESTS | 5 | 77 | 1228800 | ||
185523504 | lkh4317 | A | Dec. 16, 2022, 4:08 p.m. | OK | MS C++ 2017 | TESTS | 5 | 46 | 0 | ||
185528209 | VasilisaGal | A | Dec. 16, 2022, 4:21 p.m. | OK | MS C++ 2017 | TESTS | 5 | 77 | 0 | ||
185531927 | thePacific | A | Dec. 16, 2022, 4:30 p.m. | OK | MS C++ 2017 | TESTS | 5 | 77 | 204800 | ||
185573666 | nik007suthar | A | Dec. 17, 2022, 2:12 a.m. | OK | MS C++ 2017 | TESTS | 5 | 78 | 0 | ||
185537174 | M_elbialy | A | Dec. 16, 2022, 4:51 p.m. | OK | MS C++ 2017 | TESTS | 5 | 92 | 0 | ||
185583788 | lonelyness | A | Dec. 17, 2022, 5:44 a.m. | OK | MS C++ 2017 | TESTS | 5 | 93 | 0 | ||
185573292 | Laxmankumar | A | Dec. 17, 2022, 1:57 a.m. | OK | MS C++ 2017 | TESTS | 5 | 93 | 0 | ||
185563470 | shorya1835 | A | Dec. 16, 2022, 9:08 p.m. | OK | MS C++ 2017 | TESTS | 5 | 93 | 0 | ||
185525392 | Prachiiii14 | A | Dec. 16, 2022, 4:13 p.m. | OK | MS C++ 2017 | TESTS | 5 | 93 | 512000 | ||
185527221 | AlexandraV | A | Dec. 16, 2022, 4:18 p.m. | OK | MS C++ 2017 | TESTS | 5 | 108 | 0 | ||
185525313 | Orazgeldi | A | Dec. 16, 2022, 4:13 p.m. | OK | PascalABC.NET | TESTS | 5 | 795 | 102400 | ||
185557953 | rsFalse | A | Dec. 16, 2022, 7:48 p.m. | OK | Perl | TESTS | 5 | 46 | 0 | ||
185574427 | hxu10 | A | Dec. 17, 2022, 2:35 a.m. | OK | PyPy 3 | TESTS | 5 | 186 | 9420800 | ||
185545181 | WalrusRamen21 | A | Dec. 16, 2022, 5:46 p.m. | OK | PyPy 3 | TESTS | 5 | 529 | 9318400 | ||
185578158 | Barde3089 | A | Dec. 17, 2022, 4:05 a.m. | OK | PyPy 3 | TESTS | 5 | 577 | 9420800 | ||
185543371 | Abu_Bakar_Siddik | A | Dec. 16, 2022, 5:32 p.m. | OK | PyPy 3 | TESTS | 5 | 592 | 10035200 | ||
185528387 | Rajeev_29 | A | Dec. 16, 2022, 4:21 p.m. | OK | PyPy 3 | TESTS | 5 | 763 | 9932800 | ||
185537016 | fntfaizan | A | Dec. 16, 2022, 4:50 p.m. | OK | PyPy 3 | TESTS | 5 | 841 | 10137600 | ||
185563614 | oneku | A | Dec. 16, 2022, 9:11 p.m. | OK | PyPy 3-64 | TESTS | 5 | 77 | 4403200 | ||
185563490 | oneku | A | Dec. 16, 2022, 9:09 p.m. | OK | PyPy 3-64 | TESTS | 5 | 78 | 4608000 | ||
185563431 | oneku | A | Dec. 16, 2022, 9:08 p.m. | OK | PyPy 3-64 | TESTS | 5 | 93 | 4608000 | ||
185559572 | hosamcv0 | A | Dec. 16, 2022, 8:07 p.m. | OK | PyPy 3-64 | TESTS | 5 | 93 | 8192000 | ||
185574312 | hkwu6013 | A | Dec. 17, 2022, 2:32 a.m. | OK | PyPy 3-64 | TESTS | 5 | 109 | 9728000 | ||
185561238 | Anti-Neutrino | A | Dec. 16, 2022, 8:31 p.m. | OK | PyPy 3-64 | TESTS | 5 | 139 | 8908800 | ||
185544748 | AfsanHabib_CP | A | Dec. 16, 2022, 5:43 p.m. | OK | PyPy 3-64 | TESTS | 5 | 139 | 9625600 | ||
185563468 | oneku | A | Dec. 16, 2022, 9:08 p.m. | OK | PyPy 3-64 | TESTS | 5 | 155 | 4403200 | ||
185550371 | mayank35 | A | Dec. 16, 2022, 6:28 p.m. | OK | PyPy 3-64 | TESTS | 5 | 155 | 10137600 | ||
185575109 | zjcccc | A | Dec. 17, 2022, 2:54 a.m. | OK | PyPy 3-64 | TESTS | 5 | 170 | 10752000 | ||
185530711 | Air_Astana | A | Dec. 16, 2022, 4:27 p.m. | OK | Python 3 | TESTS | 5 | 108 | 2355200 | ||
185541798 | KD008 | A | Dec. 16, 2022, 5:20 p.m. | OK | Python 3 | TESTS | 5 | 124 | 0 | ||
185566903 | sham_mayank | A | Dec. 16, 2022, 10:27 p.m. | OK | Python 3 | TESTS | 5 | 140 | 0 | ||
185584743 | 2009amit0509 | A | Dec. 17, 2022, 5:57 a.m. | OK | Python 3 | TESTS | 5 | 155 | 0 | ||
185578698 | Deepak_0123 | A | Dec. 17, 2022, 4:16 a.m. | OK | Python 3 | TESTS | 5 | 155 | 0 | ||
185574291 | sumit417 | A | Dec. 17, 2022, 2:31 a.m. | OK | Python 3 | TESTS | 5 | 155 | 0 | ||
185560162 | little_brown_girl | A | Dec. 16, 2022, 8:16 p.m. | OK | Python 3 | TESTS | 5 | 155 | 0 | ||
185556202 | eugalt | A | Dec. 16, 2022, 7:28 p.m. | OK | Python 3 | TESTS | 5 | 155 | 0 | ||
185554790 | eugalt | A | Dec. 16, 2022, 7:12 p.m. | OK | Python 3 | TESTS | 5 | 155 | 0 | ||
185541589 | nivi04 | A | Dec. 16, 2022, 5:18 p.m. | OK | Python 3 | TESTS | 5 | 155 | 0 | ||
185541984 | mdmundo | A | Dec. 16, 2022, 5:22 p.m. | OK | Rust 2021 | TESTS | 5 | 15 | 0 | ||
185541655 | mdmundo | A | Dec. 16, 2022, 5:19 p.m. | OK | Rust 2021 | TESTS | 5 | 15 | 2150400 | ||
185540267 | mdmundo | A | Dec. 16, 2022, 5:10 p.m. | OK | Rust 2021 | TESTS | 5 | 15 | 2150400 | ||
185580565 | cottoncotton | A | Dec. 17, 2022, 4:53 a.m. | OK | Rust 2021 | TESTS | 5 | 31 | 67276800 |
Back to search problems