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 |
---|---|---|---|---|---|---|
1913 | Educational Codeforces Round 160 (Rated for Div. 2) | FINISHED | False | 7200 | 34269863 | Dec. 18, 2023, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1088 ) | E | Matrix Problem | PROGRAMMING | flows graph matchings graphs |
B'You are given a matrix a , consisting of n rows by m columns. Each element of the matrix is equal to 0 or 1 . You can perform the following operation any number of times (possibly zero): choose an element of the matrix and replace it with either 0 or 1 . You are also given two arrays A and B (of length n and m respectively). After you perform the operations, the matrix should satisfy the following conditions: Calculate the minimum number of operations you have to perform. The first line contains two integers n and m ( 2 <= n, m <= 50 ). Then n lines follow. The i -th of them contains m integers a_{i,1}, a_{i,2}, ... , a_{i,m} ( 0 <= a_{i,j} <= 1 ). The next line contains n integers A_1, A_2, ... , A_n ( 0 <= A_i <= m ). The next line contains m integers B_1, B_2, ... , B_m ( 0 <= B_i <= n ). Print one integer -- the minimum number of operations you have to perform, or -1 if it is impossible. '... |
123493 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
237863864 | zhangmingzu | E | Dec. 19, 2023, 3:10 a.m. | OK | GNU C++14 | TESTS | 101 | 15 | 3174400 | ||
237869664 | xkcdjerry | E | Dec. 19, 2023, 4:49 a.m. | OK | GNU C++14 | TESTS | 101 | 31 | 61542400 | ||
237868585 | 2100030603.cseh | E | Dec. 19, 2023, 4:32 a.m. | OK | GNU C++14 | TESTS | 101 | 46 | 512000 | ||
237849393 | luogu_bot1 | E | Dec. 19, 2023, 12:53 a.m. | OK | GNU C++14 | TESTS | 101 | 46 | 1740800 | ||
237816317 | NoorusSamad | E | Dec. 18, 2023, 4:38 p.m. | OK | GNU C++14 | TESTS | 101 | 46 | 2457600 | ||
237865087 | CJ_xde_lt | E | Dec. 19, 2023, 3:32 a.m. | OK | GNU C++14 | TESTS | 101 | 46 | 168652800 | ||
237834475 | ShadharonShompadok | E | Dec. 18, 2023, 7:09 p.m. | OK | GNU C++14 | TESTS | 101 | 62 | 614400 | ||
237847736 | SoyTony | E | Dec. 18, 2023, 11:50 p.m. | OK | GNU C++14 | TESTS | 101 | 62 | 3276800 | ||
237811582 | Leo_W | E | Dec. 18, 2023, 4:28 p.m. | OK | GNU C++14 | TESTS | 101 | 62 | 3891200 | ||
237814591 | ghoul_SSS | E | Dec. 18, 2023, 4:33 p.m. | OK | GNU C++14 | TESTS | 101 | 311 | 1331200 | ||
237820386 | G_X_J | E | Dec. 18, 2023, 5:01 p.m. | OK | GNU C++17 | TESTS | 101 | 15 | 307200 | ||
237817535 | Drlobster | E | Dec. 18, 2023, 4:44 p.m. | OK | GNU C++17 | TESTS | 101 | 15 | 2969600 | ||
237866355 | old_wrp | E | Dec. 19, 2023, 3:54 a.m. | OK | GNU C++17 | TESTS | 101 | 31 | 307200 | ||
237820527 | ND0322 | E | Dec. 18, 2023, 5:02 p.m. | OK | GNU C++17 | TESTS | 101 | 31 | 512000 | ||
237813270 | Muelsyse_sep003 | E | Dec. 18, 2023, 4:31 p.m. | OK | GNU C++17 | TESTS | 101 | 31 | 921600 | ||
237869255 | zrkcdd | E | Dec. 19, 2023, 4:42 a.m. | OK | GNU C++17 | TESTS | 101 | 31 | 1638400 | ||
237832108 | dipanjan.mandal2001 | E | Dec. 18, 2023, 6:41 p.m. | OK | GNU C++17 | TESTS | 101 | 31 | 1638400 | ||
237820114 | hxa_juruo | E | Dec. 18, 2023, 4:59 p.m. | OK | GNU C++17 | TESTS | 101 | 31 | 4096000 | ||
237815496 | Durumari | E | Dec. 18, 2023, 4:34 p.m. | OK | GNU C++17 | TESTS | 101 | 46 | 307200 | ||
237823946 | bobbilyking | E | Dec. 18, 2023, 5:26 p.m. | OK | GNU C++17 | TESTS | 101 | 46 | 409600 | ||
237850666 | Enaliy | E | Dec. 19, 2023, 1:38 a.m. | OK | GNU C++17 (64) | TESTS | 101 | 15 | 204800 | ||
237847529 | CHK6666 | E | Dec. 18, 2023, 11:42 p.m. | OK | GNU C++17 (64) | TESTS | 101 | 15 | 716800 | ||
237849414 | Binp | E | Dec. 19, 2023, 12:54 a.m. | OK | GNU C++17 (64) | TESTS | 101 | 15 | 3174400 | ||
237851022 | Yu_Jie | E | Dec. 19, 2023, 1:48 a.m. | OK | GNU C++17 (64) | TESTS | 101 | 31 | 102400 | ||
237873512 | User-Unauthorized | E | Dec. 19, 2023, 5:39 a.m. | OK | GNU C++17 (64) | TESTS | 101 | 31 | 409600 | ||
237847711 | User-Unauthorized | E | Dec. 18, 2023, 11:49 p.m. | OK | GNU C++17 (64) | TESTS | 101 | 31 | 409600 | ||
237848364 | songke123 | E | Dec. 19, 2023, 12:15 a.m. | OK | GNU C++17 (64) | TESTS | 101 | 31 | 1638400 | ||
237809523 | Remilia1023 | E | Dec. 18, 2023, 4:24 p.m. | OK | GNU C++17 (64) | TESTS | 101 | 31 | 7270400 | ||
237818966 | marks39 | E | Dec. 18, 2023, 4:52 p.m. | OK | GNU C++17 (64) | TESTS | 101 | 46 | 307200 | ||
237862994 | Once_I_Liked_AGirl | E | Dec. 19, 2023, 2:53 a.m. | OK | GNU C++17 (64) | TESTS | 101 | 46 | 409600 | ||
237869616 | Fiatiustitia | E | Dec. 19, 2023, 4:48 a.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 204800 | ||
237815067 | sysulby | E | Dec. 18, 2023, 4:34 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 204800 | ||
237814555 | sysulby | E | Dec. 18, 2023, 4:33 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 204800 | ||
237822602 | sine_and_cosine | E | Dec. 18, 2023, 5:16 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 512000 | ||
237822314 | sine_or_cosine | E | Dec. 18, 2023, 5:14 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 512000 | ||
237866324 | wfb | E | Dec. 19, 2023, 3:54 a.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 1331200 | ||
237817119 | suziki | E | Dec. 18, 2023, 4:42 p.m. | OK | GNU C++20 (64) | TESTS | 101 | 15 | 1638400 | ||
237869313 | ollo | E | Dec. 19, 2023, 4:43 a.m. | OK | GNU C++20 (64) | TESTS | 101 | 31 | 204800 | ||
237868935 | BuddhaBarFans | E | Dec. 19, 2023, 4:37 a.m. | OK | GNU C++20 (64) | TESTS | 101 | 31 | 204800 | ||
237872097 | FelixArg | E | Dec. 19, 2023, 5:20 a.m. | OK | GNU C++20 (64) | TESTS | 101 | 31 | 307200 | ||
237818991 | ManojkumarPatanik | E | Dec. 18, 2023, 4:52 p.m. | OK | PyPy 3-64 | TESTS | 101 | 202 | 7884800 | ||
237866526 | yuki_keshiki | E | Dec. 19, 2023, 3:57 a.m. | OK | PyPy 3-64 | TESTS | 101 | 249 | 8192000 | ||
237871724 | zouyu9631 | E | Dec. 19, 2023, 5:16 a.m. | OK | PyPy 3-64 | TESTS | 101 | 514 | 15667200 | ||
237871907 | zouyu9631 | E | Dec. 19, 2023, 5:18 a.m. | OK | PyPy 3-64 | TESTS | 101 | 529 | 16691200 | ||
237868067 | zouyu9631 | E | Dec. 19, 2023, 4:24 a.m. | OK | PyPy 3-64 | TESTS | 101 | 545 | 15872000 | ||
237866745 | zouyu9631 | E | Dec. 19, 2023, 4:01 a.m. | OK | PyPy 3-64 | TESTS | 101 | 577 | 15462400 | ||
237875277 | toor | E | Dec. 19, 2023, 5:59 a.m. | OK | Rust 2021 | TESTS | 101 | 46 | 409600 |
Back to search problems