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 |
---|---|---|---|---|---|---|
1195 | Codeforces Round 574 (Div. 2) | FINISHED | False | 7200 | 174065087 | July 17, 2019, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 7943 ) | D1 | Submarine in the Rybinsk Sea (easy edition) | PROGRAMMING | combinatorics math number theory | 1500 |
B"This problem differs from the next one only in the presence of the constraint on the equal length of all numbers a_1, a_2, ... , a_n . Actually, this problem is a subtask of the problem D2 from the same contest and the solution of D2 solves this subtask too. A team of SIS students is going to make a trip on a submarine. Their target is an ancient treasure in a sunken ship lying on the bottom of the Great Rybinsk sea. Unfortunately, the students don't know the coordinates of the ship, so they asked Meshanya (who is a hereditary mage) to help them. He agreed to help them, but only if they solve his problem. Let's denote a function that alternates digits of two numbers f(a_1 a_2 ... a_{p - 1} a_p, b_1 b_2 ... b_{q - 1} b_q) , where a_1 ... a_p and b_1 ... b_q are digits of two integers written in the decimal notation without leading zeros. In other words, the function f(x, y) alternately shuffles the digits of the numbers x and y by writing them from the lowest digits to the older ones, starting with the number y . The result of the function is also built from right to left (that is, from the lower digits to the older ones). If the digits of one of the arguments have ended, then the remaining digits of the other argument are written out. Familiarize with examples and formal definitions of the function below. For example: f(1111, 2222) = 12121212 f(7777, 888) = 7787878 f(33, 44444) = 4443434 f(555, 6) = 5556 f(111, 2222) = 2121212 Formally, Mishanya gives you an array consisting of n integers a_i . All numbers in this array are of equal length (that is, they consist of the same number of digits). Your task is to help students to calculate sum_{i = 1}^{n} sum_{j = 1}^{n} f(a_i, a_j) modulo 998 ,244 ,353 . The first line of the input contains a single integer n ( 1 <= n <= 100 ,000 ) -- the number of elements in th"... |
Разбор Codeforces Round #574 (Div. 2) |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
57504312 | Elisey_Muxin | D1 | July 22, 2019, 11:28 a.m. | OK | Clang++17 Diagnostics | TESTS | 22 | 1996 | 3481600 | 1500 | |
58199955 | hatsuyuki15 | D1 | Aug. 3, 2019, 3:30 a.m. | OK | D | TESTS | 22 | 62 | 0 | 1500 | |
57236153 | ruban | D1 | July 17, 2019, 4:24 p.m. | OK | Delphi | TESTS | 22 | 202 | 193024000 | 1500 | |
64159583 | Fidisk | D1 | Nov. 3, 2019, 2 p.m. | OK | FPC | TESTS | 22 | 46 | 307200 | 1500 | |
57233771 | fishybestgirl | D1 | July 17, 2019, 4:13 p.m. | OK | GNU C11 | TESTS | 22 | 46 | 0 | 1500 | |
59703297 | BugLeave | D1 | Aug. 30, 2019, 11:35 a.m. | OK | GNU C11 | TESTS | 22 | 46 | 0 | 1500 | |
59696433 | BugLeave | D1 | Aug. 30, 2019, 8:47 a.m. | OK | GNU C11 | TESTS | 22 | 46 | 409600 | 1500 | |
57240692 | MYNAMEISSHARIFUL | D1 | July 17, 2019, 5:35 p.m. | OK | GNU C11 | TESTS | 22 | 46 | 409600 | 1500 | |
57236802 | charlie_04 | D1 | July 17, 2019, 4:27 p.m. | OK | GNU C11 | TESTS | 22 | 46 | 819200 | 1500 | |
68672830 | kaiboy | D1 | Jan. 12, 2020, 5:25 p.m. | OK | GNU C11 | TESTS | 22 | 61 | 0 | 1500 | |
57238763 | coderbd | D1 | July 17, 2019, 4:34 p.m. | OK | GNU C11 | TESTS | 22 | 62 | 0 | 1500 | |
57640181 | MRoy | D1 | July 24, 2019, 12:21 p.m. | OK | GNU C11 | TESTS | 22 | 62 | 1638400 | 1500 | |
57234262 | liubin | D1 | July 17, 2019, 4:15 p.m. | OK | GNU C++11 | TESTS | 22 | 31 | 0 | 1500 | |
60063461 | HW_TXL | D1 | Sept. 5, 2019, 8:04 a.m. | OK | GNU C++11 | TESTS | 22 | 31 | 0 | 1500 | |
57234050 | NicoDafaGood | D1 | July 17, 2019, 4:15 p.m. | OK | GNU C++11 | TESTS | 22 | 31 | 0 | 1500 | |
57276250 | _ShadowSong | D1 | July 18, 2019, 10:58 a.m. | OK | GNU C++11 | TESTS | 22 | 31 | 0 | 1500 | |
57305247 | HXYerror | D1 | July 19, 2019, 3:13 a.m. | OK | GNU C++11 | TESTS | 22 | 31 | 0 | 1500 | |
57252494 | GaryMr | D1 | July 18, 2019, 12:32 a.m. | OK | GNU C++11 | TESTS | 22 | 31 | 409600 | 1500 | |
57251722 | dsrdsr | D1 | July 17, 2019, 11:44 p.m. | OK | GNU C++11 | TESTS | 22 | 31 | 409600 | 1500 | |
57251413 | dsrdsr | D1 | July 17, 2019, 11:27 p.m. | OK | GNU C++11 | TESTS | 22 | 31 | 409600 | 1500 | |
57431390 | X-knight | D1 | July 21, 2019, 1:44 a.m. | OK | GNU C++11 | TESTS | 22 | 31 | 409600 | 1500 | |
60826455 | OrzCrabby_Maskiv | D1 | Sept. 19, 2019, 4:22 a.m. | OK | GNU C++11 | TESTS | 22 | 31 | 409600 | 1500 | |
57312278 | one_punch | D1 | July 19, 2019, 6:56 a.m. | OK | GNU C++14 | TESTS | 22 | 30 | 2355200 | 1500 | |
57238494 | naman1208 | D1 | July 17, 2019, 4:33 p.m. | OK | GNU C++14 | TESTS | 22 | 31 | 0 | 1500 | |
69178406 | MegaOwIer | D1 | Jan. 20, 2020, 9:02 a.m. | OK | GNU C++14 | TESTS | 22 | 31 | 0 | 1500 | |
57327804 | opsopsops1 | D1 | July 19, 2019, 12:52 p.m. | OK | GNU C++14 | TESTS | 22 | 31 | 0 | 1500 | |
58868929 | rhrnald | D1 | Aug. 15, 2019, 2:31 p.m. | OK | GNU C++14 | TESTS | 22 | 31 | 0 | 1500 | |
59905541 | Jeffrey | D1 | Sept. 2, 2019, 3:13 p.m. | OK | GNU C++14 | TESTS | 22 | 31 | 0 | 1500 | |
62677945 | eye_musician | D1 | Oct. 16, 2019, 11:59 a.m. | OK | GNU C++14 | TESTS | 22 | 31 | 0 | 1500 | |
57316615 | Sanchay_Goel | D1 | July 19, 2019, 8:26 a.m. | OK | GNU C++14 | TESTS | 22 | 31 | 0 | 1500 | |
57258167 | vjudge1 | D1 | July 18, 2019, 3:27 a.m. | OK | GNU C++14 | TESTS | 22 | 31 | 0 | 1500 | |
57261129 | nandonathaniel | D1 | July 18, 2019, 5:12 a.m. | OK | GNU C++14 | TESTS | 22 | 31 | 0 | 1500 | |
57284011 | _c_k_r_ | D1 | July 18, 2019, 1:50 p.m. | OK | GNU C++17 | TESTS | 22 | 31 | 0 | 1500 | |
57833888 | neal | D1 | July 27, 2019, 6:55 a.m. | OK | GNU C++17 | TESTS | 22 | 31 | 0 | 1500 | |
57369662 | Hackerman | D1 | July 20, 2019, 10:28 a.m. | OK | GNU C++17 | TESTS | 22 | 31 | 0 | 1500 | |
57311771 | Dx18 | D1 | July 19, 2019, 6:45 a.m. | OK | GNU C++17 | TESTS | 22 | 31 | 0 | 1500 | |
57290785 | Arijit005 | D1 | July 18, 2019, 4:38 p.m. | OK | GNU C++17 | TESTS | 22 | 31 | 0 | 1500 | |
57241258 | ivan100sic | D1 | July 17, 2019, 5:42 p.m. | OK | GNU C++17 | TESTS | 22 | 31 | 0 | 1500 | |
57243077 | Finding_Infinity | D1 | July 17, 2019, 6:12 p.m. | OK | GNU C++17 | TESTS | 22 | 31 | 2355200 | 1500 | |
57245022 | indubitable | D1 | July 17, 2019, 6:59 p.m. | OK | GNU C++17 | TESTS | 22 | 31 | 2355200 | 1500 | |
57291443 | samhit1028055 | D1 | July 18, 2019, 4:55 p.m. | OK | GNU C++17 | TESTS | 22 | 31 | 2355200 | 1500 | |
58090724 | chinmay | D1 | July 31, 2019, 5:26 p.m. | OK | GNU C++17 | TESTS | 22 | 31 | 2355200 | 1500 | |
57299906 | Daario | D1 | July 18, 2019, 10:13 p.m. | OK | Go | TESTS | 22 | 140 | 0 | 1500 | |
57238065 | KOH | D1 | July 17, 2019, 4:32 p.m. | OK | Go | TESTS | 22 | 171 | 5222400 | 1500 | |
57510322 | predicate | D1 | July 22, 2019, 1:32 p.m. | OK | Go | TESTS | 22 | 264 | 819200 | 1500 | |
57510239 | predicate | D1 | July 22, 2019, 1:31 p.m. | OK | Go | TESTS | 22 | 280 | 819200 | 1500 | |
59752463 | reanimatorzon | D1 | Aug. 30, 2019, 4:17 p.m. | OK | Go | TESTS | 22 | 343 | 0 | 1500 | |
69863842 | GiantTornado | D1 | Jan. 30, 2020, 7:33 p.m. | OK | Java 11 | TESTS | 22 | 1528 | 0 | 1500 | |
66637399 | chojh1222 | D1 | Dec. 11, 2019, 1:28 p.m. | OK | Java 8 | TESTS | 22 | 124 | 0 | 1500 | |
59097757 | T_Nady | D1 | Aug. 19, 2019, 2:50 p.m. | OK | Java 8 | TESTS | 22 | 124 | 0 | 1500 | |
57274447 | rahsutamrev | D1 | July 18, 2019, 10:15 a.m. | OK | Java 8 | TESTS | 22 | 124 | 0 | 1500 | |
57557798 | beroul | D1 | July 22, 2019, 9:02 p.m. | OK | Java 8 | TESTS | 22 | 139 | 0 | 1500 | |
57489003 | xodiac | D1 | July 22, 2019, 6:25 a.m. | OK | Java 8 | TESTS | 22 | 139 | 0 | 1500 | |
57244580 | Whiplash99 | D1 | July 17, 2019, 6:47 p.m. | OK | Java 8 | TESTS | 22 | 139 | 0 | 1500 | |
57244371 | saptarshim | D1 | July 17, 2019, 6:41 p.m. | OK | Java 8 | TESTS | 22 | 139 | 0 | 1500 | |
57292243 | bleh0.5 | D1 | July 18, 2019, 5:17 p.m. | OK | Java 8 | TESTS | 22 | 139 | 2048000 | 1500 | |
57243832 | saisagar07121998 | D1 | July 17, 2019, 6:29 p.m. | OK | Java 8 | TESTS | 22 | 139 | 2150400 | 1500 | |
59411174 | the41 | D1 | Aug. 24, 2019, 3:55 p.m. | OK | Java 8 | TESTS | 22 | 139 | 2969600 | 1500 | |
57344755 | kuzAnatoliy | D1 | July 19, 2019, 9:37 p.m. | OK | JavaScript | TESTS | 22 | 295 | 34918400 | 1500 | |
57259949 | Spheniscine | D1 | July 18, 2019, 4:34 a.m. | OK | Kotlin | TESTS | 22 | 264 | 5632000 | 1500 | |
57234022 | IamLev | D1 | July 17, 2019, 4:14 p.m. | OK | Kotlin | TESTS | 22 | 358 | 6553600 | 1500 | |
57250504 | Tlatoani | D1 | July 17, 2019, 10:28 p.m. | OK | Kotlin | TESTS | 22 | 732 | 0 | 1500 | |
57263748 | og.kostya | D1 | July 18, 2019, 6:21 a.m. | OK | Mono C# | TESTS | 22 | 77 | 409600 | 1500 | |
59829021 | Lumin | D1 | Aug. 31, 2019, 9:14 p.m. | OK | Mono C# | TESTS | 22 | 108 | 11980800 | 1500 | |
57234197 | aliaksei.smaliuk | D1 | July 17, 2019, 4:15 p.m. | OK | Mono C# | TESTS | 22 | 108 | 17612800 | 1500 | |
57238166 | fr0st | D1 | July 17, 2019, 4:32 p.m. | OK | Mono C# | TESTS | 22 | 108 | 21094400 | 1500 | |
58622225 | Salatik231166 | D1 | Aug. 11, 2019, 4:14 p.m. | OK | Mono C# | TESTS | 22 | 202 | 11878400 | 1500 | |
58345843 | tihoson | D1 | Aug. 5, 2019, 2:56 p.m. | OK | Mono C# | TESTS | 22 | 233 | 30310400 | 1500 | |
58346151 | tihoson | D1 | Aug. 5, 2019, 3:04 p.m. | OK | Mono C# | TESTS | 22 | 249 | 30310400 | 1500 | |
57236120 | nigahouse1 | D1 | July 17, 2019, 4:24 p.m. | OK | Mono C# | TESTS | 22 | 405 | 19353600 | 1500 | |
57319208 | Dimon2305 | D1 | July 19, 2019, 9:19 a.m. | OK | Mono C# | TESTS | 22 | 764 | 15052800 | 1500 | |
57315347 | vjudge1 | D1 | July 19, 2019, 8:01 a.m. | OK | MS C++ | TESTS | 22 | 46 | 0 | 1500 | |
61552710 | vjudge1 | D1 | Sept. 30, 2019, 1:01 p.m. | OK | MS C++ | TESTS | 22 | 46 | 0 | 1500 | |
57268935 | vjudge5 | D1 | July 18, 2019, 8:12 a.m. | OK | MS C++ | TESTS | 22 | 46 | 0 | 1500 | |
57315301 | vjudge4 | D1 | July 19, 2019, 8 a.m. | OK | MS C++ | TESTS | 22 | 61 | 0 | 1500 | |
57578620 | vjudge5 | D1 | July 23, 2019, 8:02 a.m. | OK | MS C++ | TESTS | 22 | 62 | 0 | 1500 | |
57235996 | UoU | D1 | July 17, 2019, 4:23 p.m. | OK | MS C++ | TESTS | 22 | 62 | 0 | 1500 | |
58518371 | HBlade | D1 | Aug. 10, 2019, 2:21 a.m. | OK | MS C++ | TESTS | 22 | 62 | 819200 | 1500 | |
65256382 | vjudge1 | D1 | Nov. 17, 2019, 1:33 p.m. | OK | MS C++ | TESTS | 22 | 62 | 819200 | 1500 | |
58499312 | 511019727 | D1 | Aug. 9, 2019, 1:33 p.m. | OK | MS C++ | TESTS | 22 | 62 | 16076800 | 1500 | |
58518319 | HBlade | D1 | Aug. 10, 2019, 2:18 a.m. | OK | MS C++ | TESTS | 22 | 77 | 819200 | 1500 | |
57239001 | 2018030401051 | D1 | July 17, 2019, 4:34 p.m. | OK | MS C++ 2017 | TESTS | 22 | 46 | 0 | 1500 | |
57263233 | Mechorca | D1 | July 18, 2019, 6:08 a.m. | OK | MS C++ 2017 | TESTS | 22 | 46 | 0 | 1500 | |
57234387 | eyesofgod123 | D1 | July 17, 2019, 4:16 p.m. | OK | MS C++ 2017 | TESTS | 22 | 46 | 0 | 1500 | |
57263298 | Mechorca | D1 | July 18, 2019, 6:09 a.m. | OK | MS C++ 2017 | TESTS | 22 | 46 | 0 | 1500 | |
57278588 | 21181522 | D1 | July 18, 2019, 11:52 a.m. | OK | MS C++ 2017 | TESTS | 22 | 46 | 0 | 1500 | |
65913982 | UAV | D1 | Nov. 28, 2019, 1:54 p.m. | OK | MS C++ 2017 | TESTS | 22 | 46 | 0 | 1500 | |
57340222 | Gee1 | D1 | July 19, 2019, 6:06 p.m. | OK | MS C++ 2017 | TESTS | 22 | 62 | 0 | 1500 | |
57237485 | succ1815406055 | D1 | July 17, 2019, 4:29 p.m. | OK | MS C++ 2017 | TESTS | 22 | 62 | 0 | 1500 | |
57368073 | lyzdxh | D1 | July 20, 2019, 9:51 a.m. | OK | MS C++ 2017 | TESTS | 22 | 62 | 819200 | 1500 | |
57244381 | chun8hunzi | D1 | July 17, 2019, 6:42 p.m. | OK | MS C++ 2017 | TESTS | 22 | 62 | 2457600 | 1500 | |
57251658 | snape_here | D1 | July 17, 2019, 11:41 p.m. | OK | PyPy 2 | TESTS | 22 | 187 | 9011200 | 1500 | |
57233386 | swetanjal | D1 | July 17, 2019, 4:11 p.m. | OK | PyPy 2 | TESTS | 22 | 187 | 9011200 | 1500 | |
57249487 | Riolku | D1 | July 17, 2019, 9:34 p.m. | OK | PyPy 2 | TESTS | 22 | 202 | 8294400 | 1500 | |
59921475 | petabyte0 | D1 | Sept. 2, 2019, 11:20 p.m. | OK | PyPy 2 | TESTS | 22 | 202 | 8396800 | 1500 | |
58936657 | yumtam | D1 | Aug. 17, 2019, 4:42 a.m. | OK | PyPy 2 | TESTS | 22 | 202 | 9011200 | 1500 | |
57262184 | raj1307 | D1 | July 18, 2019, 5:45 a.m. | OK | PyPy 2 | TESTS | 22 | 202 | 10649600 | 1500 | |
57343388 | shanu_im | D1 | July 19, 2019, 8:26 p.m. | OK | PyPy 2 | TESTS | 22 | 248 | 8499200 | 1500 | |
57379409 | IngaleAnkur10 | D1 | July 20, 2019, 1:57 p.m. | OK | PyPy 2 | TESTS | 22 | 264 | 8704000 | 1500 | |
57269952 | hoangphuoc25 | D1 | July 18, 2019, 8:33 a.m. | OK | PyPy 2 | TESTS | 22 | 327 | 12492800 | 1500 | |
58832417 | ssk497 | D1 | Aug. 14, 2019, 6:36 p.m. | OK | PyPy 2 | TESTS | 22 | 420 | 12492800 | 1500 | |
57256857 | master_chief | D1 | July 18, 2019, 2:51 a.m. | OK | PyPy 3 | TESTS | 22 | 233 | 11161600 | 1500 | |
57256914 | mad_i | D1 | July 18, 2019, 2:52 a.m. | OK | PyPy 3 | TESTS | 22 | 233 | 11161600 | 1500 | |
57338799 | arun_y99 | D1 | July 19, 2019, 5:26 p.m. | OK | PyPy 3 | TESTS | 22 | 249 | 11264000 | 1500 | |
57236883 | pradeepdhankhar | D1 | July 17, 2019, 4:27 p.m. | OK | PyPy 3 | TESTS | 22 | 249 | 11468800 | 1500 | |
66882966 | ismail | D1 | Dec. 14, 2019, 5:12 p.m. | OK | PyPy 3 | TESTS | 22 | 264 | 12390400 | 1500 | |
57243473 | krishnanarwani | D1 | July 17, 2019, 6:20 p.m. | OK | PyPy 3 | TESTS | 22 | 280 | 11161600 | 1500 | |
57264567 | Saiphani724 | D1 | July 18, 2019, 6:39 a.m. | OK | PyPy 3 | TESTS | 22 | 280 | 11264000 | 1500 | |
57233138 | praveenojha33 | D1 | July 17, 2019, 4:10 p.m. | OK | PyPy 3 | TESTS | 22 | 280 | 16793600 | 1500 | |
57291999 | hardik04 | D1 | July 18, 2019, 5:10 p.m. | OK | PyPy 3 | TESTS | 22 | 296 | 11264000 | 1500 | |
57298805 | jay__0208 | D1 | July 18, 2019, 9:10 p.m. | OK | PyPy 3 | TESTS | 22 | 296 | 16691200 | 1500 | |
57706237 | NIeves | D1 | July 24, 2019, 8:12 p.m. | OK | Python 2 | TESTS | 22 | 545 | 15360000 | 1500 | |
57420785 | Helli.code | D1 | July 20, 2019, 6:12 p.m. | OK | Python 2 | TESTS | 22 | 842 | 5632000 | 1500 | |
57290581 | watchmedothis123 | D1 | July 18, 2019, 4:32 p.m. | OK | Python 2 | TESTS | 22 | 967 | 5529600 | 1500 | |
57236059 | i_am_chandu | D1 | July 17, 2019, 4:23 p.m. | OK | Python 2 | TESTS | 22 | 1294 | 6451200 | 1500 | |
57242578 | Ajinkya7 | D1 | July 17, 2019, 6:03 p.m. | OK | Python 2 | TESTS | 22 | 1325 | 6451200 | 1500 | |
57260961 | eugalt | D1 | July 18, 2019, 5:07 a.m. | OK | Python 3 | TESTS | 22 | 170 | 9625600 | 1500 | |
57258270 | eugalt | D1 | July 18, 2019, 3:32 a.m. | OK | Python 3 | TESTS | 22 | 186 | 8908800 | 1500 | |
57260369 | eugalt | D1 | July 18, 2019, 4:48 a.m. | OK | Python 3 | TESTS | 22 | 202 | 7475200 | 1500 | |
57233734 | MayureshPatle | D1 | July 17, 2019, 4:13 p.m. | OK | Python 3 | TESTS | 22 | 233 | 7475200 | 1500 | |
57234249 | sowlosc | D1 | July 17, 2019, 4:15 p.m. | OK | Python 3 | TESTS | 22 | 280 | 12697600 | 1500 | |
59916650 | chgliu | D1 | Sept. 2, 2019, 7:34 p.m. | OK | Python 3 | TESTS | 22 | 389 | 7475200 | 1500 | |
60329340 | AbdulRahman_Nour | D1 | Sept. 10, 2019, 4:43 a.m. | OK | Python 3 | TESTS | 22 | 390 | 7475200 | 1500 | |
57256977 | KanhuKeNanu | D1 | July 18, 2019, 2:53 a.m. | OK | Python 3 | TESTS | 22 | 436 | 7372800 | 1500 | |
57243327 | New.Ismail | D1 | July 17, 2019, 6:17 p.m. | OK | Python 3 | TESTS | 22 | 436 | 7372800 | 1500 | |
57731720 | ACE317 | D1 | July 25, 2019, 8:46 a.m. | OK | Python 3 | TESTS | 22 | 451 | 7475200 | 1500 | |
57342272 | rinzu | D1 | July 19, 2019, 7:33 p.m. | OK | Ruby | TESTS | 22 | 1184 | 17100800 | 1500 | |
57994274 | Lancern | D1 | July 30, 2019, 2:26 p.m. | OK | Rust | TESTS | 22 | 46 | 819200 | 1500 | |
57338632 | kobae964 | D1 | July 19, 2019, 5:21 p.m. | OK | Rust | TESTS | 22 | 218 | 1536000 | 1500 | |
57332378 | PLUkraine | D1 | July 19, 2019, 2:43 p.m. | OK | Scala | TESTS | 22 | 530 | 6144000 | 1500 |
Back to search problems