Educational Codeforces Round 142 (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
1792 Educational Codeforces Round 142 (Rated for Div. 2) FINISHED False 7200 57252299 Jan. 24, 2023, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 740 ) F1 Graph Coloring (easy version) PROGRAMMING dp

B'The only difference between the easy and the hard version is the constraint on n . You are given an undirected complete graph on n vertices. A complete graph is a graph where each pair of vertices is connected by an edge. You have to paint the edges of the graph into two colors, red and blue (each edge will have one color). A set of vertices S is red-connected if, for every pair of vertices (v_1, v_2) such that v_1 in S and v_2 in S , there exists a path from v_1 to v_2 that goes only through red edges and vertices from S . Similarly, a set of vertices S is blue-connected if, for every pair of vertices (v_1, v_2) such that v_1 in S and v_2 in S , there exists a path from v_1 to v_2 that goes only through blue edges and vertices from S . You have to paint the graph in such a way that: Calculate the number of ways to paint the graph, and print it modulo 998244353 . The first (and only) line contains one integer n ( 3 <= n <= 5 cdot 10^3 ). Print one integer -- the number of ways to paint the graph, taken modulo 998244353 . '...

Tutorials

111835

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
190442585 kcudcigam F1 Jan. 25, 2023, 3:34 a.m. OK GNU C++14 TESTS 12 171 819200
190429449 liympanda F1 Jan. 24, 2023, 9:11 p.m. OK GNU C++14 TESTS 12 295 208486400
190440449 cqbz163003gzm F1 Jan. 25, 2023, 2:43 a.m. OK GNU C++14 TESTS 12 374 102400
190414300 wmq F1 Jan. 24, 2023, 6:03 p.m. OK GNU C++14 TESTS 12 405 102400
190402485 paopaooux F1 Jan. 24, 2023, 4:46 p.m. OK GNU C++14 TESTS 12 468 102400
190407216 Yzm007 F1 Jan. 24, 2023, 5:12 p.m. OK GNU C++17 TESTS 12 31 1228800
190445358 wa_233 F1 Jan. 25, 2023, 4:29 a.m. OK GNU C++17 TESTS 12 62 3174400
190444873 wa_233 F1 Jan. 25, 2023, 4:20 a.m. OK GNU C++17 TESTS 12 124 102400
190430712 Md._Nahid_Ullah_Joy F1 Jan. 24, 2023, 9:37 p.m. OK GNU C++17 TESTS 12 343 100249600
190412048 konglingru F1 Jan. 24, 2023, 5:46 p.m. OK GNU C++17 TESTS 12 358 6041600
190399146 qham F1 Jan. 24, 2023, 4:34 p.m. OK GNU C++17 TESTS 12 374 100454400
190401951 Motherhacker123 F1 Jan. 24, 2023, 4:43 p.m. OK GNU C++17 TESTS 12 499 102400
190413179 El-Ged_Sevawy F1 Jan. 24, 2023, 5:55 p.m. OK GNU C++17 TESTS 12 514 102400
190395606 hypergraph_coloring F1 Jan. 24, 2023, 4:28 p.m. OK GNU C++17 TESTS 12 561 201216000
190416803 zlc1114 F1 Jan. 24, 2023, 6:24 p.m. OK GNU C++17 TESTS 12 748 17612800
190437714 PixelRebelz F1 Jan. 25, 2023, 1:29 a.m. OK GNU C++17 (64) TESTS 12 15 70553600
190442178 foreverlasting F1 Jan. 25, 2023, 3:26 a.m. OK GNU C++17 (64) TESTS 12 46 716800
190406776 zhangboju F1 Jan. 24, 2023, 5:09 p.m. OK GNU C++17 (64) TESTS 12 62 48537600
190446397 akshay532 F1 Jan. 25, 2023, 4:46 a.m. OK GNU C++17 (64) TESTS 12 77 100352000
190406136 Bruce12138 F1 Jan. 24, 2023, 5:05 p.m. OK GNU C++17 (64) TESTS 12 78 102400
190401120 jcccc F1 Jan. 24, 2023, 4:39 p.m. OK GNU C++17 (64) TESTS 12 93 1228800
190401485 nweeks F1 Jan. 24, 2023, 4:41 p.m. OK GNU C++17 (64) TESTS 12 109 8089600
190438163 jdurie F1 Jan. 25, 2023, 1:42 a.m. OK GNU C++17 (64) TESTS 12 140 204800
190397020 ChenKaifeng F1 Jan. 24, 2023, 4:30 p.m. OK GNU C++17 (64) TESTS 12 156 102400
190423959 toooooosimple F1 Jan. 24, 2023, 7:41 p.m. OK GNU C++17 (64) TESTS 12 156 102195200
190420429 S2speed F1 Jan. 24, 2023, 7 p.m. OK GNU C++20 (64) TESTS 12 0 0
190436024 FzArK F1 Jan. 25, 2023, 12:29 a.m. OK GNU C++20 (64) TESTS 12 15 0
190395529 maspy F1 Jan. 24, 2023, 4:28 p.m. OK GNU C++20 (64) TESTS 12 15 512000
190438538 sabbirahmeds877 F1 Jan. 25, 2023, 1:53 a.m. OK GNU C++20 (64) TESTS 12 61 100454400
190405355 _meow_ F1 Jan. 24, 2023, 5 p.m. OK GNU C++20 (64) TESTS 12 62 102400
190422205 Ormlis F1 Jan. 24, 2023, 7:20 p.m. OK GNU C++20 (64) TESTS 12 62 1638400
190448144 Proofy F1 Jan. 25, 2023, 5:13 a.m. OK GNU C++20 (64) TESTS 12 62 3686400
190447845 Proofy F1 Jan. 25, 2023, 5:09 a.m. OK GNU C++20 (64) TESTS 12 62 3686400
190438510 sabbirahmeds877 F1 Jan. 25, 2023, 1:52 a.m. OK GNU C++20 (64) TESTS 12 77 100352000
190428141 _LeMur_ F1 Jan. 24, 2023, 8:47 p.m. OK GNU C++20 (64) TESTS 12 78 102400
190449438 IanISam F1 Jan. 25, 2023, 5:33 a.m. OK Java 11 TESTS 12 717 0
190449228 IanISam F1 Jan. 25, 2023, 5:30 a.m. OK Java 11 TESTS 12 748 0
190444181 IanISam F1 Jan. 25, 2023, 4:08 a.m. OK Java 11 TESTS 12 920 265932800
190395677 bessie_choe F1 Jan. 24, 2023, 4:28 p.m. OK Kotlin 1.7 TESTS 12 327 0
190396542 Heltion F1 Jan. 24, 2023, 4:30 p.m. OK Kotlin 1.7 TESTS 12 654 102400
190395467 shobonvip F1 Jan. 24, 2023, 4:28 p.m. OK PyPy 3 TESTS 12 2245 13926400
190397188 SPD_9X2 F1 Jan. 24, 2023, 4:31 p.m. OK PyPy 3 TESTS 12 2417 14438400
190402926 Little_Sheep_Yawn F1 Jan. 24, 2023, 4:48 p.m. OK PyPy 3-64 TESTS 12 2059 12697600

remove filters

Back to search problems