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 |
---|---|---|---|---|---|---|
1474 | Codeforces Round 696 (Div. 2) | FINISHED | False | 7200 | 126285911 | Jan. 19, 2021, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 30159 ) | B | Different Divisors | PROGRAMMING | binary search constructive algorithms greedy math number theory |
B'Positive integer x is called divisor of positive integer y , if y is divisible by x without remainder. For example, 1 is a divisor of 7 and 3 is not divisor of 8 . We gave you an integer d and asked you to find the smallest positive integer a , such that The first line contains a single integer t ( 1 <= q t <= q 3000 ) -- the number of test cases. The first line of each test case contains a single integer d ( 1 <= q d <= q 10000 ). For each test case print one integer a -- the answer for this test case. In the first test case, integer 6 have following divisors: [1, 2, 3, 6] . There are 4 of them and the difference between any two of them is at least 1 . There is no smaller integer with at least 4 divisors. In the second test case, integer 15 have following divisors: [1, 3, 5, 15] . There are 4 of them and the difference between any two of them is at least 2 . The answer 12 is INVALID because divisors are [1, 2, 3, 4, 6, 12] . And the difference between, for example, divisors 2 and 3 is less than d=2 . '... |
Codeforces Round #696 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
104867268 | TobiasJacob | B | Jan. 20, 2021, 3:54 a.m. | OK | Clang++17 Diagnostics | TESTS | 9 | 795 | 1024000 | ||
104866767 | VN.Kiet | B | Jan. 20, 2021, 3:42 a.m. | OK | FPC | TESTS | 9 | 31 | 0 | ||
104870693 | SajibKC_19 | B | Jan. 20, 2021, 5:01 a.m. | OK | GNU C11 | TESTS | 9 | 46 | 0 | ||
104837872 | coniferousdyer | B | Jan. 19, 2021, 5:13 p.m. | OK | GNU C11 | TESTS | 9 | 46 | 0 | ||
104869909 | ahlawat_010201 | B | Jan. 20, 2021, 4:48 a.m. | OK | GNU C11 | TESTS | 9 | 218 | 0 | ||
104874005 | ishuladdu | B | Jan. 20, 2021, 5:51 a.m. | OK | GNU C11 | TESTS | 9 | 218 | 0 | ||
104864233 | LH_buct | B | Jan. 20, 2021, 2:43 a.m. | OK | GNU C11 | TESTS | 9 | 312 | 102400 | ||
104866827 | liduo_qul | B | Jan. 20, 2021, 3:44 a.m. | OK | GNU C11 | TESTS | 9 | 608 | 0 | ||
104863219 | lllllan | B | Jan. 20, 2021, 2:20 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 0 | ||
104856803 | ybatmart | B | Jan. 19, 2021, 10:30 p.m. | OK | GNU C++11 | TESTS | 9 | 15 | 0 | ||
104854950 | Juanito98 | B | Jan. 19, 2021, 9:24 p.m. | OK | GNU C++11 | TESTS | 9 | 15 | 102400 | ||
104867118 | MarcosMTR | B | Jan. 20, 2021, 3:51 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 102400 | ||
104859757 | Suiseiseki | B | Jan. 20, 2021, 12:24 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 307200 | ||
104834953 | king_of_dawn | B | Jan. 19, 2021, 4:32 p.m. | OK | GNU C++11 | TESTS | 9 | 15 | 512000 | ||
104860207 | mahabub.rahman | B | Jan. 20, 2021, 12:42 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 512000 | ||
104871043 | lolipop | B | Jan. 20, 2021, 5:07 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 512000 | ||
104871089 | vjudge5 | B | Jan. 20, 2021, 5:08 a.m. | OK | GNU C++11 | TESTS | 9 | 15 | 512000 | ||
104856960 | tweety.bird | B | Jan. 19, 2021, 10:35 p.m. | OK | GNU C++11 | TESTS | 9 | 15 | 512000 | ||
104835801 | faizalam | B | Jan. 19, 2021, 4:34 p.m. | OK | GNU C++14 | TESTS | 9 | 15 | 0 | ||
104839685 | whatcanitbe | B | Jan. 19, 2021, 5:23 p.m. | OK | GNU C++14 | TESTS | 9 | 15 | 0 | ||
104832104 | ManstaCate | B | Jan. 19, 2021, 4:25 p.m. | OK | GNU C++14 | TESTS | 9 | 15 | 102400 | ||
104832844 | mk2371972 | B | Jan. 19, 2021, 4:27 p.m. | OK | GNU C++14 | TESTS | 9 | 15 | 102400 | ||
104867248 | nerv.e | B | Jan. 20, 2021, 3:54 a.m. | OK | GNU C++14 | TESTS | 9 | 15 | 204800 | ||
104850678 | avi_nash | B | Jan. 19, 2021, 7:44 p.m. | OK | GNU C++14 | TESTS | 9 | 15 | 204800 | ||
104861353 | letofang | B | Jan. 20, 2021, 1:23 a.m. | OK | GNU C++14 | TESTS | 9 | 15 | 204800 | ||
104843471 | codeTheworld3101 | B | Jan. 19, 2021, 5:57 p.m. | OK | GNU C++14 | TESTS | 9 | 15 | 307200 | ||
104848007 | ........ | B | Jan. 19, 2021, 6:57 p.m. | OK | GNU C++14 | TESTS | 9 | 15 | 307200 | ||
104863188 | AltoBlast | B | Jan. 20, 2021, 2:19 a.m. | OK | GNU C++14 | TESTS | 9 | 15 | 512000 | ||
104835504 | shihab_mbstu | B | Jan. 19, 2021, 4:33 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
104865746 | Iris_6373 | B | Jan. 20, 2021, 3:21 a.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
104861987 | dionysios | B | Jan. 20, 2021, 1:43 a.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
104849475 | sps101 | B | Jan. 19, 2021, 7:23 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
104846084 | D4nnyLee | B | Jan. 19, 2021, 6:29 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
104845973 | __kira__ | B | Jan. 19, 2021, 6:27 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
104844675 | hitarthk_9 | B | Jan. 19, 2021, 6:11 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
104842677 | Ketaki | B | Jan. 19, 2021, 5:48 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
104837878 | yash9274 | B | Jan. 19, 2021, 5:13 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
104834933 | darshan2702 | B | Jan. 19, 2021, 4:32 p.m. | OK | GNU C++17 | TESTS | 9 | 15 | 0 | ||
104870698 | DARK49 | B | Jan. 20, 2021, 5:01 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 0 | ||
104870917 | MeyCey | B | Jan. 20, 2021, 5:05 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 307200 | ||
104844461 | mysteri0us7 | B | Jan. 19, 2021, 6:08 p.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 307200 | ||
104857990 | Ehab_Fawzy | B | Jan. 19, 2021, 11:13 p.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 512000 | ||
104873195 | ajit | B | Jan. 20, 2021, 5:38 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 716800 | ||
104859455 | akifpatel | B | Jan. 20, 2021, 12:13 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 819200 | ||
104840852 | ___RISHI___ | B | Jan. 19, 2021, 5:32 p.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 1126400 | ||
104842804 | Anish1712 | B | Jan. 19, 2021, 5:50 p.m. | OK | GNU C++17 (64) | TESTS | 9 | 15 | 3174400 | ||
104864542 | LethalPuppy | B | Jan. 20, 2021, 2:50 a.m. | OK | GNU C++17 (64) | TESTS | 9 | 30 | 0 | ||
104842062 | sherlocked | B | Jan. 19, 2021, 5:42 p.m. | OK | GNU C++17 (64) | TESTS | 9 | 30 | 0 | ||
104831991 | mrlucent | B | Jan. 19, 2021, 4:25 p.m. | OK | Java 11 | TESTS | 9 | 186 | 0 | ||
104846083 | HastaLaVistaLa | B | Jan. 19, 2021, 6:29 p.m. | OK | Java 11 | TESTS | 9 | 186 | 0 | ||
104837971 | Sanju_250406 | B | Jan. 19, 2021, 5:13 p.m. | OK | Java 11 | TESTS | 9 | 186 | 0 | ||
104850808 | zenilharia26 | B | Jan. 19, 2021, 7:46 p.m. | OK | Java 11 | TESTS | 9 | 187 | 0 | ||
104862068 | Siddharth2020 | B | Jan. 20, 2021, 1:46 a.m. | OK | Java 11 | TESTS | 9 | 187 | 0 | ||
104840569 | gssakash | B | Jan. 19, 2021, 5:30 p.m. | OK | Java 11 | TESTS | 9 | 187 | 0 | ||
104832292 | ytripathi891 | B | Jan. 19, 2021, 4:26 p.m. | OK | Java 11 | TESTS | 9 | 187 | 0 | ||
104869060 | anshum_it_is | B | Jan. 20, 2021, 4:32 a.m. | OK | Java 11 | TESTS | 9 | 217 | 0 | ||
104859746 | swaggy_baba | B | Jan. 20, 2021, 12:24 a.m. | OK | Java 11 | TESTS | 9 | 218 | 0 | ||
104872041 | soodsukriti1111 | B | Jan. 20, 2021, 5:22 a.m. | OK | Java 11 | TESTS | 9 | 218 | 0 | ||
104867361 | B.Y. | B | Jan. 20, 2021, 3:56 a.m. | OK | Java 8 | TESTS | 9 | 109 | 0 | ||
104867398 | B.Y. | B | Jan. 20, 2021, 3:57 a.m. | OK | Java 8 | TESTS | 9 | 124 | 0 | ||
104845901 | qlf9 | B | Jan. 19, 2021, 6:26 p.m. | OK | Java 8 | TESTS | 9 | 124 | 0 | ||
104837961 | sumitnitesh123 | B | Jan. 19, 2021, 5:13 p.m. | OK | Java 8 | TESTS | 9 | 124 | 0 | ||
104843489 | Gupta-OP | B | Jan. 19, 2021, 5:57 p.m. | OK | Java 8 | TESTS | 9 | 124 | 0 | ||
104870623 | Akmal_developer | B | Jan. 20, 2021, 5 a.m. | OK | Java 8 | TESTS | 9 | 124 | 0 | ||
104869362 | Akmal_developer | B | Jan. 20, 2021, 4:38 a.m. | OK | Java 8 | TESTS | 9 | 124 | 0 | ||
104867529 | B.Y. | B | Jan. 20, 2021, 4 a.m. | OK | Java 8 | TESTS | 9 | 124 | 0 | ||
104867347 | ramuked | B | Jan. 20, 2021, 3:56 a.m. | OK | Java 8 | TESTS | 9 | 139 | 0 | ||
104847658 | LionHeart20 | B | Jan. 19, 2021, 6:52 p.m. | OK | Java 8 | TESTS | 9 | 139 | 0 | ||
104858590 | Spheniscine | B | Jan. 19, 2021, 11:37 p.m. | OK | Kotlin | TESTS | 9 | 124 | 0 | ||
104848034 | catforce | B | Jan. 19, 2021, 6:58 p.m. | OK | Kotlin | TESTS | 9 | 156 | 204800 | ||
104855806 | Azomi_al | B | Jan. 19, 2021, 9:53 p.m. | OK | Kotlin | TESTS | 9 | 421 | 0 | ||
104869289 | yyeshell | B | Jan. 20, 2021, 4:36 a.m. | OK | MS C++ | TESTS | 9 | 31 | 0 | ||
104835059 | niufujiang | B | Jan. 19, 2021, 4:32 p.m. | OK | MS C++ | TESTS | 9 | 46 | 5017600 | ||
104856818 | wjli | B | Jan. 19, 2021, 10:30 p.m. | OK | MS C++ 2017 | TESTS | 9 | 30 | 8601600 | ||
104840040 | Nuali | B | Jan. 19, 2021, 5:25 p.m. | OK | MS C++ 2017 | TESTS | 9 | 31 | 0 | ||
104850242 | Dramb | B | Jan. 19, 2021, 7:37 p.m. | OK | MS C++ 2017 | TESTS | 9 | 31 | 0 | ||
104832772 | gleb032 | B | Jan. 19, 2021, 4:27 p.m. | OK | MS C++ 2017 | TESTS | 9 | 31 | 0 | ||
104834084 | Yosiky | B | Jan. 19, 2021, 4:30 p.m. | OK | MS C++ 2017 | TESTS | 9 | 31 | 409600 | ||
104867890 | Gleb_Dubosarskii | B | Jan. 20, 2021, 4:08 a.m. | OK | MS C++ 2017 | TESTS | 9 | 31 | 1126400 | ||
104831277 | prateekag1998 | B | Jan. 19, 2021, 4:23 p.m. | OK | MS C++ 2017 | TESTS | 9 | 31 | 1945600 | ||
104871724 | dheerajd5 | B | Jan. 20, 2021, 5:17 a.m. | OK | MS C++ 2017 | TESTS | 9 | 46 | 0 | ||
104850860 | Ash_2k | B | Jan. 19, 2021, 7:47 p.m. | OK | MS C++ 2017 | TESTS | 9 | 46 | 0 | ||
104847347 | iris_he | B | Jan. 19, 2021, 6:48 p.m. | OK | MS C++ 2017 | TESTS | 9 | 46 | 204800 | ||
104856491 | ybatmart | B | Jan. 19, 2021, 10:18 p.m. | OK | .NET Core C# | TESTS | 9 | 109 | 102400 | ||
104852464 | rsFalse | B | Jan. 19, 2021, 8:20 p.m. | OK | Perl | TESTS | 9 | 109 | 3174400 | ||
104855574 | rsFalse | B | Jan. 19, 2021, 9:44 p.m. | OK | Perl | TESTS | 9 | 140 | 3174400 | ||
104856062 | alterego_14 | B | Jan. 19, 2021, 10:01 p.m. | OK | PyPy 3 | TESTS | 9 | 124 | 2764800 | ||
104868854 | Parag_AP | B | Jan. 20, 2021, 4:27 a.m. | OK | PyPy 3 | TESTS | 9 | 124 | 3481600 | ||
104863422 | codicon | B | Jan. 20, 2021, 2:24 a.m. | OK | PyPy 3 | TESTS | 9 | 124 | 4198400 | ||
104841665 | not_tehlka | B | Jan. 19, 2021, 5:39 p.m. | OK | PyPy 3 | TESTS | 9 | 139 | 3481600 | ||
104848054 | _aadiupadhyay_ | B | Jan. 19, 2021, 6:58 p.m. | OK | PyPy 3 | TESTS | 9 | 140 | 3481600 | ||
104841677 | uttaran_das | B | Jan. 19, 2021, 5:39 p.m. | OK | PyPy 3 | TESTS | 9 | 140 | 3584000 | ||
104854762 | Pedantic | B | Jan. 19, 2021, 9:19 p.m. | OK | PyPy 3 | TESTS | 9 | 140 | 3993600 | ||
104848388 | Coding_RDX1 | B | Jan. 19, 2021, 7:04 p.m. | OK | PyPy 3 | TESTS | 9 | 140 | 4300800 | ||
104856343 | Leggasick | B | Jan. 19, 2021, 10:12 p.m. | OK | PyPy 3 | TESTS | 9 | 155 | 4505600 | ||
104851977 | clam | B | Jan. 19, 2021, 8:11 p.m. | OK | PyPy 3 | TESTS | 9 | 155 | 4608000 | ||
104845333 | eugalt | B | Jan. 19, 2021, 6:19 p.m. | OK | Python 3 | TESTS | 9 | 62 | 512000 | ||
104842052 | eugalt | B | Jan. 19, 2021, 5:42 p.m. | OK | Python 3 | TESTS | 9 | 77 | 409600 | ||
104841814 | eugalt | B | Jan. 19, 2021, 5:40 p.m. | OK | Python 3 | TESTS | 9 | 77 | 409600 | ||
104845060 | eugalt | B | Jan. 19, 2021, 6:15 p.m. | OK | Python 3 | TESTS | 9 | 77 | 512000 | ||
104840908 | shyguy99 | B | Jan. 19, 2021, 5:32 p.m. | OK | Python 3 | TESTS | 9 | 109 | 512000 | ||
104847327 | Sam_v | B | Jan. 19, 2021, 6:48 p.m. | OK | Python 3 | TESTS | 9 | 109 | 1638400 | ||
104842496 | black_kitten | B | Jan. 19, 2021, 5:47 p.m. | OK | Python 3 | TESTS | 9 | 109 | 7168000 | ||
104842981 | rishikesh11599 | B | Jan. 19, 2021, 5:52 p.m. | OK | Python 3 | TESTS | 9 | 124 | 716800 | ||
104852545 | BlacK__MaMba | B | Jan. 19, 2021, 8:22 p.m. | OK | Python 3 | TESTS | 9 | 171 | 307200 | ||
104832931 | patulka | B | Jan. 19, 2021, 4:27 p.m. | OK | Python 3 | TESTS | 9 | 171 | 307200 |
Back to search problems