Codeforces Round 186 (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
313 Codeforces Round 186 (Div. 2) FINISHED False 7200 361895399 May 30, 2013, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 553 ) E Ilya and Two Numbers PROGRAMMING constructive algorithms data structures ds greedy 2300

B"Ilya has recently taken up archaeology. He's recently found two numbers, written in the m-based notation. Each of the found numbers consisted of exactly n digits. Ilya immediately started looking for information about those numbers. He learned that the numbers are part of a cyphered code and the one who can decypher it can get the greatest treasure. After considerable research Ilya understood that to decypher the code, he should do the following: Help Ilya, find the key to the code. The first line contains two integers n, xe2 x80 x89m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105, xe2 x80 x89m xe2 x80 x89> xe2 x80 x891). The second line contains the first found number, the third line contains the second found number. The numbers are recorded as a sequence of digits in the m-based notation. Each digit is an integer from 0 to m xe2 x80 x89- xe2 x80 x891. The digits in the line are written in the order from the most significant digits to the least significant ones. The given numbers can contain leading zeroes. Print n m-base digits. The resulting third number written in the m-based notation. Print the digits in the order from the most significant digits to the least significant ones."...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
37893347 vjudge5 E May 5, 2018, 12:16 a.m. OK GNU C++ TESTS 65 124 6041600 2300
22580119 vjudge5 E Nov. 28, 2016, 3:31 p.m. OK GNU C++ TESTS 65 218 1638400 2300
35859102 ______u______ E March 2, 2018, 9:13 p.m. OK GNU C++ TESTS 65 810 3686400 2300
35859094 ______n______ E March 2, 2018, 9:13 p.m. OK GNU C++ TESTS 65 810 3686400 2300
35858677 _____i_____ E March 2, 2018, 9:05 p.m. OK GNU C++ TESTS 65 810 3686400 2300
35858367 _____k_____ E March 2, 2018, 8:57 p.m. OK GNU C++ TESTS 65 810 3686400 2300
35854676 ______h______ E March 2, 2018, 7:46 p.m. OK GNU C++ TESTS 65 810 3686400 2300
35854648 ______k______ E March 2, 2018, 7:45 p.m. OK GNU C++ TESTS 65 810 3686400 2300
35854153 ______i______ E March 2, 2018, 7:37 p.m. OK GNU C++ TESTS 65 810 3686400 2300
35847266 ______M______ E March 2, 2018, 4:40 p.m. OK GNU C++ TESTS 65 810 3686400 2300
22499987 victoragnez E Nov. 26, 2016, 2:21 a.m. OK GNU C++11 TESTS 65 60 4915200 2300
40989850 ReaLNero1 E July 30, 2018, 11:21 p.m. OK GNU C++11 TESTS 65 92 1638400 2300
25704172 McGinn E March 22, 2017, 5:46 a.m. OK GNU C++11 TESTS 65 124 3686400 2300
28152719 mental.cat E June 29, 2017, 4:55 p.m. OK GNU C++11 TESTS 65 154 42188800 2300
49173223 Sherek E Jan. 29, 2019, 7:04 p.m. OK GNU C++11 TESTS 65 156 1638400 2300
22499935 victoragnez E Nov. 26, 2016, 2:10 a.m. OK GNU C++11 TESTS 65 156 1638400 2300
60584209 rainboy E Sept. 14, 2019, 8:05 p.m. OK GNU C++11 TESTS 65 156 1843200 2300
22499922 victoragnez E Nov. 26, 2016, 2:08 a.m. OK GNU C++11 TESTS 65 156 1945600 2300
45397673 SCL_ E Nov. 7, 2018, 6:12 a.m. OK GNU C++11 TESTS 65 156 2048000 2300
22499958 victoragnez E Nov. 26, 2016, 2:15 a.m. OK GNU C++11 TESTS 65 156 2867200 2300
54509461 bhargav_0085 E May 23, 2019, 6:17 a.m. OK GNU C++14 TESTS 65 156 1740800 2300
48926033 Nimazare E Jan. 25, 2019, 10:30 a.m. OK GNU C++14 TESTS 65 156 1740800 2300
42237889 ArshiaDadras E Aug. 29, 2018, 10:50 a.m. OK GNU C++14 TESTS 65 156 1740800 2300
27230797 vjudge2 E May 20, 2017, 7:59 a.m. OK GNU C++14 TESTS 65 156 1740800 2300
27230760 IMyself E May 20, 2017, 7:57 a.m. OK GNU C++14 TESTS 65 156 1740800 2300
33500165 vjudge5 E Dec. 22, 2017, 10:13 a.m. OK GNU C++14 TESTS 65 156 4812800 2300
61455413 hugcc E Sept. 29, 2019, 5:59 a.m. OK GNU C++14 TESTS 65 186 1638400 2300
40872609 Dibagger E July 28, 2018, 7:03 a.m. OK GNU C++14 TESTS 65 186 1638400 2300
45396499 LLL_2820 E Nov. 7, 2018, 5:04 a.m. OK GNU C++14 TESTS 65 186 2048000 2300
49108518 feri80 E Jan. 28, 2019, 2:02 p.m. OK GNU C++14 TESTS 65 186 2150400 2300
54340695 vjudge2 E May 18, 2019, 10:11 a.m. OK GNU C++17 TESTS 65 156 1638400 2300
47371801 cyg_serban E Dec. 22, 2018, 2:42 p.m. OK GNU C++17 TESTS 65 156 1740800 2300
47078038 pishbeenZ E Dec. 15, 2018, 5:57 p.m. OK GNU C++17 TESTS 65 156 1740800 2300
54340798 zz212088 E May 18, 2019, 10:13 a.m. OK GNU C++17 TESTS 65 156 2457600 2300
48268010 AliShahali1382 E Jan. 11, 2019, 9:57 p.m. OK GNU C++17 TESTS 65 184 2355200 2300
54340701 hznu_kk E May 18, 2019, 10:11 a.m. OK GNU C++17 TESTS 65 186 1638400 2300
54336932 vjudge1 E May 18, 2019, 8:33 a.m. OK GNU C++17 TESTS 65 186 1638400 2300
53988566 Againstmoon E May 11, 2019, 11:06 a.m. OK GNU C++17 TESTS 65 186 1638400 2300
52522531 Ari E April 9, 2019, 9:36 a.m. OK GNU C++17 TESTS 65 186 2355200 2300
48268028 AliShahali1382 E Jan. 11, 2019, 9:58 p.m. OK GNU C++17 TESTS 65 186 2355200 2300
34053517 Minaa E Jan. 9, 2018, 4:26 p.m. OK Java 8 TESTS 65 468 22016000 2300
60584027 Dukkha E Sept. 14, 2019, 7:58 p.m. OK Java 8 TESTS 65 778 0 2300

remove filters

Back to search problems