Codeforces Round 203 (Div. 2)

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
350 Codeforces Round 203 (Div. 2) FINISHED False 7200 357056997 Oct. 1, 2013, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 6590 ) C Bombs PROGRAMMING greedy implementation sortings 1600

B"You've got a robot, its task is destroying bombs on a square plane. Specifically, the square plane contains n bombs, the i-th bomb is at point with coordinates (xi, xe2 x80 x89yi). We know that no two bombs are at the same point and that no bomb is at point with coordinates (0, xe2 x80 x890). Initially, the robot is at point with coordinates (0, xe2 x80 x890). Also, let's mark the robot's current position as (x, xe2 x80 x89y). In order to destroy all the bombs, the robot can perform three types of operations: Help the robot and find the shortest possible sequence of operations he can perform to destroy all bombs on the coordinate plane. The first line contains a single integer n (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) -- the number of bombs on the coordinate plane. Next n lines contain two integers each. The i-th line contains numbers (xi, xe2 x80 x89yi) ( xe2 x80 x89- xe2 x80 x89109 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89xi, xe2 x80 x89yi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109) -- the coordinates of the i-th bomb. It is guaranteed that no two bombs are located at the same point and no bomb is at point (0, xe2 x80 x890). In a single line print a single integer k -- the minimum number of operations needed to destroy all bombs. On the next lines print the descriptions of these k operations. If there are multiple sequences, you can print any of them. It is guaranteed that there is the solution where k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106."...

Tutorials

Editorial Codeforces Round #203 (Div. 2)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
57977409 vjudge3 C July 30, 2019, 8:10 a.m. OK Clang++17 Diagnostics TESTS 35 1092 1024000 1600
51161133 aditya_sheth C March 11, 2019, 12:26 p.m. OK Clang++17 Diagnostics TESTS 35 1122 1228800 1600
47779302 nilesh8757 C Dec. 31, 2018, 6:56 a.m. OK Clang++17 Diagnostics TESTS 35 1778 73113600 1600
47779408 nilesh8757 C Dec. 31, 2018, 7 a.m. OK Clang++17 Diagnostics TESTS 35 1808 73113600 1600
4634603 ZOTAC89 C Oct. 1, 2013, 9:34 p.m. OK Delphi TESTS 35 156 1228800 1600
4653938 igor-samsonov97 C Oct. 4, 2013, 4:43 a.m. OK Delphi TESTS 35 218 819200 1600
4634666 ZOTAC89 C Oct. 1, 2013, 9:50 p.m. OK Delphi TESTS 35 218 1228800 1600
4634658 ZOTAC89 C Oct. 1, 2013, 9:48 p.m. OK Delphi TESTS 35 218 1228800 1600
4629804 Ramp C Oct. 1, 2013, 5:08 p.m. OK Delphi TESTS 35 218 10240000 1600
4631066 Misha100896 C Oct. 1, 2013, 5:23 p.m. OK Delphi TESTS 35 248 7987200 1600
4628562 IgorL C Oct. 1, 2013, 4:53 p.m. OK Delphi TESTS 35 280 819200 1600
40989503 ReaLNero1 C July 30, 2018, 10:59 p.m. OK Delphi TESTS 35 310 1228800 1600
4632473 Casio C Oct. 1, 2013, 6:07 p.m. OK Delphi TESTS 35 468 32870400 1600
4628762 ruban C Oct. 1, 2013, 4:55 p.m. OK Delphi TESTS 35 810 9420800 1600
4922062 minthe C Oct. 28, 2013, 4:20 p.m. OK FPC TESTS 35 327 1228800 1600
4634654 ZOTAC89 C Oct. 1, 2013, 9:47 p.m. OK FPC TESTS 35 436 1228800 1600
4634593 ZOTAC89 C Oct. 1, 2013, 9:33 p.m. OK FPC TESTS 35 498 1228800 1600
4629332 vubinh C Oct. 1, 2013, 5:02 p.m. OK FPC TESTS 35 498 1228800 1600
4626798 VitalijD C Oct. 1, 2013, 4:32 p.m. OK FPC TESTS 35 498 1331200 1600
4628409 Stratonov C Oct. 1, 2013, 4:51 p.m. OK FPC TESTS 35 498 18022400 1600
4633361 chessmaster44 C Oct. 1, 2013, 6:53 p.m. OK FPC TESTS 35 530 819200 1600
4624681 mr.deidara C Oct. 1, 2013, 4:06 p.m. OK FPC TESTS 35 530 819200 1600
4633253 babameme C Oct. 1, 2013, 6:44 p.m. OK FPC TESTS 35 530 921600 1600
4625523 San_Sany4 C Oct. 1, 2013, 4:16 p.m. OK FPC TESTS 35 530 921600 1600
4639086 nttld C Oct. 2, 2013, 10:11 a.m. OK GNU C TESTS 35 280 2457600 1600
4632748 Dacoit C Oct. 1, 2013, 6:18 p.m. OK GNU C TESTS 35 342 819200 1600
20806483 rainboy C Sept. 21, 2016, 9:30 p.m. OK GNU C TESTS 35 374 819200 1600
20799731 rainboy C Sept. 21, 2016, 3:41 p.m. OK GNU C TESTS 35 374 819200 1600
5456234 wobwab007 C Dec. 17, 2013, 3:43 p.m. OK GNU C TESTS 35 374 819200 1600
4626333 meridional C Oct. 1, 2013, 4:26 p.m. OK GNU C TESTS 35 374 819200 1600
4624995 NoSoul C Oct. 1, 2013, 4:10 p.m. OK GNU C TESTS 35 374 819200 1600
18758314 shreyam4 C June 27, 2016, 9:07 p.m. OK GNU C TESTS 35 374 1638400 1600
4633450 thunderking C Oct. 1, 2013, 7:01 p.m. OK GNU C TESTS 35 374 2457600 1600
4629851 muller C Oct. 1, 2013, 5:09 p.m. OK GNU C TESTS 35 374 2457600 1600
4929734 simple95 C Oct. 29, 2013, 3:28 p.m. OK GNU C++ TESTS 35 187 1228800 1600
4915646 nzamulov C Oct. 27, 2013, 6:32 p.m. OK GNU C++ TESTS 35 218 2457600 1600
4918655 StevenKlose C Oct. 28, 2013, 10:01 a.m. OK GNU C++ TESTS 35 234 1228800 1600
4625163 BekzhanKassenov C Oct. 1, 2013, 4:12 p.m. OK GNU C++ TESTS 35 248 14540800 1600
4925804 WinApi C Oct. 28, 2013, 10:52 p.m. OK GNU C++ TESTS 35 265 1638400 1600
4647369 ng420 C Oct. 3, 2013, 7:44 a.m. OK GNU C++ TESTS 35 280 819200 1600
5396374 asterius C Dec. 9, 2013, 10:49 a.m. OK GNU C++ TESTS 35 280 1228800 1600
4656364 roxkiller C Oct. 4, 2013, 11:31 a.m. OK GNU C++ TESTS 35 280 2252800 1600
4628544 utsav_deep C Oct. 1, 2013, 4:52 p.m. OK GNU C++ TESTS 35 280 4812800 1600
4628267 CePeter C Oct. 1, 2013, 4:49 p.m. OK GNU C++ TESTS 35 280 6348800 1600
5666074 nic11 C Jan. 12, 2014, 3:17 p.m. OK GNU C++0x TESTS 35 248 14540800 1600
4626786 cacophonix C Oct. 1, 2013, 4:32 p.m. OK GNU C++0x TESTS 35 248 15155200 1600
4623719 alex_world C Oct. 1, 2013, 3:53 p.m. OK GNU C++0x TESTS 35 280 819200 1600
7049199 kllp C July 8, 2014, 7:24 p.m. OK GNU C++0x TESTS 35 280 2969600 1600
4636094 virtualight C Oct. 2, 2013, 4:24 a.m. OK GNU C++0x TESTS 35 280 14745600 1600
4633233 dmitry.s C Oct. 1, 2013, 6:43 p.m. OK GNU C++0x TESTS 35 312 819200 1600
4652045 savinov C Oct. 3, 2013, 7:46 p.m. OK GNU C++0x TESTS 35 312 2252800 1600
4633209 dmitry.s C Oct. 1, 2013, 6:42 p.m. OK GNU C++0x TESTS 35 342 819200 1600
4627732 dmitry.s C Oct. 1, 2013, 4:43 p.m. OK GNU C++0x TESTS 35 342 819200 1600
10344703 Branimir C March 19, 2015, 3:39 a.m. OK GNU C++0x TESTS 35 342 1228800 1600
41650398 alexey.orlov C Aug. 16, 2018, 11:28 a.m. OK GNU C11 TESTS 35 1432 1228800 1600
43392725 dhruv1998 C Sept. 25, 2018, 2:44 a.m. OK GNU C++11 TESTS 35 154 1024000 1600
27533691 rprtr258 C June 3, 2017, 1:42 a.m. OK GNU C++11 TESTS 35 154 1638400 1600
20491674 I_See_You C Sept. 10, 2016, 7:01 a.m. OK GNU C++11 TESTS 35 218 11878400 1600
52634107 racoon C April 12, 2019, 8:56 a.m. OK GNU C++11 TESTS 35 280 2048000 1600
59932425 Fortran_must_add_too C Sept. 3, 2019, 7:52 a.m. OK GNU C++11 TESTS 35 280 2764800 1600
24578023 aka.Foda C Feb. 10, 2017, 8:38 p.m. OK GNU C++11 TESTS 35 280 16076800 1600
57975110 vjudge4 C July 30, 2019, 7:25 a.m. OK GNU C++11 TESTS 35 310 1228800 1600
56705421 Jabaiy_Mysyq C July 8, 2019, 10:54 a.m. OK GNU C++11 TESTS 35 310 1228800 1600
52283826 basel-99 C April 3, 2019, 6:32 p.m. OK GNU C++11 TESTS 35 310 1228800 1600
63665451 mj101 C Oct. 28, 2019, 3:09 p.m. OK GNU C++11 TESTS 35 310 1228800 1600
42248697 lokpati C Aug. 29, 2018, 4:59 p.m. OK GNU C++14 TESTS 35 278 819200 1600
54093985 devanshagrawal C May 14, 2019, 12:12 p.m. OK GNU C++14 TESTS 35 278 1228800 1600
32535383 thenoobestever C Nov. 21, 2017, 8:34 p.m. OK GNU C++14 TESTS 35 278 2355200 1600
59552819 jain_98aayush C Aug. 27, 2019, 4:19 a.m. OK GNU C++14 TESTS 35 280 819200 1600
60744727 J.Ruegg C Sept. 18, 2019, 12:04 a.m. OK GNU C++14 TESTS 35 280 819200 1600
58570002 Captain_Knuckles C Aug. 11, 2019, 9:42 a.m. OK GNU C++14 TESTS 35 280 1228800 1600
51585513 rahulrawat1210 C March 20, 2019, 4:11 p.m. OK GNU C++14 TESTS 35 280 1228800 1600
48959157 anshijain6 C Jan. 26, 2019, 5:54 a.m. OK GNU C++14 TESTS 35 280 1228800 1600
47319824 matumbaman C Dec. 21, 2018, 6:58 a.m. OK GNU C++14 TESTS 35 280 1228800 1600
59879762 kediarewant C Sept. 2, 2019, 3:47 a.m. OK GNU C++14 TESTS 35 280 1228800 1600
44065007 khalil_2017 C Oct. 10, 2018, 8:42 a.m. OK GNU C++17 TESTS 35 248 4505600 1600
56787484 cang_qiong C July 10, 2019, 9:03 a.m. OK GNU C++17 TESTS 35 280 819200 1600
46011439 mantis_0604 C Nov. 20, 2018, 8:47 p.m. OK GNU C++17 TESTS 35 280 1228800 1600
48542620 Ajinkya7 C Jan. 18, 2019, 5:31 p.m. OK GNU C++17 TESTS 35 280 1433600 1600
48435384 theektasinha C Jan. 15, 2019, 8 p.m. OK GNU C++17 TESTS 35 280 1433600 1600
66308237 hellomoto C Dec. 5, 2019, 10:21 a.m. OK GNU C++17 TESTS 35 280 2048000 1600
56787508 vjudge1 C July 10, 2019, 9:04 a.m. OK GNU C++17 TESTS 35 310 819200 1600
68962229 lighteningzjc C Jan. 17, 2020, 2:06 a.m. OK GNU C++17 TESTS 35 310 819200 1600
56777218 vjudge3 C July 10, 2019, 3:29 a.m. OK GNU C++17 TESTS 35 310 819200 1600
56532314 Salman69 C July 4, 2019, 8:37 p.m. OK GNU C++17 TESTS 35 310 819200 1600
4630085 cojna C Oct. 1, 2013, 5:11 p.m. OK Haskell TESTS 35 810 31232000 1600
4628838 inyono C Oct. 1, 2013, 4:56 p.m. OK Haskell TESTS 35 904 17100800 1600
4643217 vfleaking C Oct. 2, 2013, 4:18 p.m. OK Haskell TESTS 35 1060 57958400 1600
4627595 autotaker C Oct. 1, 2013, 4:41 p.m. OK Haskell TESTS 35 1560 86323200 1600
4627573 DimsFromDergachy C Oct. 1, 2013, 4:41 p.m. OK Haskell TESTS 35 1590 46387200 1600
4629256 Darko C Oct. 1, 2013, 5:01 p.m. OK Java 6 TESTS 35 248 102400 1600
7485612 Duy C Aug. 16, 2014, 4:04 p.m. OK Java 6 TESTS 35 530 52940800 1600
4628418 karan173 C Oct. 1, 2013, 4:51 p.m. OK Java 6 TESTS 35 560 307200 1600
5352614 heekyu83 C Dec. 5, 2013, 8:26 a.m. OK Java 6 TESTS 35 592 512000 1600
7323701 khoahoc1024 C Aug. 2, 2014, 2:09 a.m. OK Java 6 TESTS 35 592 34508800 1600
5352596 heekyu83 C Dec. 5, 2013, 8:22 a.m. OK Java 6 TESTS 35 624 409600 1600
4629608 QTKaze C Oct. 1, 2013, 5:06 p.m. OK Java 6 TESTS 35 624 37273600 1600
6894260 maxkvant C June 15, 2014, 12:02 p.m. OK Java 6 TESTS 35 654 307200 1600
4624397 Vbifial C Oct. 1, 2013, 4:02 p.m. OK Java 6 TESTS 35 654 307200 1600
6298181 xiaowuc1 C April 8, 2014, 12:09 a.m. OK Java 6 TESTS 35 654 512000 1600
5634615 DoublePointer C Jan. 7, 2014, 8:34 p.m. OK Java 7 TESTS 35 436 409600 1600
4636211 AZerone C Oct. 2, 2013, 4:48 a.m. OK Java 7 TESTS 35 436 512000 1600
6684733 vvenkai C May 23, 2014, 4:30 a.m. OK Java 7 TESTS 35 466 35840000 1600
4630896 KarimElSheikh C Oct. 1, 2013, 5:21 p.m. OK Java 7 TESTS 35 468 1126400 1600
5355079 tomdmitriev C Dec. 5, 2013, 3:07 p.m. OK Java 7 TESTS 35 468 43315200 1600
4624621 Jovfer C Oct. 1, 2013, 4:05 p.m. OK Java 7 TESTS 35 498 38195200 1600
12026337 Hartha C July 13, 2015, 7:36 a.m. OK Java 7 TESTS 35 498 42905600 1600
8354370 alibaba C Oct. 22, 2014, 5:09 p.m. OK Java 7 TESTS 35 498 43417600 1600
7515374 TranCongDuy C Aug. 20, 2014, 11:01 a.m. OK Java 7 TESTS 35 498 52940800 1600
7652812 vatm1010 C Aug. 31, 2014, 9:50 a.m. OK Java 7 TESTS 35 528 43315200 1600
63937948 johnny16 C Oct. 31, 2019, 4:30 p.m. OK Java 8 TESTS 35 466 39116800 1600
60585382 TheSawan C Sept. 14, 2019, 8:49 p.m. OK Java 8 TESTS 35 498 37888000 1600
15344592 JohnnyJi C Jan. 14, 2016, 1:14 p.m. OK Java 8 TESTS 35 528 35328000 1600
51874674 Mr.Inconsistent C March 26, 2019, 6:56 p.m. OK Java 8 TESTS 35 560 0 1600
46177945 dmitriy0712 C Nov. 24, 2018, 4:12 p.m. OK Java 8 TESTS 35 560 0 1600
16720158 rahulkhairwar C March 14, 2016, 6:55 p.m. OK Java 8 TESTS 35 560 37376000 1600
51208116 Verdusk C March 12, 2019, 6:15 a.m. OK Java 8 TESTS 35 560 37683200 1600
64105538 insane_28 C Nov. 2, 2019, 4:29 p.m. OK Java 8 TESTS 35 560 48742400 1600
11394113 Code.coding C June 2, 2015, 7:01 p.m. OK Java 8 TESTS 35 590 34713600 1600
14874296 Nirmit C Dec. 19, 2015, 11:03 a.m. OK Java 8 TESTS 35 590 35225600 1600
6719890 Eeyore C May 27, 2014, 7:54 a.m. OK JavaScript TESTS 35 842 56627200 1600
6719984 Eeyore C May 27, 2014, 8:12 a.m. OK JavaScript TESTS 35 872 61644800 1600
14330327 og.kostya C Nov. 18, 2015, 5:42 p.m. OK MS C# TESTS 35 404 11366400 1600
14330220 og.kostya C Nov. 18, 2015, 5:36 p.m. OK MS C# TESTS 35 498 11980800 1600
4716521 NickSerg C Oct. 9, 2013, 1:14 p.m. OK MS C# TESTS 35 592 43008000 1600
4716526 NickSerg C Oct. 9, 2013, 1:15 p.m. OK MS C# TESTS 35 624 42700800 1600
4716364 NickSerg C Oct. 9, 2013, 1:06 p.m. OK MS C# TESTS 35 624 43008000 1600
4632152 Guliash C Oct. 1, 2013, 5:58 p.m. OK MS C# TESTS 35 654 40550400 1600
4715884 NickSerg C Oct. 9, 2013, 12:40 p.m. OK MS C# TESTS 35 654 43110400 1600
4647230 NickSerg C Oct. 3, 2013, 7:22 a.m. OK MS C# TESTS 35 654 43110400 1600
4716310 NickSerg C Oct. 9, 2013, 1:02 p.m. OK MS C# TESTS 35 686 43008000 1600
9881278 aladdin3 C Feb. 17, 2015, 11:54 a.m. OK MS C# TESTS 35 716 27955200 1600
4632583 Koblyk C Oct. 1, 2013, 6:11 p.m. OK MS C++ TESTS 35 280 10854400 1600
4630484 extremator95 C Oct. 1, 2013, 5:16 p.m. OK MS C++ TESTS 35 342 2252800 1600
57977890 vjudge1 C July 30, 2019, 8:19 a.m. OK MS C++ TESTS 35 342 2355200 1600
56787088 vjudge5 C July 10, 2019, 8:54 a.m. OK MS C++ TESTS 35 342 2355200 1600
5041495 lihaitao C Nov. 10, 2013, 10:12 a.m. OK MS C++ TESTS 35 342 2662400 1600
4646857 1106100011 C Oct. 3, 2013, 6:20 a.m. OK MS C++ TESTS 35 342 3072000 1600
45313734 Mythical C Nov. 5, 2018, 6:41 a.m. OK MS C++ TESTS 35 342 4198400 1600
6871797 Wert48 C June 13, 2014, 8:08 a.m. OK MS C++ TESTS 35 372 716800 1600
4631469 vudu4 C Oct. 1, 2013, 5:27 p.m. OK MS C++ TESTS 35 374 716800 1600
57980291 vjudge3 C July 30, 2019, 9:08 a.m. OK MS C++ TESTS 35 374 819200 1600
67006531 pac-man21 C Dec. 16, 2019, 8:11 a.m. OK MS C++ 2017 TESTS 35 810 3276800 1600
64097994 _kekus C Nov. 2, 2019, 2:31 p.m. OK MS C++ 2017 TESTS 35 1560 30412800 1600
45630674 mayakin C Nov. 12, 2018, 4:48 p.m. OK PHP TESTS 35 1370 37376000 1600
65436238 Mohamed_Ayman C Nov. 20, 2019, 1:29 p.m. OK PyPy 3 TESTS 35 1776 55910400 1600
4674005 busyjay C Oct. 4, 2013, 6:41 p.m. OK Python 2 TESTS 35 1372 17612800 1600
5020792 TsunamiNoLetGo C Nov. 7, 2013, 7:36 a.m. OK Python 2 TESTS 35 1404 10547200 1600
4673892 busyjay C Oct. 4, 2013, 6:34 p.m. OK Python 2 TESTS 35 1404 18022400 1600
4652622 TsunamiNoLetGo C Oct. 3, 2013, 9:54 p.m. OK Python 2 TESTS 35 1528 10547200 1600
4634249 amaurymedeiros C Oct. 1, 2013, 8:33 p.m. OK Python 2 TESTS 35 1590 30720000 1600
4625175 nwi C Oct. 1, 2013, 4:12 p.m. OK Python 2 TESTS 35 1590 33280000 1600
4637066 dolphinQ C Oct. 2, 2013, 7:13 a.m. OK Python 2 TESTS 35 1622 30720000 1600
4626532 Sergiu C Oct. 1, 2013, 4:29 p.m. OK Python 2 TESTS 35 1622 30924800 1600
4637049 dolphinQ C Oct. 2, 2013, 7:11 a.m. OK Python 2 TESTS 35 1652 30720000 1600
4627853 thiagoss C Oct. 1, 2013, 4:44 p.m. OK Python 2 TESTS 35 1684 30310400 1600
4912109 yugle7 C Oct. 27, 2013, 11:18 a.m. OK Python 3 TESTS 35 904 52121600 1600
4638715 __ivan__ C Oct. 2, 2013, 9:12 a.m. OK Python 3 TESTS 35 1590 44339200 1600
68684845 cor001 C Jan. 13, 2020, 2:31 a.m. OK Python 3 TESTS 35 1622 41676800 1600
39679931 wrong_lemma C June 26, 2018, 3:44 p.m. OK Python 3 TESTS 35 1902 45260800 1600
42135274 Mk_Python_v1 C Aug. 26, 2018, 10:56 p.m. OK Python 3 TESTS 35 1964 46284800 1600
22071771 reldan C Nov. 6, 2016, 9:30 a.m. OK Scala TESTS 35 1964 52428800 1600

remove filters

Back to search problems