Educational Codeforces Round 36 (Rated for 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
915 Educational Codeforces Round 36 (Rated for Div. 2) FINISHED False 7200 221676923 Jan. 13, 2018, 1:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 3537 ) D Almost Acyclic Graph PROGRAMMING dfs and similar graphs 2200

B"You are given a directed graph consisting of n vertices and m edges (each edge is directed, so it can be traversed in only one direction). You are allowed to remove at most one edge from it. Can you make this graph acyclic by removing at most one edge from it? A directed graph is called acyclic iff it doesn't contain any cycle (a non-empty path that starts and ends in the same vertex). The first line contains two integers n and m (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89500, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89min(n(n xe2 x80 x89- xe2 x80 x891), xe2 x80 x89100000)) -- the number of vertices and the number of edges, respectively. Then m lines follow. Each line contains two integers u and v denoting a directed edge going from vertex u to vertex v (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89u, xe2 x80 x89v xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, u xe2 x80 x89 xe2 x89 xa0 xe2 x80 x89v). Each ordered pair (u, xe2 x80 x89v) is listed at most once (there is at most one directed edge from u to v). If it is possible to make this graph acyclic by removing at most one edge, print YES. Otherwise, print NO. In the first example you can remove edge , and the graph becomes acyclic. In the second example you have to remove at least two edges (for example, and ) in order to make the graph acyclic. "...

Tutorials

57123

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
34200073 FalseMirror D Jan. 15, 2018, 2:58 p.m. OK D TESTS 110 124 7168000 2200
34295603 AsahiKasugano D Jan. 19, 2018, 7:45 a.m. OK FPC TESTS 110 312 2969600 2200
34189053 ChangNing D Jan. 15, 2018, 5:12 a.m. OK GNU C TESTS 110 46 3686400 2200
37021520 ilovenwd D April 6, 2018, 1:05 p.m. OK GNU C TESTS 110 77 4505600 2200
36204791 vjudge4 D March 11, 2018, 3:52 p.m. OK GNU C++ TESTS 110 15 3481600 2200
35146244 yypurpose12345 D Feb. 11, 2018, 8:24 a.m. OK GNU C++ TESTS 110 15 3481600 2200
34508565 ctr D Jan. 24, 2018, 8:01 a.m. OK GNU C++ TESTS 110 15 6144000 2200
34278071 qkoqhh D Jan. 18, 2018, 2:15 p.m. OK GNU C++ TESTS 110 15 26112000 2200
34166955 chenyanbo D Jan. 14, 2018, 5:11 a.m. OK GNU C++ TESTS 110 30 2867200 2200
34196672 bdzxt D Jan. 15, 2018, 12:36 p.m. OK GNU C++ TESTS 110 30 3276800 2200
35223800 Dev-XYS D Feb. 14, 2018, 6:01 a.m. OK GNU C++ TESTS 110 31 3072000 2200
34197812 llaa D Jan. 15, 2018, 1:21 p.m. OK GNU C++ TESTS 110 31 3276800 2200
35146292 yypurpose12345 D Feb. 11, 2018, 8:26 a.m. OK GNU C++ TESTS 110 31 3481600 2200
34170897 stefansav D Jan. 14, 2018, 9:05 a.m. OK GNU C++ TESTS 110 31 3481600 2200
52415111 rainboy D April 6, 2019, 2:59 p.m. OK GNU C11 TESTS 110 46 819200 2200
34192068 Steaunk D Jan. 15, 2018, 8:38 a.m. OK GNU C++11 TESTS 110 15 2662400 2200
34218378 JM23333 D Jan. 16, 2018, 10:04 a.m. OK GNU C++11 TESTS 110 15 3686400 2200
41921048 Steaunk D Aug. 21, 2018, 4:18 a.m. OK GNU C++11 TESTS 110 31 614400 2200
45320577 huihao D Nov. 5, 2018, 10:23 a.m. OK GNU C++11 TESTS 110 31 1024000 2200
44113097 fks20011206 D Oct. 11, 2018, 12:50 p.m. OK GNU C++11 TESTS 110 31 1331200 2200
44113190 luogu_bot1 D Oct. 11, 2018, 12:52 p.m. OK GNU C++11 TESTS 110 31 1331200 2200
34192004 Steaunk D Jan. 15, 2018, 8:35 a.m. OK GNU C++11 TESTS 110 31 2662400 2200
34219814 wzc1995 D Jan. 16, 2018, 11:25 a.m. OK GNU C++11 TESTS 110 31 2969600 2200
34295255 Zero_Just_Me D Jan. 19, 2018, 7:31 a.m. OK GNU C++11 TESTS 110 31 3379200 2200
50277192 LRL52 D Feb. 21, 2019, 10:47 a.m. OK GNU C++11 TESTS 110 31 3379200 2200
34355574 Linkus D Jan. 20, 2018, 2:18 p.m. OK GNU C++14 TESTS 110 15 2969600 2200
34203870 Linkus D Jan. 15, 2018, 5:54 p.m. OK GNU C++14 TESTS 110 30 3788800 2200
34203890 Linkus D Jan. 15, 2018, 5:55 p.m. OK GNU C++14 TESTS 110 30 3788800 2200
34273719 -Morass- D Jan. 18, 2018, 11:04 a.m. OK GNU C++14 TESTS 110 30 36864000 2200
34170024 interestingLSY D Jan. 14, 2018, 8:15 a.m. OK GNU C++14 TESTS 110 31 2560000 2200
34198856 chinmay0906 D Jan. 15, 2018, 2:04 p.m. OK GNU C++14 TESTS 110 31 4096000 2200
58211179 vjudge3 D Aug. 3, 2019, 8:53 a.m. OK GNU C++14 TESTS 110 46 819200 2200
56474011 FFraGGeRR D July 3, 2019, 12:23 p.m. OK GNU C++14 TESTS 110 46 1228800 2200
56287022 omar94 D June 29, 2019, 8:18 p.m. OK GNU C++14 TESTS 110 46 1228800 2200
59597537 WstOne D Aug. 28, 2019, 3:10 a.m. OK GNU C++14 TESTS 110 46 1228800 2200
58547292 STommydx D Aug. 10, 2019, 5:27 p.m. OK GNU C++17 TESTS 110 46 1228800 2200
51771578 vjudge1 D March 23, 2019, 6:40 p.m. OK GNU C++17 TESTS 110 46 1228800 2200
46979290 _Samir D Dec. 13, 2018, 6:37 p.m. OK GNU C++17 TESTS 110 46 1228800 2200
40716486 jackjonassmith D July 24, 2018, 7:48 p.m. OK GNU C++17 TESTS 110 46 1228800 2200
69722123 irri D Jan. 29, 2020, 11:04 a.m. OK GNU C++17 TESTS 110 46 1228800 2200
49124128 aesth D Jan. 28, 2019, 9:09 p.m. OK GNU C++17 TESTS 110 46 1433600 2200
49226573 dtl8 D Jan. 31, 2019, 12:12 a.m. OK GNU C++17 TESTS 110 46 1433600 2200
42862890 ProjectElon D Sept. 14, 2018, 1:52 p.m. OK GNU C++17 TESTS 110 46 1536000 2200
46778764 ak_97 D Dec. 8, 2018, 10:59 p.m. OK GNU C++17 TESTS 110 46 2252800 2200
54435350 doped.silicon D May 21, 2019, 4:56 a.m. OK GNU C++17 TESTS 110 46 2252800 2200
34501717 alculquicondor D Jan. 24, 2018, 2:44 a.m. OK Go TESTS 110 124 27545600 2200
34177021 noob__coder D Jan. 14, 2018, 2:09 p.m. OK Java 8 TESTS 110 139 20684800 2200
34172809 uwi D Jan. 14, 2018, 11:01 a.m. OK Java 8 TESTS 110 139 20684800 2200
53043578 icpc_loser D April 20, 2019, 11:07 a.m. OK Java 8 TESTS 110 140 0 2200
54818496 caoash D May 29, 2019, 10:45 p.m. OK Java 8 TESTS 110 155 0 2200
34729390 antkhorin D Jan. 31, 2018, 7:20 a.m. OK Java 8 TESTS 110 155 20787200 2200
34282274 NinjaDoggy D Jan. 18, 2018, 5:20 p.m. OK Java 8 TESTS 110 155 21708800 2200
52415055 Dukkha D April 6, 2019, 2:59 p.m. OK Java 8 TESTS 110 156 0 2200
42453305 wxqy D Sept. 4, 2018, 9:37 a.m. OK Java 8 TESTS 110 171 0 2200
54321106 zhijunlicd D May 17, 2019, 9:15 p.m. OK Java 8 TESTS 110 171 0 2200
40634434 aabdelzaher D July 22, 2018, 11:44 a.m. OK Java 8 TESTS 110 171 0 2200
35545127 dendi239 D Feb. 21, 2018, 11:19 a.m. OK Kotlin TESTS 110 639 21504000 2200
39192399 Olyakmva D June 12, 2018, 1:13 p.m. OK Mono C# TESTS 110 124 7270400 2200
67686429 hibatibati D Dec. 27, 2019, 9:06 a.m. OK Mono C# TESTS 110 171 12492800 2200
34255933 peregrinus D Jan. 17, 2018, 3:35 p.m. OK MS C# TESTS 110 124 16486400 2200
46191599 vjudge3 D Nov. 25, 2018, 5:38 a.m. OK MS C++ TESTS 110 46 1331200 2200
34180026 Maffka D Jan. 14, 2018, 4:16 p.m. OK MS C++ TESTS 110 46 3481600 2200
35082785 RCG D Feb. 9, 2018, 8:21 a.m. OK MS C++ TESTS 110 77 4300800 2200
58861246 vjudge2 D Aug. 15, 2019, 11:42 a.m. OK MS C++ TESTS 110 78 1126400 2200
58861210 vjudge2 D Aug. 15, 2019, 11:42 a.m. OK MS C++ TESTS 110 78 1126400 2200
46198251 vjudge4 D Nov. 25, 2018, 9:40 a.m. OK MS C++ TESTS 110 78 1126400 2200
36142309 vjudge1 D March 10, 2018, 7:49 a.m. OK MS C++ TESTS 110 78 3072000 2200
50641674 vjudge5 D March 1, 2019, 2:11 p.m. OK MS C++ TESTS 110 93 1126400 2200
34224554 HDDC D Jan. 16, 2018, 2:31 p.m. OK MS C++ TESTS 110 109 2764800 2200
43354651 vjudge3 D Sept. 24, 2018, 5:28 a.m. OK MS C++ TESTS 110 140 3584000 2200
65585730 IPRIT D Nov. 23, 2019, 12:23 p.m. OK MS C++ 2017 TESTS 110 108 716800 2200
65022903 despairrr D Nov. 15, 2019, 6:12 a.m. OK MS C++ 2017 TESTS 110 140 1024000 2200
49340050 dtl8 D Feb. 1, 2019, 9:43 p.m. OK PyPy 2 TESTS 110 685 7884800 2200
34233054 Bashuk D Jan. 16, 2018, 9:17 p.m. OK PyPy 3 TESTS 110 872 28979200 2200
34968661 nutella- D Feb. 6, 2018, 11:30 a.m. OK PyPy 3 TESTS 110 889 29491200 2200
34954734 nutella- D Feb. 5, 2018, 8:16 p.m. OK PyPy 3 TESTS 110 904 28774400 2200
34967906 nutella- D Feb. 6, 2018, 10:55 a.m. OK PyPy 3 TESTS 110 904 29286400 2200
34491781 yumtam D Jan. 23, 2018, 5:59 p.m. OK Python 3 TESTS 110 889 7372800 2200
34210676 denny_sem D Jan. 16, 2018, 1:50 a.m. OK Python 3 TESTS 110 967 7372800 2200
34278135 hatoo D Jan. 18, 2018, 2:17 p.m. OK Rust TESTS 110 623 8089600 2200

remove filters

Back to search problems