Educational Codeforces Round 73 (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
1221 Educational Codeforces Round 73 (Rated for Div. 2) FINISHED False 7200 168535487 Sept. 19, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 771 ) G Graph And Numbers PROGRAMMING bitmasks brute force combinatorics dp meet-in-the-middle 2900

B'You are given an undirected graph with n vertices and m edges. You have to write a number on each vertex of this graph, each number should be either 0 or 1 . After that, you write a number on each edge equal to the sum of numbers on vertices incident to that edge. You have to choose the numbers you will write on the vertices so that there is at least one edge with 0 written on it, at least one edge with 1 and at least one edge with 2 . How many ways are there to do it? Two ways to choose numbers are different if there exists at least one vertex which has different numbers written on it in these two ways. The first line contains two integers n and m ( 1 <= n <= 40 , 0 <= m <= frac{n(n - 1)}{2} ) -- the number of vertices and the number of edges, respectively. Then m lines follow, each line contains two numbers x_i and y_i ( 1 <= x_i, y_i <= n , x_i ne y_i ) -- the endpoints of the i -th edge. It is guaranteed that each pair of vertices is connected by at most one edge. Print one integer -- the number of ways to write numbers on all vertices so that there exists at least one edge with 0 written on it, at least one edge with 1 and at least one edge with 2 . '...

Tutorials

Разбор Educational Codeforces Round 73

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
62237370 huajiwudi21 G Oct. 9, 2019, 11:36 p.m. OK Clang++17 Diagnostics TESTS 53 374 33894400 2900
60885803 rainboy G Sept. 19, 2019, 4:23 p.m. OK GNU C11 TESTS 53 202 8396800 2900
61190663 sshwyR G Sept. 24, 2019, 2:30 a.m. OK GNU C++11 TESTS 53 31 716800 2900
61191916 xryjr233 G Sept. 24, 2019, 3:17 a.m. OK GNU C++11 TESTS 53 31 716800 2900
61191849 xryjr233 G Sept. 24, 2019, 3:14 a.m. OK GNU C++11 TESTS 53 31 716800 2900
61023289 11235813213455 G Sept. 21, 2019, 3:14 p.m. OK GNU C++11 TESTS 53 31 819200 2900
61298160 LJC00118 G Sept. 26, 2019, 3:05 a.m. OK GNU C++11 TESTS 53 31 4198400 2900
61084047 vjudge3 G Sept. 22, 2019, 5:35 p.m. OK GNU C++11 TESTS 53 31 12595200 2900
61171043 BigBelorussianSmurf G Sept. 23, 2019, 4:29 p.m. OK GNU C++11 TESTS 53 31 12595200 2900
60900265 bri2005 G Sept. 19, 2019, 8:54 p.m. OK GNU C++11 TESTS 53 46 204800 2900
62253864 LittleDino G Oct. 10, 2019, 10:10 a.m. OK GNU C++11 TESTS 53 46 4198400 2900
62453970 Reinhard_von_Lohengramm G Oct. 13, 2019, 5:38 a.m. OK GNU C++11 TESTS 53 46 8396800 2900
61024598 ShadowLight G Sept. 21, 2019, 3:37 p.m. OK GNU C++14 TESTS 53 31 8601600 2900
60888304 chenyanbo G Sept. 19, 2019, 4:33 p.m. OK GNU C++14 TESTS 53 46 409600 2900
61380862 raf7an G Sept. 27, 2019, 5:26 p.m. OK GNU C++14 TESTS 53 46 8396800 2900
60984898 gina0605 G Sept. 21, 2019, 8:01 a.m. OK GNU C++14 TESTS 53 46 22220800 2900
61308204 Iamcomingforyou G Sept. 26, 2019, 8:13 a.m. OK GNU C++14 TESTS 53 62 8601600 2900
65272301 TShT G Nov. 17, 2019, 8:38 p.m. OK GNU C++14 TESTS 53 77 14848000 2900
63608867 faculty G Oct. 27, 2019, 4:18 p.m. OK GNU C++14 TESTS 53 78 16998400 2900
61017684 dlalswp25 G Sept. 21, 2019, 1:47 p.m. OK GNU C++14 TESTS 53 93 8601600 2900
61460766 BakaC1rno G Sept. 29, 2019, 8:26 a.m. OK GNU C++14 TESTS 53 93 16793600 2900
61267242 1936448617 G Sept. 25, 2019, 1:04 p.m. OK GNU C++14 TESTS 53 93 16793600 2900
61826350 ReaLNero1 G Oct. 4, 2019, 4:55 a.m. OK GNU C++17 TESTS 53 30 0 2900
62574053 ak_taniya G Oct. 14, 2019, 3:21 p.m. OK GNU C++17 TESTS 53 30 819200 2900
62392971 RealFreddy G Oct. 12, 2019, 3:41 a.m. OK GNU C++17 TESTS 53 31 0 2900
60903769 teapotd G Sept. 20, 2019, 12:38 a.m. OK GNU C++17 TESTS 53 31 0 2900
62063165 Super_M. G Oct. 7, 2019, 2:18 p.m. OK GNU C++17 TESTS 53 31 819200 2900
60884074 boboniu G Sept. 19, 2019, 4:15 p.m. OK GNU C++17 TESTS 53 31 819200 2900
60902322 kuzan_aokiji G Sept. 19, 2019, 11:02 p.m. OK GNU C++17 TESTS 53 46 409600 2900
62180648 pootis G Oct. 9, 2019, 6:19 a.m. OK GNU C++17 TESTS 53 46 4403200 2900
69942227 FoolishMe G Feb. 1, 2020, 6:31 a.m. OK GNU C++17 TESTS 53 46 12800000 2900
61216236 naitir G Sept. 24, 2019, 12:48 p.m. OK GNU C++17 TESTS 53 46 80998400 2900
60909668 cwise G Sept. 20, 2019, 5:09 a.m. OK Java 8 TESTS 53 156 6656000 2900
60890707 jorgmandr G Sept. 19, 2019, 4:59 p.m. OK Java 8 TESTS 53 171 0 2900
60890460 Dukkha G Sept. 19, 2019, 4:55 p.m. OK Java 8 TESTS 53 171 0 2900
60899227 uwi G Sept. 19, 2019, 8:15 p.m. OK Java 8 TESTS 53 218 0 2900
60899144 uwi G Sept. 19, 2019, 8:13 p.m. OK Java 8 TESTS 53 2916 0 2900
61051573 vjudge3 G Sept. 22, 2019, 6:41 a.m. OK MS C++ TESTS 53 77 8396800 2900
60955503 sansen G Sept. 21, 2019, 2:20 a.m. OK Rust TESTS 53 2386 8396800 2900

remove filters

Back to search problems