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 |
---|---|---|---|---|---|---|
1085 | Technocup 2019 - Elimination Round 4 | FINISHED | False | 7200 | 186251099 | Dec. 23, 2018, 1:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 5446 ) | C | Connect Three | PROGRAMMING | implementation math | 1600 |
B"The Squareland national forest is divided into equal 1 x 1 square plots aligned with north-south and east-west directions. Each plot can be uniquely described by integer Cartesian coordinates (x, y) of its south-west corner. Three friends, Alice, Bob, and Charlie are going to buy three distinct plots of land A, B, C in the forest. Initially, all plots in the forest (including the plots A, B, C ) are covered by trees. The friends want to visit each other, so they want to clean some of the plots from trees. After cleaning, one should be able to reach any of the plots A, B, C from any other one of those by moving through adjacent cleared plots. Two plots are adjacent if they share a side. Of course, the friends don't want to strain too much. Help them find out the smallest number of plots they need to clean from trees. The first line contains two integers x_A and y_A -- coordinates of the plot A ( 0 <= q x_A, y_A <= q 1000 ). The following two lines describe coordinates (x_B, y_B) and (x_C, y_C) of plots B and C respectively in the same format ( 0 <= q x_B, y_B, x_C, y_C <= q 1000 ). It is guaranteed that all three plots are distinct. On the first line print a single integer k -- the smallest number of plots needed to be cleaned from trees. The following k lines should contain coordinates of all plots needed to be cleaned. All k plots should be distinct. You can output the plots in any order. If there are multiple solutions, print any of them. The first example is shown on the picture in the legend. The second example is illustrated with the following image: "... |
Technocup 2019 — Elimination Round 4 + Codeforces Round 528: editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
47424178 | EgorShibaev | C | Dec. 23, 2018, 3:05 p.m. | OK | FPC | TESTS | 67 | 31 | 1740800 | 1600 | |
47423746 | AHTOH._. | C | Dec. 23, 2018, 3:03 p.m. | OK | FPC | TESTS | 67 | 31 | 4096000 | 1600 | |
47449727 | _Time_Lord_ | C | Dec. 24, 2018, 8:48 a.m. | OK | FPC | TESTS | 67 | 46 | 102400 | 1600 | |
47424293 | ayatsevich | C | Dec. 23, 2018, 3:06 p.m. | OK | FPC | TESTS | 67 | 46 | 6041600 | 1600 | |
51815560 | muhi1112 | C | March 25, 2019, 8:56 a.m. | OK | GNU C11 | TESTS | 67 | 31 | 16076800 | 1600 | |
47491338 | naeem4265 | C | Dec. 25, 2018, 12:19 p.m. | OK | GNU C11 | TESTS | 67 | 46 | 102400 | 1600 | |
68369179 | luogu_bot2 | C | Jan. 7, 2020, 5:05 p.m. | OK | GNU C++11 | TESTS | 67 | 31 | 0 | 1600 | |
63235484 | TianSunXing | C | Oct. 23, 2019, 12:10 p.m. | OK | GNU C++11 | TESTS | 67 | 31 | 0 | 1600 | |
63240088 | TianSunXing | C | Oct. 23, 2019, 1:14 p.m. | OK | GNU C++11 | TESTS | 67 | 31 | 0 | 1600 | |
63231671 | TianJianXing | C | Oct. 23, 2019, 11:09 a.m. | OK | GNU C++11 | TESTS | 67 | 31 | 0 | 1600 | |
62261978 | _dark_side | C | Oct. 10, 2019, 12:30 p.m. | OK | GNU C++11 | TESTS | 67 | 31 | 0 | 1600 | |
61963250 | programmisstt | C | Oct. 6, 2019, 8:06 a.m. | OK | GNU C++11 | TESTS | 67 | 31 | 0 | 1600 | |
59262735 | dado612 | C | Aug. 22, 2019, 9:17 a.m. | OK | GNU C++11 | TESTS | 67 | 31 | 0 | 1600 | |
58651914 | vjudge4 | C | Aug. 12, 2019, 7:47 a.m. | OK | GNU C++11 | TESTS | 67 | 31 | 0 | 1600 | |
64639738 | Nyse | C | Nov. 10, 2019, 12:43 p.m. | OK | GNU C++11 | TESTS | 67 | 31 | 0 | 1600 | |
63238788 | TianJianXing | C | Oct. 23, 2019, 12:56 p.m. | OK | GNU C++11 | TESTS | 67 | 31 | 0 | 1600 | |
48493550 | Vertex_ALX | C | Jan. 17, 2019, noon | OK | GNU C++14 | TESTS | 67 | 15 | 204800 | 1600 | |
53989444 | atckh | C | May 11, 2019, 11:31 a.m. | OK | GNU C++14 | TESTS | 67 | 30 | 0 | 1600 | |
47790686 | somebany | C | Dec. 31, 2018, 1:12 p.m. | OK | GNU C++14 | TESTS | 67 | 30 | 0 | 1600 | |
47493055 | wibbn | C | Dec. 25, 2018, 1:23 p.m. | OK | GNU C++14 | TESTS | 67 | 30 | 0 | 1600 | |
55110274 | AKS1996 | C | June 5, 2019, 5:50 a.m. | OK | GNU C++14 | TESTS | 67 | 30 | 0 | 1600 | |
47775647 | ZGalaxy | C | Dec. 31, 2018, 3:31 a.m. | OK | GNU C++14 | TESTS | 67 | 30 | 102400 | 1600 | |
47508138 | GordeySk | C | Dec. 26, 2018, 3:46 a.m. | OK | GNU C++14 | TESTS | 67 | 30 | 102400 | 1600 | |
47444082 | 35iq | C | Dec. 24, 2018, 4:48 a.m. | OK | GNU C++14 | TESTS | 67 | 30 | 204800 | 1600 | |
58712474 | Adamenko | C | Aug. 13, 2019, 12:47 p.m. | OK | GNU C++14 | TESTS | 67 | 30 | 307200 | 1600 | |
47490312 | hoiek12 | C | Dec. 25, 2018, 11:42 a.m. | OK | GNU C++14 | TESTS | 67 | 30 | 307200 | 1600 | |
54365918 | vjudge3 | C | May 19, 2019, 2:43 a.m. | OK | GNU C++17 | TESTS | 67 | 30 | 0 | 1600 | |
47551481 | ankitp544 | C | Dec. 27, 2018, 1:15 p.m. | OK | GNU C++17 | TESTS | 67 | 30 | 0 | 1600 | |
47433463 | miska924 | C | Dec. 23, 2018, 5:21 p.m. | OK | GNU C++17 | TESTS | 67 | 30 | 0 | 1600 | |
68131896 | Walker8 | C | Jan. 3, 2020, 5:19 p.m. | OK | GNU C++17 | TESTS | 67 | 30 | 0 | 1600 | |
56767779 | Hardik1107 | C | July 9, 2019, 7:24 p.m. | OK | GNU C++17 | TESTS | 67 | 30 | 0 | 1600 | |
47421249 | FluFFka | C | Dec. 23, 2018, 2:49 p.m. | OK | GNU C++17 | TESTS | 67 | 30 | 102400 | 1600 | |
56249546 | FoolDresden | C | June 29, 2019, 1:36 a.m. | OK | GNU C++17 | TESTS | 67 | 30 | 102400 | 1600 | |
48096581 | NoDesire | C | Jan. 8, 2019, 5:14 p.m. | OK | GNU C++17 | TESTS | 67 | 30 | 307200 | 1600 | |
48479258 | Nishihara | C | Jan. 17, 2019, 5:10 a.m. | OK | GNU C++17 | TESTS | 67 | 30 | 307200 | 1600 | |
48479264 | Nakagawa.Kanon | C | Jan. 17, 2019, 5:10 a.m. | OK | GNU C++17 | TESTS | 67 | 30 | 307200 | 1600 | |
52593036 | opqq | C | April 11, 2019, 7:05 a.m. | OK | Go | TESTS | 67 | 46 | 0 | 1600 | |
58502294 | adeepgarg13 | C | Aug. 9, 2019, 2:50 p.m. | OK | Java 8 | TESTS | 67 | 109 | 0 | 1600 | |
47422427 | iliamikado | C | Dec. 23, 2018, 2:56 p.m. | OK | Java 8 | TESTS | 67 | 124 | 0 | 1600 | |
63739211 | potatmen | C | Oct. 29, 2019, 4:20 p.m. | OK | Java 8 | TESTS | 67 | 124 | 0 | 1600 | |
50482640 | mikkk | C | Feb. 25, 2019, 9:52 a.m. | OK | Java 8 | TESTS | 67 | 124 | 0 | 1600 | |
49595481 | revanthreddy85 | C | Feb. 7, 2019, 3:28 p.m. | OK | Java 8 | TESTS | 67 | 124 | 0 | 1600 | |
49481541 | Gr8tor | C | Feb. 4, 2019, 11:15 p.m. | OK | Java 8 | TESTS | 67 | 124 | 0 | 1600 | |
47533232 | di_halt | C | Dec. 26, 2018, 9:15 p.m. | OK | Java 8 | TESTS | 67 | 124 | 0 | 1600 | |
47448919 | Anonymous | C | Dec. 24, 2018, 8:17 a.m. | OK | Java 8 | TESTS | 67 | 124 | 0 | 1600 | |
47430648 | 4mda4mda | C | Dec. 23, 2018, 4:10 p.m. | OK | Java 8 | TESTS | 67 | 124 | 0 | 1600 | |
47425183 | yanochka13x | C | Dec. 23, 2018, 3:11 p.m. | OK | Java 8 | TESTS | 67 | 124 | 0 | 1600 | |
47612154 | fr0st | C | Dec. 28, 2018, 8:42 a.m. | OK | Mono C# | TESTS | 67 | 61 | 204800 | 1600 | |
56459448 | og.kostya | C | July 3, 2019, 6:06 a.m. | OK | Mono C# | TESTS | 67 | 62 | 204800 | 1600 | |
49307099 | vjudge4 | C | Feb. 1, 2019, 6:13 a.m. | OK | MS C++ | TESTS | 67 | 31 | 0 | 1600 | |
54342918 | vjudge2 | C | May 18, 2019, 11:09 a.m. | OK | MS C++ | TESTS | 67 | 31 | 0 | 1600 | |
53956079 | vjudge2 | C | May 10, 2019, 11:56 a.m. | OK | MS C++ | TESTS | 67 | 31 | 0 | 1600 | |
57851653 | vjudge1 | C | July 27, 2019, 1:22 p.m. | OK | MS C++ | TESTS | 67 | 31 | 102400 | 1600 | |
47850628 | Gladius_Smerch | C | Jan. 2, 2019, 5:32 p.m. | OK | MS C++ | TESTS | 67 | 31 | 102400 | 1600 | |
53954254 | vjudge4 | C | May 10, 2019, 11:13 a.m. | OK | MS C++ | TESTS | 67 | 31 | 819200 | 1600 | |
49307875 | vjudge3 | C | Feb. 1, 2019, 6:29 a.m. | OK | MS C++ | TESTS | 67 | 31 | 1024000 | 1600 | |
53954997 | vjudge4 | C | May 10, 2019, 11:31 a.m. | OK | MS C++ | TESTS | 67 | 31 | 1024000 | 1600 | |
54345382 | vjudge4 | C | May 18, 2019, 12:11 p.m. | OK | MS C++ | TESTS | 67 | 31 | 1024000 | 1600 | |
47455115 | WoodMachine | C | Dec. 24, 2018, 12:06 p.m. | OK | MS C++ | TESTS | 67 | 31 | 3993600 | 1600 | |
50312849 | yp0413170331 | C | Feb. 22, 2019, 10:45 a.m. | OK | MS C++ 2017 | TESTS | 67 | 46 | 102400 | 1600 | |
64756406 | BpeMeHHa91_TryDHocTb | C | Nov. 12, 2019, 5:07 p.m. | OK | MS C++ 2017 | TESTS | 67 | 46 | 4300800 | 1600 | |
47719315 | OpKos | C | Dec. 30, 2018, 10:09 a.m. | OK | PascalABC.NET | TESTS | 67 | 77 | 512000 | 1600 | |
47422617 | Dispersion | C | Dec. 23, 2018, 2:57 p.m. | OK | PascalABC.NET | TESTS | 67 | 77 | 1433600 | 1600 | |
47427322 | Lososus | C | Dec. 23, 2018, 3:23 p.m. | OK | PascalABC.NET | TESTS | 67 | 93 | 512000 | 1600 | |
47425240 | gethtath | C | Dec. 23, 2018, 3:11 p.m. | OK | PascalABC.NET | TESTS | 67 | 93 | 512000 | 1600 | |
47416747 | l-_-l | C | Dec. 23, 2018, 2:27 p.m. | OK | PascalABC.NET | TESTS | 67 | 233 | 68096000 | 1600 | |
51944395 | mm944 | C | March 28, 2019, 4:04 p.m. | OK | PascalABC.NET | TESTS | 67 | 358 | 1024000 | 1600 | |
48214853 | mayakin | C | Jan. 11, 2019, 2:05 p.m. | OK | PHP | TESTS | 67 | 46 | 512000 | 1600 | |
47495469 | katalama | C | Dec. 25, 2018, 2:41 p.m. | OK | PHP | TESTS | 67 | 46 | 512000 | 1600 | |
47478519 | wangkan2001 | C | Dec. 25, 2018, 1:14 a.m. | OK | PyPy 2 | TESTS | 67 | 202 | 1843200 | 1600 | |
54346864 | vjudge5 | C | May 18, 2019, 12:53 p.m. | OK | PyPy 3 | TESTS | 67 | 140 | 819200 | 1600 | |
50068121 | vovik123 | C | Feb. 17, 2019, 3:59 p.m. | OK | PyPy 3 | TESTS | 67 | 155 | 1843200 | 1600 | |
47457533 | czasem_tak_trzeba | C | Dec. 24, 2018, 1:21 p.m. | OK | PyPy 3 | TESTS | 67 | 155 | 1945600 | 1600 | |
47424211 | FireFoxIl | C | Dec. 23, 2018, 3:05 p.m. | OK | PyPy 3 | TESTS | 67 | 155 | 2048000 | 1600 | |
47415394 | senchopens | C | Dec. 23, 2018, 2:21 p.m. | OK | PyPy 3 | TESTS | 67 | 155 | 2048000 | 1600 | |
47427362 | abichev | C | Dec. 23, 2018, 3:23 p.m. | OK | PyPy 3 | TESTS | 67 | 155 | 2150400 | 1600 | |
47422105 | lollihunter | C | Dec. 23, 2018, 2:54 p.m. | OK | PyPy 3 | TESTS | 67 | 155 | 2150400 | 1600 | |
47679843 | kgmkr00001 | C | Dec. 29, 2018, 11:30 a.m. | OK | PyPy 3 | TESTS | 67 | 155 | 2560000 | 1600 | |
47427527 | DoomsdayIS | C | Dec. 23, 2018, 3:24 p.m. | OK | PyPy 3 | TESTS | 67 | 171 | 2560000 | 1600 | |
68182050 | latter0206 | C | Jan. 4, 2020, 1:05 p.m. | OK | PyPy 3 | TESTS | 67 | 187 | 3584000 | 1600 | |
47454959 | water | C | Dec. 24, 2018, noon | OK | Python 2 | TESTS | 67 | 187 | 102400 | 1600 | |
47884021 | markovDPro | C | Jan. 3, 2019, 8:22 p.m. | OK | Python 2 | TESTS | 67 | 187 | 409600 | 1600 | |
47420824 | AlexZaitsev | C | Dec. 23, 2018, 2:47 p.m. | OK | Python 3 | TESTS | 67 | 109 | 307200 | 1600 | |
54345564 | vjudge4 | C | May 18, 2019, 12:16 p.m. | OK | Python 3 | TESTS | 67 | 109 | 409600 | 1600 | |
50254263 | galim665 | C | Feb. 20, 2019, 6:46 p.m. | OK | Python 3 | TESTS | 67 | 109 | 409600 | 1600 | |
48528553 | wxy1800011848 | C | Jan. 18, 2019, 10:23 a.m. | OK | Python 3 | TESTS | 67 | 109 | 409600 | 1600 | |
54347331 | vjudge1 | C | May 18, 2019, 1:05 p.m. | OK | Python 3 | TESTS | 67 | 109 | 512000 | 1600 | |
52289746 | CHADAD_OMAR | C | April 3, 2019, 11:44 p.m. | OK | Python 3 | TESTS | 67 | 109 | 512000 | 1600 | |
54347672 | vjudge5 | C | May 18, 2019, 1:15 p.m. | OK | Python 3 | TESTS | 67 | 109 | 614400 | 1600 | |
48027591 | abhishek.kr.met16 | C | Jan. 6, 2019, 10:07 a.m. | OK | Python 3 | TESTS | 67 | 109 | 614400 | 1600 | |
47427151 | angr_pukhlya | C | Dec. 23, 2018, 3:22 p.m. | OK | Python 3 | TESTS | 67 | 124 | 0 | 1600 | |
47519555 | nkorobkov | C | Dec. 26, 2018, 12:10 p.m. | OK | Python 3 | TESTS | 67 | 124 | 102400 | 1600 | |
47431688 | Dx18 | C | Dec. 23, 2018, 4:28 p.m. | OK | Rust | TESTS | 67 | 46 | 102400 | 1600 |
Back to search problems