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 62695463 Jan. 24, 2023, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 401 ) F2 Graph Coloring (hard version) PROGRAMMING brute force fft

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^4 ). 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
190447033 thescultor F2 Jan. 25, 2023, 4:56 a.m. OK GNU C++17 TESTS 16 3026 1228800
190407252 Yzm007 F2 Jan. 24, 2023, 5:12 p.m. OK GNU C++17 TESTS 16 3042 1228800
190426666 konglingru F2 Jan. 24, 2023, 8:23 p.m. OK GNU C++17 TESTS 16 3291 12083200
190426535 konglingru F2 Jan. 24, 2023, 8:20 p.m. OK GNU C++17 TESTS 16 3946 12083200
190404953 TooWeakToGM F2 Jan. 24, 2023, 4:58 p.m. OK GNU C++17 TESTS 16 4742 31129600
190445426 wa_233 F2 Jan. 25, 2023, 4:30 a.m. OK GNU C++17 TESTS 16 4773 3174400
190406904 TooWeakToGM F2 Jan. 24, 2023, 5:10 p.m. OK GNU C++17 TESTS 16 4913 31129600
190405687 TooWeakToGM F2 Jan. 24, 2023, 5:02 p.m. OK GNU C++17 TESTS 16 4914 31129600
190440777 Nyaan F2 Jan. 25, 2023, 2:52 a.m. OK GNU C++17 (64) TESTS 16 156 5222400
190441044 BeyondHeaven F2 Jan. 25, 2023, 2:59 a.m. OK GNU C++17 (64) TESTS 16 156 6348800
190437710 PixelRebelz F2 Jan. 25, 2023, 1:29 a.m. OK GNU C++17 (64) TESTS 16 186 70553600
190435925 rainboy F2 Jan. 25, 2023, 12:25 a.m. OK GNU C++17 (64) TESTS 16 218 14233600
190442157 foreverlasting F2 Jan. 25, 2023, 3:26 a.m. OK GNU C++17 (64) TESTS 16 327 5324800
190401995 Nyaan F2 Jan. 24, 2023, 4:44 p.m. OK GNU C++17 (64) TESTS 16 420 10240000
190410842 ToxicPie9 F2 Jan. 24, 2023, 5:37 p.m. OK GNU C++17 (64) TESTS 16 717 16486400
190444457 LXH-cat F2 Jan. 25, 2023, 4:13 a.m. OK GNU C++17 (64) TESTS 16 1528 1228800
190403314 SSerxhs F2 Jan. 24, 2023, 4:50 p.m. OK GNU C++17 (64) TESTS 16 1543 183398400
190406834 zhangboju F2 Jan. 24, 2023, 5:09 p.m. OK GNU C++17 (64) TESTS 16 4508 52326400
190414361 jeroenodb F2 Jan. 24, 2023, 6:04 p.m. OK GNU C++20 (64) TESTS 16 31 1228800
190445845 delusion_loss_vanity F2 Jan. 25, 2023, 4:37 a.m. OK GNU C++20 (64) TESTS 16 31 4403200
190414180 jeroenodb F2 Jan. 24, 2023, 6:02 p.m. OK GNU C++20 (64) TESTS 16 46 1126400
190445773 delusion_loss_vanity F2 Jan. 25, 2023, 4:36 a.m. OK GNU C++20 (64) TESTS 16 46 4403200
190412856 jeroenodb F2 Jan. 24, 2023, 5:52 p.m. OK GNU C++20 (64) TESTS 16 46 16384000
190411351 jeroenodb F2 Jan. 24, 2023, 5:41 p.m. OK GNU C++20 (64) TESTS 16 46 16384000
190397281 maspy F2 Jan. 24, 2023, 4:31 p.m. OK GNU C++20 (64) TESTS 16 62 3481600
190395571 maspy F2 Jan. 24, 2023, 4:28 p.m. OK GNU C++20 (64) TESTS 16 78 3993600
190420778 Fysty F2 Jan. 24, 2023, 7:04 p.m. OK GNU C++20 (64) TESTS 16 171 7270400
190441926 229zzz F2 Jan. 25, 2023, 3:20 a.m. OK GNU C++20 (64) TESTS 16 264 5836800
190433968 sansen F2 Jan. 24, 2023, 11:11 p.m. OK Rust 2021 TESTS 16 124 3993600

remove filters

Back to search problems