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 |
---|---|---|---|---|---|---|
521 | Codeforces Round 295 (Div. 1) | FINISHED | False | 7500 | 306543599 | March 2, 2015, 7 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1059 ) | E | Cycling City | PROGRAMMING | dfs and similar graphs | 2800 |
B'You are organizing a cycling race on the streets of the city. The city contains n junctions, some pairs of them are connected by roads; on each road you can move in any direction. No two roads connect the same pair of intersections, and no road connects the intersection with itself. You want the race to be open to both professional athletes and beginner cyclists, and that 's why you will organize the race in three nominations: easy, moderate and difficult; each participant will choose the more suitable nomination. For each nomination you must choose the route -- the chain of junctions, consecutively connected by roads. Routes must meet the following conditions: Preparing for the competition is about to begin, and you need to determine the routes of the race as quickly as possible. The length of the routes is not important, it is only important that all the given requirements were met. The first line contains two integers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x892 xc2 xb7105) -- the number of intersections and roads, respectively. The following m lines contain two integers -- the numbers of the intersections connected by a road (the intersections are numbered starting with 1). It is guaranteed that each pair of intersections is connected by no more than one road, and no road connects the intersection to itself. Please note that it is not guaranteed that you can get from any junction to any other one by using the roads. If it is possible to create the routes, in the first line print "YES". In the next three lines print the descriptions of each of the three routes in the format "l p1 ... pl", where l is the number of intersections in the route, and p1, xe2 x80 x89..., xe2 x80 x89pl are their numbers in the order they follow. The routes must meet all the requirements specified in the statement. If it is impossible to make the routes in accordance with the requirements, print NO.'... |
Codeforces Round #295 Editorial (now with bonuses!) |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
33594729 | vjudge2 | E | Dec. 24, 2017, 1:50 p.m. | OK | GNU C++ | TESTS | 54 | 62 | 15974400 | 2800 | |
33594680 | vjudge2 | E | Dec. 24, 2017, 1:48 p.m. | OK | GNU C++ | TESTS | 54 | 77 | 15974400 | 2800 | |
33594640 | vjudge2 | E | Dec. 24, 2017, 1:46 p.m. | OK | GNU C++ | TESTS | 54 | 77 | 15974400 | 2800 | |
29594586 | 131441373 | E | Aug. 19, 2017, 9:38 a.m. | OK | GNU C++ | TESTS | 54 | 77 | 16384000 | 2800 | |
40986936 | ReaLNero1 | E | July 30, 2018, 8:51 p.m. | OK | GNU C++ | TESTS | 54 | 77 | 16486400 | 2800 | |
33594615 | vjudge2 | E | Dec. 24, 2017, 1:44 p.m. | OK | GNU C++ | TESTS | 54 | 78 | 19968000 | 2800 | |
33594572 | Landia | E | Dec. 24, 2017, 1:42 p.m. | OK | GNU C++ | TESTS | 54 | 108 | 22016000 | 2800 | |
13908075 | 130705009 | E | Oct. 28, 2015, 4:04 a.m. | OK | GNU C++ | TESTS | 54 | 124 | 45158400 | 2800 | |
16482093 | openandopen | E | March 3, 2016, 12:04 p.m. | OK | GNU C++ | TESTS | 54 | 139 | 22323200 | 2800 | |
13311313 | wyfcyx | E | Sept. 30, 2015, 9:41 a.m. | OK | GNU C++ | TESTS | 54 | 139 | 22732800 | 2800 | |
10237073 | flydutchman | E | March 11, 2015, 1:06 p.m. | OK | GNU C++0x | TESTS | 54 | 156 | 45056000 | 2800 | |
10294627 | Bobrosoft | E | March 15, 2015, 9:42 p.m. | OK | GNU C++0x | TESTS | 54 | 187 | 22425600 | 2800 | |
10138930 | Zhukov_Dmitry | E | March 3, 2015, 10:42 p.m. | OK | GNU C++0x | TESTS | 54 | 202 | 26521600 | 2800 | |
10339202 | Eledven | E | March 18, 2015, 2:57 p.m. | OK | GNU C++0x | TESTS | 54 | 218 | 41267200 | 2800 | |
10172181 | Los_Angelos_Laycurse | E | March 6, 2015, 3:22 a.m. | OK | GNU C++0x | TESTS | 54 | 234 | 56524800 | 2800 | |
10132918 | Baba | E | March 3, 2015, 1:09 p.m. | OK | GNU C++0x | TESTS | 54 | 249 | 55193600 | 2800 | |
10172191 | Los_Angelos_Laycurse | E | March 6, 2015, 3:24 a.m. | OK | GNU C++0x | TESTS | 54 | 249 | 56524800 | 2800 | |
10139238 | johnasselta | E | March 3, 2015, 11:42 p.m. | OK | GNU C++0x | TESTS | 54 | 264 | 28774400 | 2800 | |
10350905 | M.Mahdi | E | March 19, 2015, 4:16 p.m. | OK | GNU C++0x | TESTS | 54 | 280 | 39936000 | 2800 | |
10350831 | M.Mahdi | E | March 19, 2015, 4:09 p.m. | OK | GNU C++0x | TESTS | 54 | 311 | 52736000 | 2800 | |
66536167 | Isonan | E | Dec. 9, 2019, 9:41 a.m. | OK | GNU C++11 | TESTS | 54 | 61 | 20070400 | 2800 | |
55306457 | klfly | E | June 8, 2019, 2:46 p.m. | OK | GNU C++11 | TESTS | 54 | 62 | 18432000 | 2800 | |
66181358 | liqing | E | Dec. 2, 2019, 12:55 p.m. | OK | GNU C++11 | TESTS | 54 | 77 | 17510400 | 2800 | |
34936173 | luogu_bot3 | E | Feb. 5, 2018, 7 a.m. | OK | GNU C++11 | TESTS | 54 | 78 | 20787200 | 2800 | |
43784908 | _Dispwnl | E | Oct. 4, 2018, 11:51 a.m. | OK | GNU C++11 | TESTS | 54 | 93 | 23756800 | 2800 | |
64773015 | zjczzzjczjczzzjc | E | Nov. 13, 2019, 1:47 a.m. | OK | GNU C++11 | TESTS | 54 | 93 | 27852800 | 2800 | |
66568082 | nantf | E | Dec. 10, 2019, 1:15 a.m. | OK | GNU C++11 | TESTS | 54 | 93 | 33996800 | 2800 | |
64744277 | cly_none | E | Nov. 12, 2019, 1 p.m. | OK | GNU C++11 | TESTS | 54 | 93 | 36249600 | 2800 | |
49623138 | Logey | E | Feb. 8, 2019, 10:27 a.m. | OK | GNU C++11 | TESTS | 54 | 108 | 12902400 | 2800 | |
43936931 | Captain_Paul | E | Oct. 7, 2018, 9:25 a.m. | OK | GNU C++11 | TESTS | 54 | 109 | 12697600 | 2800 | |
66259544 | Created_equal | E | Dec. 4, 2019, 7:45 a.m. | OK | GNU C++14 | TESTS | 54 | 108 | 32870400 | 2800 | |
34886814 | kingsnow | E | Feb. 3, 2018, 8 a.m. | OK | GNU C++14 | TESTS | 54 | 140 | 20684800 | 2800 | |
43490285 | jhdjames37 | E | Sept. 27, 2018, 12:19 p.m. | OK | GNU C++14 | TESTS | 54 | 155 | 18636800 | 2800 | |
65436537 | yhx-12243 | E | Nov. 20, 2019, 1:33 p.m. | OK | GNU C++14 | TESTS | 54 | 171 | 28467200 | 2800 | |
65750107 | wucstdio | E | Nov. 26, 2019, 1:43 p.m. | OK | GNU C++14 | TESTS | 54 | 171 | 32358400 | 2800 | |
68062525 | 251 | E | Jan. 2, 2020, 5:26 a.m. | OK | GNU C++14 | TESTS | 54 | 202 | 22016000 | 2800 | |
65794055 | orbitingflea | E | Nov. 27, 2019, 2:32 a.m. | OK | GNU C++14 | TESTS | 54 | 202 | 22220800 | 2800 | |
63757527 | fstqaq | E | Oct. 30, 2019, 12:54 a.m. | OK | GNU C++14 | TESTS | 54 | 202 | 24064000 | 2800 | |
65582363 | mayaohua2003 | E | Nov. 23, 2019, 11:24 a.m. | OK | GNU C++14 | TESTS | 54 | 202 | 25190400 | 2800 | |
56780045 | walht | E | July 10, 2019, 5:45 a.m. | OK | GNU C++14 | TESTS | 54 | 202 | 29286400 | 2800 | |
68339606 | xymtxdy | E | Jan. 7, 2020, 2:13 a.m. | OK | GNU C++17 | TESTS | 54 | 155 | 21196800 | 2800 | |
69519719 | skip1978 | E | Jan. 25, 2020, 1:05 p.m. | OK | GNU C++17 | TESTS | 54 | 171 | 14540800 | 2800 | |
68963263 | CMXRYNP | E | Jan. 17, 2020, 2:58 a.m. | OK | GNU C++17 | TESTS | 54 | 171 | 17817600 | 2800 | |
62346370 | Duanyll | E | Oct. 11, 2019, 7:40 a.m. | OK | GNU C++17 | TESTS | 54 | 171 | 18636800 | 2800 | |
62252516 | vjudge4 | E | Oct. 10, 2019, 9:43 a.m. | OK | GNU C++17 | TESTS | 54 | 171 | 36761600 | 2800 | |
62252443 | LJZ_C | E | Oct. 10, 2019, 9:42 a.m. | OK | GNU C++17 | TESTS | 54 | 171 | 36761600 | 2800 | |
58405112 | 89264270823 | E | Aug. 6, 2019, 8:01 p.m. | OK | GNU C++17 | TESTS | 54 | 186 | 24985600 | 2800 | |
69673360 | yuhaw | E | Jan. 28, 2020, 1:37 p.m. | OK | GNU C++17 | TESTS | 54 | 186 | 85196800 | 2800 | |
35614262 | Rand_By_Rand | E | Feb. 24, 2018, 3:37 a.m. | OK | GNU C++17 | TESTS | 54 | 187 | 16179200 | 2800 | |
68221032 | AprilGrimoire | E | Jan. 5, 2020, 4:44 a.m. | OK | GNU C++17 | TESTS | 54 | 187 | 24064000 | 2800 | |
34886782 | kingsnow | E | Feb. 3, 2018, 7:59 a.m. | OK | GNU C++17 Diagnostics | TESTS | 54 | 1996 | 120320000 | 2800 | |
11521996 | aboodmanna | E | June 10, 2015, 1:30 p.m. | OK | Java 7 | TESTS | 54 | 904 | 89497600 | 2800 | |
10528495 | edorundo | E | March 30, 2015, 8:43 p.m. | OK | Java 7 | TESTS | 54 | 1387 | 162611200 | 2800 | |
10426976 | edorundo | E | March 24, 2015, 8:31 p.m. | OK | Java 7 | TESTS | 54 | 1388 | 162201600 | 2800 | |
10241027 | mmaxio | E | March 11, 2015, 7:42 p.m. | OK | Java 8 | TESTS | 54 | 826 | 106188800 | 2800 | |
10113432 | Petr | E | March 2, 2015, 8:46 a.m. | OK | Java 8 | TESTS | 54 | 951 | 84992000 | 2800 | |
10304386 | fmoraes | E | March 16, 2015, 7:01 p.m. | OK | Java 8 | TESTS | 54 | 998 | 84992000 | 2800 | |
10188833 | williamcicua | E | March 7, 2015, 10:31 a.m. | OK | Java 8 | TESTS | 54 | 998 | 84992000 | 2800 | |
14484416 | AlexFetisov | E | Nov. 25, 2015, 7:29 p.m. | OK | Java 8 | TESTS | 54 | 1419 | 112435200 | 2800 | |
62247757 | vjudge1 | E | Oct. 10, 2019, 7:33 a.m. | OK | MS C++ 2017 | TESTS | 54 | 327 | 28774400 | 2800 |
Back to search problems