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 |
---|---|---|---|---|---|---|
1575 | COMPFEST 13 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred) | FINISHED | False | 18000 | 103998263 | Oct. 2, 2021, 1:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 2659 ) | D | Divisible by Twenty-Five | PROGRAMMING | brute force dfs and similar dp |
B"Mr. Chanek has an integer represented by a string s . Zero or more digits have been erased and are denoted by the character _. There are also zero or more digits marked by the character X, meaning they're the same digit. Mr. Chanek wants to count the number of possible integer s , where s is divisible by 25 . Of course, s must not contain any leading zero. He can replace the character _ with any digit. He can also replace the character X with any digit, but it must be the same for every character X. As a note, a leading zero is any 0 digit that comes before the first nonzero digit in a number string in positional notation. For example, 0025 has two leading zeroes. An exception is the integer zero, (0 has no leading zero, but 0000 has three leading zeroes). One line containing the string s ( 1 <= q |s| <= q 8 ). The string s consists of the characters 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, _, and X. Output an integer denoting the number of possible integer s . In the first example, the only possible s is 25 . In the second and third example, s in {100, 200,300,400,500,600,700,800,900 } . In the fifth example, all possible s will have at least one leading zero. "... |
COMPFEST 13 — Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
130591883 | DynamicsIvI baocongidol NguyenHuyJethro | D | Oct. 2, 2021, 6:30 p.m. | OK | GNU C++14 | TESTS | 51 | 15 | 3788800 | ||
130594399 | shohan_01 | D | Oct. 2, 2021, 7:13 p.m. | OK | GNU C++14 | TESTS | 51 | 30 | 3788800 | ||
130585951 | obaydullahmhs Mr_Frodo arnab_sheikh | D | Oct. 2, 2021, 5:10 p.m. | OK | GNU C++14 | TESTS | 51 | 30 | 3788800 | ||
130581098 | GoodwillLIon Chrisedyong | D | Oct. 2, 2021, 4:07 p.m. | OK | GNU C++14 | TESTS | 51 | 30 | 3788800 | ||
130579451 | I_love_cyan riyuu | D | Oct. 2, 2021, 3:48 p.m. | OK | GNU C++14 | TESTS | 51 | 30 | 3788800 | ||
130617015 | shdut0901 | D | Oct. 3, 2021, 5:34 a.m. | OK | GNU C++14 | TESTS | 56 | 31 | 3788800 | ||
130616488 | ks3rr | D | Oct. 3, 2021, 5:25 a.m. | OK | GNU C++14 | TESTS | 56 | 31 | 3788800 | ||
130615061 | gangilvaibhav | D | Oct. 3, 2021, 4:56 a.m. | OK | GNU C++14 | TESTS | 56 | 31 | 3788800 | ||
130605259 | rohit_goyal | D | Oct. 3, 2021, 12:02 a.m. | OK | GNU C++14 | TESTS | 53 | 31 | 3788800 | ||
130588724 | firizky DeeGeeDow Romy67 | D | Oct. 2, 2021, 5:48 p.m. | OK | GNU C++14 | TESTS | 51 | 31 | 3788800 | ||
130581779 | Izeytee artem21215 | D | Oct. 2, 2021, 4:15 p.m. | OK | GNU C++17 | TESTS | 51 | 15 | 3788800 | ||
130579073 | islingr tamajitbuba | D | Oct. 2, 2021, 3:44 p.m. | OK | GNU C++17 | TESTS | 51 | 15 | 3788800 | ||
130582980 | YaMi506 t0rtik 0x5AFEC0DE | D | Oct. 2, 2021, 4:30 p.m. | OK | GNU C++17 | TESTS | 51 | 15 | 3891200 | ||
130615084 | sharad_sharma | D | Oct. 3, 2021, 4:57 a.m. | OK | GNU C++17 | TESTS | 56 | 30 | 3788800 | ||
130593186 | rahul_rax | D | Oct. 2, 2021, 6:51 p.m. | OK | GNU C++17 | TESTS | 51 | 30 | 3788800 | ||
130587066 | hihihaha123 gatapcode huykhanh | D | Oct. 2, 2021, 5:25 p.m. | OK | GNU C++17 | TESTS | 51 | 30 | 3788800 | ||
130583045 | YaMi506 t0rtik 0x5AFEC0DE | D | Oct. 2, 2021, 4:30 p.m. | OK | GNU C++17 | TESTS | 51 | 30 | 3788800 | ||
130581883 | alexanderanchishkin Kian_1t AERIA1 | D | Oct. 2, 2021, 4:16 p.m. | OK | GNU C++17 | TESTS | 51 | 30 | 3788800 | ||
130580182 | bobbysusanto rain. 7427466391 | D | Oct. 2, 2021, 3:56 p.m. | OK | GNU C++17 | TESTS | 51 | 30 | 3788800 | ||
130578952 | Nich728 Hibiki-chan ConvexHull89 | D | Oct. 2, 2021, 3:42 p.m. | OK | GNU C++17 | TESTS | 51 | 30 | 3788800 | ||
130617881 | lucccff | D | Oct. 3, 2021, 5:49 a.m. | OK | GNU C++17 (64) | TESTS | 56 | 15 | 4300800 | ||
130614487 | Roundgod | D | Oct. 3, 2021, 4:44 a.m. | OK | GNU C++17 (64) | TESTS | 56 | 15 | 4300800 | ||
130610946 | Mitsukasa_Ayase | D | Oct. 3, 2021, 3:21 a.m. | OK | GNU C++17 (64) | TESTS | 56 | 15 | 4300800 | ||
130607936 | Alan233 | D | Oct. 3, 2021, 2 a.m. | OK | GNU C++17 (64) | TESTS | 53 | 15 | 4300800 | ||
130592415 | trainwithoutpain | D | Oct. 2, 2021, 6:38 p.m. | OK | GNU C++17 (64) | TESTS | 51 | 15 | 4300800 | ||
130575628 | kpS128 roy.satyam recurring_raj | D | Oct. 2, 2021, 3:06 p.m. | OK | GNU C++17 (64) | TESTS | 51 | 15 | 4300800 | ||
130571417 | CloudKit crescent_yhw ooooxxxx | D | Oct. 2, 2021, 2:24 p.m. | OK | GNU C++17 (64) | TESTS | 51 | 15 | 4300800 | ||
130568241 | Grapeee | D | Oct. 2, 2021, 1:54 p.m. | OK | GNU C++17 (64) | TESTS | 51 | 15 | 4403200 | ||
130605713 | HollwoQ_Pelw | D | Oct. 3, 2021, 12:19 a.m. | OK | GNU C++17 (64) | TESTS | 53 | 15 | 4505600 | ||
130575284 | SampsonYW | D | Oct. 2, 2021, 3:02 p.m. | OK | GNU C++17 (64) | TESTS | 51 | 15 | 6451200 | ||
130572709 | clyring | D | Oct. 2, 2021, 2:37 p.m. | OK | Haskell | TESTS | 51 | 30 | 11673600 | ||
130569837 | _merlin_ | D | Oct. 2, 2021, 2:10 p.m. | OK | Java 11 | TESTS | 51 | 186 | 24268800 | ||
130568775 | its_aks_ulure | D | Oct. 2, 2021, 2 p.m. | OK | Java 11 | TESTS | 51 | 187 | 24371200 | ||
130580811 | sajibcuet09 | D | Oct. 2, 2021, 4:03 p.m. | OK | Java 8 | TESTS | 51 | 108 | 20787200 | ||
130576024 | okey001 | D | Oct. 2, 2021, 3:10 p.m. | OK | MS C++ 2017 | TESTS | 51 | 31 | 3686400 | ||
130580709 | ryuflower hoxymola-_- | D | Oct. 2, 2021, 4:02 p.m. | OK | MS C++ 2017 | TESTS | 51 | 62 | 3788800 | ||
130586616 | Alenochka sergeyp767 Vsein | D | Oct. 2, 2021, 5:19 p.m. | OK | MS C++ 2017 | TESTS | 51 | 810 | 3788800 | ||
130588314 | michal.barnisin14 | D | Oct. 2, 2021, 5:42 p.m. | OK | PyPy 3 | TESTS | 51 | 93 | 20172800 | ||
130587275 | Pa_sha Bogdan_feysa Skillful_Wanderer | D | Oct. 2, 2021, 5:28 p.m. | OK | PyPy 3 | TESTS | 51 | 108 | 20172800 | ||
130572097 | manish.17 | D | Oct. 2, 2021, 2:30 p.m. | OK | PyPy 3 | TESTS | 51 | 498 | 22937600 | ||
130574403 | googol_S0 PCTprobability | D | Oct. 2, 2021, 2:53 p.m. | OK | PyPy 3 | TESTS | 51 | 623 | 23142400 | ||
130574535 | _ibsti giant-mammoth LaZY_LaD_69 | D | Oct. 2, 2021, 2:55 p.m. | OK | PyPy 3 | TESTS | 51 | 686 | 30924800 | ||
130578693 | ArpinFidel danielagatan Clapie | D | Oct. 2, 2021, 3:40 p.m. | OK | Python 3 | TESTS | 51 | 62 | 6963200 | ||
130580172 | dzuizz ainunnajib | D | Oct. 2, 2021, 3:56 p.m. | OK | Python 3 | TESTS | 51 | 77 | 6963200 | ||
130570878 | sansen | D | Oct. 2, 2021, 2:19 p.m. | OK | Rust | TESTS | 51 | 31 | 3788800 | ||
130573009 | kobae964 | D | Oct. 2, 2021, 2:40 p.m. | OK | Rust | TESTS | 51 | 1216 | 3788800 |
Back to search problems