ICM Technex 2017 and Codeforces Round 400 (Div. 1 + Div. 2, combined)

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
776 ICM Technex 2017 and Codeforces Round 400 (Div. 1 + Div. 2, combined) FINISHED False 7800 243962099 Feb. 23, 2017, 2:45 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 339 ) G Sherlock and the Encrypted Data PROGRAMMING bitmasks combinatorics dp 2800

B'Sherlock found a piece of encrypted data which he thinks will be useful to catch Moriarty. The encrypted data consists of two integer l and r. He noticed that these integers were in hexadecimal form. He takes each of the integers from l to r, and performs the following operations: One more example: for integer 1e the sum is sum xe2 x80 x89= xe2 x80 x8921 xe2 x80 x89+ xe2 x80 x89214. Letters a, b, c, d, e, f denote hexadecimal digits 10, 11, 12, 13, 14, 15, respertively. Sherlock wants to count the numbers in the range from l to r (both inclusive) which decrease on application of the above four steps. He wants you to answer his q queries for different l and r. First line contains the integer q (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89q xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910000). Each of the next q lines contain two hexadecimal integers l and r (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89l xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89r xe2 x80 x89< xe2 x80 x891615). The hexadecimal integers are written using digits from 0 to 9 and/or lowercase English letters a, b, c, d, e, f. The hexadecimal integers do not contain extra leading zeros. Output q lines, i-th line contains answer to the i-th query (in decimal notation). For the second input, 1416 xe2 x80 x89= xe2 x80 x892010 sum xe2 x80 x89= xe2 x80 x8921 xe2 x80 x89+ xe2 x80 x8924 xe2 x80 x89= xe2 x80 x8918 Thus, it reduces. And, we can verify that it is the only number in range 1 to 1e that reduces. '...

Tutorials

ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
25070274 lkmcfj G Feb. 27, 2017, 6:30 a.m. OK FPC TESTS 70 140 1638400 2800
25026298 lkmcfj G Feb. 26, 2017, 1:26 a.m. OK FPC TESTS 70 155 1638400 2800
25101105 bzh G Feb. 28, 2017, 12:59 p.m. OK FPC TESTS 70 156 1740800 2800
24948398 sgtlaugh G Feb. 23, 2017, 8:53 p.m. OK GNU C TESTS 70 93 136396800 2800
27339555 jiyutian G May 25, 2017, 3:15 p.m. OK GNU C++ TESTS 70 46 0 2800
24953816 MemS G Feb. 24, 2017, 3:50 a.m. OK GNU C++ TESTS 70 46 2150400 2800
31530345 lyx_cjz G Oct. 20, 2017, 11:03 a.m. OK GNU C++ TESTS 70 77 2252800 2800
27463446 black_horse2014 G May 31, 2017, 9:45 a.m. OK GNU C++ TESTS 70 78 0 2800
25119604 liuyiluxun G March 1, 2017, 9:33 a.m. OK GNU C++ TESTS 70 78 136396800 2800
24965256 vjudge3 G Feb. 24, 2017, 10:31 a.m. OK GNU C++ TESTS 70 93 1843200 2800
25116046 ShinFeb G March 1, 2017, 6:25 a.m. OK GNU C++ TESTS 70 93 136601600 2800
27198647 Ajatar G May 18, 2017, 2:26 p.m. OK GNU C++ TESTS 70 93 151654400 2800
24956159 Amayoneko G Feb. 24, 2017, 6:23 a.m. OK GNU C++ TESTS 70 109 136601600 2800
31505117 zhoujundong G Oct. 19, 2017, 10:58 a.m. OK GNU C++ TESTS 70 109 212172800 2800
27330198 braveTester G May 25, 2017, 6:05 a.m. OK GNU C++11 TESTS 70 46 0 2800
25030124 Charles_Han G Feb. 26, 2017, 7:07 a.m. OK GNU C++11 TESTS 70 46 13926400 2800
40982194 ReaLNero1 G July 30, 2018, 6:19 p.m. OK GNU C++11 TESTS 70 62 11878400 2800
24957436 wtw G Feb. 24, 2017, 7:27 a.m. OK GNU C++11 TESTS 70 62 20992000 2800
25024367 BSBandme G Feb. 25, 2017, 9:49 p.m. OK GNU C++11 TESTS 70 78 2355200 2800
25024308 BSBandme G Feb. 25, 2017, 9:45 p.m. OK GNU C++11 TESTS 70 78 6348800 2800
25693918 J_X G March 21, 2017, 3:26 p.m. OK GNU C++11 TESTS 70 93 2150400 2800
57875302 lopare G July 28, 2019, 4:52 a.m. OK GNU C++11 TESTS 70 93 134451200 2800
31500902 ddfsb G Oct. 19, 2017, 8:07 a.m. OK GNU C++11 TESTS 70 93 136396800 2800
56192014 vjudge3 G June 28, 2019, 8:07 a.m. OK GNU C++11 TESTS 70 109 0 2800
56161157 vjudge2 G June 27, 2019, 12:23 p.m. OK GNU C++14 TESTS 70 46 160768000 2800
25379478 platypus179 G March 10, 2017, 12:37 p.m. OK GNU C++14 TESTS 70 77 30924800 2800
24939347 ainta G Feb. 23, 2017, 4:39 p.m. OK GNU C++14 TESTS 70 93 1945600 2800
41153213 MAMBA G Aug. 3, 2018, 10:16 a.m. OK GNU C++14 TESTS 70 93 134451200 2800
25079343 shdut G Feb. 27, 2017, 2:06 p.m. OK GNU C++14 TESTS 70 93 144793600 2800
25142088 jasonvictoryan G March 2, 2017, 7:56 a.m. OK GNU C++14 TESTS 70 93 154828800 2800
24938166 Shik G Feb. 23, 2017, 4:32 p.m. OK GNU C++14 TESTS 70 93 169984000 2800
31893836 wzf2000 G Oct. 30, 2017, 12:52 p.m. OK GNU C++14 TESTS 70 108 134451200 2800
38448534 vjudge1 G May 20, 2018, 5:51 a.m. OK GNU C++14 TESTS 70 108 134758400 2800
25112339 JoelSotoMamani G Feb. 28, 2017, 11:32 p.m. OK GNU C++14 TESTS 70 109 1945600 2800
47557817 _MGH_ G Dec. 27, 2018, 2:43 p.m. OK GNU C++17 TESTS 70 93 102400 2800
49952623 thisis G Feb. 15, 2019, 2:38 p.m. OK GNU C++17 TESTS 70 124 134451200 2800
42223871 Benq G Aug. 29, 2018, 12:16 a.m. OK GNU C++17 TESTS 70 202 17203200 2800
40744728 des1997 G July 25, 2018, 2:04 p.m. OK GNU C++17 TESTS 70 374 0 2800
49543764 Rzepa G Feb. 6, 2019, 8:12 p.m. OK GNU C++17 TESTS 70 1075 340684800 2800
47526350 Smaug G Dec. 26, 2018, 4:06 p.m. OK GNU C++17 TESTS 70 1918 0 2800
24938491 eatmore G Feb. 23, 2017, 4:34 p.m. OK Java 8 TESTS 70 249 20992000 2800
24939829 uwi G Feb. 23, 2017, 4:42 p.m. OK Java 8 TESTS 70 327 27238400 2800
63222947 Nutella3000 G Oct. 23, 2019, 8:27 a.m. OK Java 8 TESTS 70 421 70656000 2800
24939852 pashka G Feb. 23, 2017, 4:42 p.m. OK Java 8 TESTS 70 638 20992000 2800
25332052 IgorKoval G March 8, 2017, 1:18 a.m. OK Java 8 TESTS 70 639 27238400 2800
29964984 happybelly G Sept. 1, 2017, 5:59 a.m. OK Java 8 TESTS 70 763 0 2800
30007470 happybelly G Sept. 2, 2017, 9:11 a.m. OK Java 8 TESTS 70 1044 0 2800
24942540 Lewin G Feb. 23, 2017, 5:44 p.m. OK Java 8 TESTS 70 1809 21196800 2800
24944268 DEGwer G Feb. 23, 2017, 6:11 p.m. OK MS C++ TESTS 70 280 28672000 2800
24937440 lucyanna2018 G Feb. 23, 2017, 4:28 p.m. OK MS C++ TESTS 70 498 2150400 2800

remove filters

Back to search problems