Codeforces Round 590 (Div. 3)

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
1234 Codeforces Round 590 (Div. 3) FINISHED False 8100 161882699 Oct. 1, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 15334 ) D Distinct Characters Queries PROGRAMMING data structures 1600

B'You are given a string s consisting of lowercase Latin letters and q queries for this string. Recall that the substring s[l; r] of the string s is the string s_l s_{l + 1} ... s_r . For example, the substrings of "codeforces" are "code", "force", "f", "for", but not "coder" and "top". There are two types of queries: The first line of the input contains one string s consisting of no more than 10^5 lowercase Latin letters. The second line of the input contains one integer q ( 1 <= q <= 10^5 ) -- the number of queries. The next q lines contain queries, one per line. Each query is given in the format described in the problem statement. It is guaranteed that there is at least one query of the second type. For each query of the second type print the answer for it -- the number of distinct characters in the required substring in this query. '...

Tutorials

Codeforces Round #590 (Div. 3) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
62469992 asdsteven D Oct. 13, 2019, 9:19 a.m. OK GNU C11 TESTS 61 390 1126400 1600
69368331 vjudge5 D Jan. 22, 2020, 4:52 p.m. OK GNU C11 TESTS 61 483 48230400 1600
68868813 jschr D Jan. 15, 2020, 2:28 p.m. OK GNU C11 TESTS 61 498 41779200 1600
61693437 chenyewei_1234 D Oct. 2, 2019, 6:20 a.m. OK GNU C++11 TESTS 61 62 1740800 1600
64147865 Icookie D Nov. 3, 2019, 10:28 a.m. OK GNU C++11 TESTS 61 62 1740800 1600
61972677 csw_ccc D Oct. 6, 2019, 9:32 a.m. OK GNU C++11 TESTS 61 62 1740800 1600
64148640 Icookie D Nov. 3, 2019, 10:42 a.m. OK GNU C++11 TESTS 61 62 1740800 1600
62170796 _violet D Oct. 9, 2019, 12:31 a.m. OK GNU C++11 TESTS 61 62 3584000 1600
62031660 juzixiong D Oct. 7, 2019, 1:17 a.m. OK GNU C++11 TESTS 61 78 5120000 1600
61826257 ReaLNero1 D Oct. 4, 2019, 4:54 a.m. OK GNU C++11 TESTS 61 78 5324800 1600
63299506 Bowence D Oct. 24, 2019, 1:54 p.m. OK GNU C++11 TESTS 61 78 10342400 1600
63266991 LuciferX07 D Oct. 24, 2019, 1:02 a.m. OK GNU C++11 TESTS 61 78 10342400 1600
62851656 wyy2004 D Oct. 18, 2019, 7:37 a.m. OK GNU C++11 TESTS 61 78 12492800 1600
61714872 nik_y D Oct. 2, 2019, 12:18 p.m. OK GNU C++14 TESTS 61 93 1126400 1600
61782920 SalePark D Oct. 3, 2019, 1:42 p.m. OK GNU C++14 TESTS 61 93 1843200 1600
68153488 KisekiPurin2019 D Jan. 4, 2020, 7:55 a.m. OK GNU C++14 TESTS 61 93 4198400 1600
61709676 yan-zp D Oct. 2, 2019, 11:09 a.m. OK GNU C++14 TESTS 61 108 1126400 1600
63074942 goodsergeant D Oct. 21, 2019, 1:27 p.m. OK GNU C++14 TESTS 61 108 1740800 1600
68398177 firiexp D Jan. 8, 2020, 12:01 p.m. OK GNU C++14 TESTS 61 109 1331200 1600
61785951 z472421519 D Oct. 3, 2019, 2:27 p.m. OK GNU C++14 TESTS 61 109 1740800 1600
62769930 shua_ti D Oct. 17, 2019, 9:55 a.m. OK GNU C++14 TESTS 61 109 1740800 1600
61900365 yuiyh D Oct. 5, 2019, 8:25 a.m. OK GNU C++14 TESTS 61 109 1740800 1600
61783628 XUANSE D Oct. 3, 2019, 1:53 p.m. OK GNU C++14 TESTS 61 109 1740800 1600
65208820 Michal_Grzymek D Nov. 16, 2019, 5:10 p.m. OK GNU C++17 TESTS 61 46 1126400 1600
65121736 Michal_Grzymek D Nov. 16, 2019, 1:58 a.m. OK GNU C++17 TESTS 61 46 1126400 1600
65168339 Michal_Grzymek D Nov. 16, 2019, 2:10 p.m. OK GNU C++17 TESTS 61 46 1126400 1600
65689682 Michal_Grzymek D Nov. 25, 2019, 3:47 a.m. OK GNU C++17 TESTS 61 46 1740800 1600
65209306 Michal_Grzymek D Nov. 16, 2019, 5:40 p.m. OK GNU C++17 TESTS 61 61 1126400 1600
65126511 Michal_Grzymek D Nov. 16, 2019, 2:46 a.m. OK GNU C++17 TESTS 61 61 1126400 1600
65209774 Michal_Grzymek D Nov. 16, 2019, 5:43 p.m. OK GNU C++17 TESTS 61 61 1228800 1600
65126488 Michal_Grzymek D Nov. 16, 2019, 2:45 a.m. OK GNU C++17 TESTS 61 61 1331200 1600
65113712 Michal_Grzymek D Nov. 16, 2019, 1:43 a.m. OK GNU C++17 TESTS 61 62 1126400 1600
65688470 Michal_Grzymek D Nov. 25, 2019, 2:39 a.m. OK GNU C++17 TESTS 61 62 1740800 1600
61875556 synapse D Oct. 4, 2019, 7:59 p.m. OK Go TESTS 61 405 14233600 1600
61875752 synapse D Oct. 4, 2019, 8:05 p.m. OK Go TESTS 61 452 14233600 1600
62171847 oleg.shtykov D Oct. 9, 2019, 1:30 a.m. OK Go TESTS 61 624 4505600 1600
61873041 maguroguma D Oct. 4, 2019, 6:59 p.m. OK Go TESTS 61 670 10444800 1600
61964033 maguroguma D Oct. 6, 2019, 8:20 a.m. OK Go TESTS 61 686 14233600 1600
68118642 maguroguma D Jan. 3, 2020, 12:27 p.m. OK Go TESTS 61 748 14233600 1600
68051553 TadijaSebez D Jan. 1, 2020, 7:09 p.m. OK Go TESTS 61 780 12492800 1600
63432911 adzo261 D Oct. 26, 2019, 9:40 a.m. OK Java 11 TESTS 61 935 3072000 1600
68440873 jakejase2 D Jan. 9, 2020, 10:54 a.m. OK Java 11 TESTS 61 1138 3276800 1600
63373138 cribabby D Oct. 25, 2019, 10:06 a.m. OK Java 11 TESTS 61 1372 5324800 1600
66562505 satya_p54 D Dec. 9, 2019, 7:39 p.m. OK Java 11 TESTS 61 1933 3686400 1600
61736683 shaurya_singh D Oct. 2, 2019, 6:28 p.m. OK Java 8 TESTS 61 186 0 1600
64607238 GiantTornado D Nov. 9, 2019, 9:32 p.m. OK Java 8 TESTS 61 202 0 1600
62825094 IDzekh D Oct. 17, 2019, 5:49 p.m. OK Java 8 TESTS 61 218 0 1600
61718107 Anirudh55 D Oct. 2, 2019, 1:05 p.m. OK Java 8 TESTS 61 233 0 1600
63282744 yaoct D Oct. 24, 2019, 9:15 a.m. OK Java 8 TESTS 61 249 0 1600
62551712 In_The_Name_Of_Love D Oct. 14, 2019, 8:55 a.m. OK Java 8 TESTS 61 249 15667200 1600
67995327 last.try D Dec. 31, 2019, 7:46 a.m. OK Java 8 TESTS 61 264 16179200 1600
62099263 Ruins D Oct. 8, 2019, 8:36 a.m. OK Java 8 TESTS 61 296 4403200 1600
61871803 Whiplash99 D Oct. 4, 2019, 6:30 p.m. OK Java 8 TESTS 61 327 13516800 1600
61826575 prem_cse D Oct. 4, 2019, 5:01 a.m. OK Java 8 TESTS 61 342 19046400 1600
61727156 walborn D Oct. 2, 2019, 3:47 p.m. OK JavaScript TESTS 61 1294 34918400 1600
64325025 walborn D Nov. 5, 2019, 4:58 p.m. OK JavaScript TESTS 61 1684 40652800 1600
67516029 Killer45 D Dec. 24, 2019, 10:53 a.m. OK Kotlin TESTS 61 545 33894400 1600
61957312 fredboy D Oct. 6, 2019, 6:18 a.m. OK Kotlin TESTS 61 935 6144000 1600
61754416 Java D Oct. 3, 2019, 4:54 a.m. OK Kotlin TESTS 61 1575 3174400 1600
61722897 schmak.ekb D Oct. 2, 2019, 2:17 p.m. OK Kotlin TESTS 61 1622 3481600 1600
61755469 Ahmadjon D Oct. 3, 2019, 5:20 a.m. OK Kotlin TESTS 61 1684 5017600 1600
61737044 Bobko D Oct. 2, 2019, 6:36 p.m. OK Kotlin TESTS 61 1824 3379200 1600
62446787 heat_wave D Oct. 13, 2019, 12:17 a.m. OK Kotlin TESTS 61 1872 3891200 1600
64108761 og.kostya D Nov. 2, 2019, 5:46 p.m. OK Mono C# TESTS 61 109 4710400 1600
63122961 DM7PvTyc D Oct. 22, 2019, 11:56 a.m. OK Mono C# TESTS 61 187 7475200 1600
63884956 m1_k3 D Oct. 30, 2019, 11:56 p.m. OK Mono C# TESTS 61 187 10240000 1600
63885214 m1_k3 D Oct. 31, 2019, 12:09 a.m. OK Mono C# TESTS 61 202 10240000 1600
63884360 m1_k3 D Oct. 30, 2019, 11:21 p.m. OK Mono C# TESTS 61 280 16384000 1600
63884118 m1_k3 D Oct. 30, 2019, 11:09 p.m. OK Mono C# TESTS 61 280 20684800 1600
64108137 og.kostya D Nov. 2, 2019, 5:30 p.m. OK Mono C# TESTS 61 311 38502400 1600
61951121 azukun D Oct. 6, 2019, 3:30 a.m. OK Mono C# TESTS 61 405 18124800 1600
61918555 hyzhangzhy D Oct. 5, 2019, 12:45 p.m. OK Mono C# TESTS 61 436 5427200 1600
61782181 hyzhangzhy D Oct. 3, 2019, 1:30 p.m. OK Mono C# TESTS 61 467 5017600 1600
62087098 vjudge2 D Oct. 8, 2019, 3 a.m. OK MS C++ TESTS 61 93 1740800 1600
61763828 vjudge1 D Oct. 3, 2019, 7:58 a.m. OK MS C++ TESTS 61 93 1740800 1600
61763261 vjudge3 D Oct. 3, 2019, 7:48 a.m. OK MS C++ TESTS 61 108 1740800 1600
61763665 vjudge1 D Oct. 3, 2019, 7:55 a.m. OK MS C++ TESTS 61 108 1740800 1600
66548108 vjudge3 D Dec. 9, 2019, 1:55 p.m. OK MS C++ TESTS 61 108 5120000 1600
61918417 vjudge3 D Oct. 5, 2019, 12:43 p.m. OK MS C++ TESTS 61 109 1740800 1600
62086961 vjudge1 D Oct. 8, 2019, 2:53 a.m. OK MS C++ TESTS 61 109 1740800 1600
64139880 vjudge5 D Nov. 3, 2019, 8:14 a.m. OK MS C++ TESTS 61 109 1945600 1600
69302693 vjudge2 D Jan. 22, 2020, 2:19 p.m. OK MS C++ TESTS 61 109 3276800 1600
62359207 vjudge5 D Oct. 11, 2019, 11:56 a.m. OK MS C++ TESTS 61 109 6553600 1600
61877994 CLown1331 D Oct. 4, 2019, 9:11 p.m. OK MS C++ 2017 TESTS 61 124 1843200 1600
61878030 CLown1331 D Oct. 4, 2019, 9:12 p.m. OK MS C++ 2017 TESTS 61 139 1843200 1600
61897214 CLown1331 D Oct. 5, 2019, 7:34 a.m. OK MS C++ 2017 TESTS 61 140 1843200 1600
61896886 CLown1331 D Oct. 5, 2019, 7:29 a.m. OK MS C++ 2017 TESTS 61 140 1843200 1600
61919036 vjudge4 D Oct. 5, 2019, 12:52 p.m. OK MS C++ 2017 TESTS 61 140 2150400 1600
61759510 RONGER D Oct. 3, 2019, 6:39 a.m. OK MS C++ 2017 TESTS 61 140 12185600 1600
62260330 RONGER D Oct. 10, 2019, noon OK MS C++ 2017 TESTS 61 140 12185600 1600
61765362 F91WoDaGe D Oct. 3, 2019, 8:26 a.m. OK MS C++ 2017 TESTS 61 156 48128000 1600
61765388 vjudge3 D Oct. 3, 2019, 8:27 a.m. OK MS C++ 2017 TESTS 61 171 48128000 1600
61728842 vjudge4 D Oct. 2, 2019, 4:13 p.m. OK MS C++ 2017 TESTS 61 218 20172800 1600
61982185 CLown1331 D Oct. 6, 2019, 12:23 p.m. OK Node.js TESTS 61 374 27750400 1600
61982234 CLown1331 D Oct. 6, 2019, 12:24 p.m. OK Node.js TESTS 61 1216 37580800 1600
61982017 CLown1331 D Oct. 6, 2019, 12:20 p.m. OK Node.js TESTS 61 1263 37580800 1600
61800584 shivam1420 D Oct. 3, 2019, 6:49 p.m. OK Node.js TESTS 61 1591 43315200 1600
61715361 iamprayush D Oct. 2, 2019, 12:25 p.m. OK PyPy 2 TESTS 61 1715 92876800 1600
61869523 Giflex D Oct. 4, 2019, 5:40 p.m. OK PyPy 2 TESTS 61 1856 9932800 1600
61882300 zaceleiseliakai D Oct. 5, 2019, 1:09 a.m. OK PyPy 2 TESTS 61 1996 92160000 1600
63349024 arp106 D Oct. 24, 2019, 8:40 p.m. OK PyPy 3 TESTS 61 436 10240000 1600
63350071 arp106 D Oct. 24, 2019, 9:15 p.m. OK PyPy 3 TESTS 61 436 10547200 1600
62011114 r_dmv D Oct. 6, 2019, 3:47 p.m. OK PyPy 3 TESTS 61 436 19558400 1600
62335288 _Kee D Oct. 11, 2019, 12:23 a.m. OK PyPy 3 TESTS 61 436 19763200 1600
63117738 MajAK D Oct. 22, 2019, 10:02 a.m. OK PyPy 3 TESTS 61 499 11059200 1600
61752805 Ueki D Oct. 3, 2019, 4:15 a.m. OK PyPy 3 TESTS 61 576 27545600 1600
61774726 yugle7 D Oct. 3, 2019, 11:22 a.m. OK PyPy 3 TESTS 61 592 10956800 1600
67417971 Cloverr_ D Dec. 22, 2019, 10:36 a.m. OK PyPy 3 TESTS 61 670 13619200 1600
61787271 Tschech D Oct. 3, 2019, 2:48 p.m. OK PyPy 3 TESTS 61 717 10649600 1600
61899481 orailly D Oct. 5, 2019, 8:12 a.m. OK PyPy 3 TESTS 61 810 34508800 1600
61829269 solzard D Oct. 4, 2019, 6:01 a.m. OK Python 3 TESTS 61 1356 24473600 1600
61828941 solzard D Oct. 4, 2019, 5:55 a.m. OK Python 3 TESTS 61 1372 25292800 1600
61829557 solzard D Oct. 4, 2019, 6:07 a.m. OK Python 3 TESTS 61 1419 24985600 1600
67565344 Cloverr_ D Dec. 24, 2019, 7:03 p.m. OK Python 3 TESTS 61 1481 10035200 1600
62970003 vishnutheerthep D Oct. 20, 2019, 6:33 a.m. OK Python 3 TESTS 61 1606 6041600 1600
61878131 solzard D Oct. 4, 2019, 9:16 p.m. OK Python 3 TESTS 61 1606 24985600 1600
62086873 ghjk0498 D Oct. 8, 2019, 2:48 a.m. OK Python 3 TESTS 61 1622 20684800 1600
67447907 Cloverr_ D Dec. 23, 2019, 12:30 a.m. OK Python 3 TESTS 61 1699 10035200 1600
62157498 solzard D Oct. 8, 2019, 5:13 p.m. OK Python 3 TESTS 61 1699 24985600 1600
67447639 Cloverr_ D Dec. 23, 2019, 12:09 a.m. OK Python 3 TESTS 61 1715 10035200 1600
61872066 bor.is D Oct. 4, 2019, 6:35 p.m. OK Rust TESTS 61 935 4505600 1600
62742190 maxglushkov561 D Oct. 16, 2019, 8:10 p.m. OK Rust TESTS 61 950 1126400 1600
62044455 akiradeveloper D Oct. 7, 2019, 7:04 a.m. OK Rust TESTS 61 951 5222400 1600
61884894 cptrodgers D Oct. 5, 2019, 2:52 a.m. OK Rust TESTS 61 1200 2560000 1600
61742268 Dawer D Oct. 2, 2019, 8:56 p.m. OK Rust TESTS 61 1216 1536000 1600
62246331 BalabanovoGrief D Oct. 10, 2019, 6:23 a.m. OK Rust TESTS 61 1216 72601600 1600
65508591 wrick D Nov. 22, 2019, 1:40 a.m. OK Scala TESTS 61 1809 13312000 1600

remove filters

Back to search problems