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 |
---|---|---|---|---|---|---|
1737 | Dytechlab Cup 2022 | FINISHED | False | 9000 | 66669899 | Oct. 7, 2022, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 9452 ) | B | Ela's Fitness and the Luxury Number | PROGRAMMING | binary search implementation math |
B'While working at DTL, Ela is very aware of her physical and mental health. She started to practice various sports, such as Archery, Yoga, and Football. Since she started engaging in sports activities, Ela switches to trying a new sport on days she considers being "Luxury" days. She counts the days since she started these activities, in which the day she starts is numbered as day 1 . A "Luxury" day is the day in which the number of this day is a luxurious number. An integer x is called a luxurious number if it is divisible by { lfloor sqrt{x} rfloor} . Here lfloor r rfloor denotes the "floor" of a real number r . In other words, it 's the largest integer not greater than r . For example: 8 , 56 , 100 are luxurious numbers, since 8 is divisible by lfloor sqrt{8} rfloor = lfloor 2.8284 rfloor = 2 , 56 is divisible lfloor sqrt{56} rfloor = lfloor 7.4833 rfloor = 7 , and 100 is divisible by lfloor sqrt{100} rfloor = lfloor 10 rfloor = 10 , respectively. On the other hand 5 , 40 are not, since 5 are not divisible by lfloor sqrt{5} rfloor = lfloor 2.2361 rfloor = 2 , and 40 are not divisible by lfloor sqrt{40} rfloor = lfloor 6.3246 rfloor = 6 . Being a friend of Ela, you want to engage in these fitness activities with her to keep her and yourself accompanied (and have fun together, of course). Between day l and day r , you want to know how many times she changes the activities. Each test contains multiple test cases. The first line has the number of test cases t ( 1 <= t <= 10 000 ). The description of the test cases follows. The only line of each test case contains two integers l and r ( 1 <= l <= r <= 10^{18} ) -- the intervals at which you want to know how many times Ela changes her sports. For each test case, output an integer that denotes the answer. In the first test case,'... |
Editorial of Dytechlab Cup 2022 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
175022384 | avtoruxadze | B | Oct. 7, 2022, 4:39 p.m. | OK | C# 8 | TESTS | 17 | 156 | 3276800 | ||
175037609 | Shayan.To | B | Oct. 7, 2022, 6:07 p.m. | OK | C# 8 | TESTS | 17 | 217 | 4096000 | ||
175064437 | super_xingyl | B | Oct. 8, 2022, 2:26 a.m. | OK | Clang++20 Diagnostics | TESTS | 17 | 171 | 0 | ||
175076562 | wust-zzl | B | Oct. 8, 2022, 5:53 a.m. | OK | GNU C++14 | TESTS | 17 | 15 | 0 | ||
175075776 | jxx | B | Oct. 8, 2022, 5:44 a.m. | OK | GNU C++14 | TESTS | 17 | 15 | 0 | ||
175075248 | niter | B | Oct. 8, 2022, 5:38 a.m. | OK | GNU C++14 | TESTS | 17 | 15 | 0 | ||
175073055 | Mikealsowin | B | Oct. 8, 2022, 5:10 a.m. | OK | GNU C++14 | TESTS | 17 | 15 | 0 | ||
175072709 | defathom | B | Oct. 8, 2022, 5:06 a.m. | OK | GNU C++14 | TESTS | 17 | 15 | 0 | ||
175070680 | Shailesh_Rathod | B | Oct. 8, 2022, 4:37 a.m. | OK | GNU C++14 | TESTS | 17 | 15 | 0 | ||
175070271 | sleep_b4_cntst | B | Oct. 8, 2022, 4:30 a.m. | OK | GNU C++14 | TESTS | 17 | 15 | 0 | ||
175070162 | with_no_signal | B | Oct. 8, 2022, 4:28 a.m. | OK | GNU C++14 | TESTS | 17 | 15 | 0 | ||
175068867 | jnkojln | B | Oct. 8, 2022, 4:05 a.m. | OK | GNU C++14 | TESTS | 17 | 15 | 0 | ||
175066631 | A1m233 | B | Oct. 8, 2022, 3:17 a.m. | OK | GNU C++14 | TESTS | 17 | 15 | 0 | ||
175077230 | bnu20DT | B | Oct. 8, 2022, 6:01 a.m. | OK | GNU C++17 | TESTS | 17 | 15 | 0 | ||
175077147 | SR_Rimon23 | B | Oct. 8, 2022, 6 a.m. | OK | GNU C++17 | TESTS | 17 | 15 | 0 | ||
175076057 | _75_ | B | Oct. 8, 2022, 5:47 a.m. | OK | GNU C++17 | TESTS | 17 | 15 | 0 | ||
175075674 | kunal.lalwani.cse21 | B | Oct. 8, 2022, 5:43 a.m. | OK | GNU C++17 | TESTS | 17 | 15 | 0 | ||
175075505 | The_Dark_Storm | B | Oct. 8, 2022, 5:40 a.m. | OK | GNU C++17 | TESTS | 17 | 15 | 0 | ||
175073571 | mohammadrehan | B | Oct. 8, 2022, 5:16 a.m. | OK | GNU C++17 | TESTS | 17 | 15 | 0 | ||
175073118 | 55teeth | B | Oct. 8, 2022, 5:11 a.m. | OK | GNU C++17 | TESTS | 17 | 15 | 0 | ||
175071660 | sandesh_04_06 | B | Oct. 8, 2022, 4:51 a.m. | OK | GNU C++17 | TESTS | 17 | 15 | 0 | ||
175070970 | TejasJaiswal | B | Oct. 8, 2022, 4:41 a.m. | OK | GNU C++17 | TESTS | 17 | 15 | 0 | ||
175070305 | madhav_748 | B | Oct. 8, 2022, 4:30 a.m. | OK | GNU C++17 | TESTS | 17 | 15 | 0 | ||
175077086 | Lycoriss | B | Oct. 8, 2022, 5:59 a.m. | OK | GNU C++17 (64) | TESTS | 17 | 15 | 0 | ||
175075712 | jxx | B | Oct. 8, 2022, 5:43 a.m. | OK | GNU C++17 (64) | TESTS | 17 | 15 | 0 | ||
175071724 | Lycorisss | B | Oct. 8, 2022, 4:52 a.m. | OK | GNU C++17 (64) | TESTS | 17 | 15 | 0 | ||
175071564 | verynewabie | B | Oct. 8, 2022, 4:50 a.m. | OK | GNU C++17 (64) | TESTS | 17 | 15 | 0 | ||
175071452 | Lycorisss | B | Oct. 8, 2022, 4:48 a.m. | OK | GNU C++17 (64) | TESTS | 17 | 15 | 0 | ||
175071020 | PineapplesOnPizza | B | Oct. 8, 2022, 4:42 a.m. | OK | GNU C++17 (64) | TESTS | 17 | 15 | 0 | ||
175067719 | Rick_GT | B | Oct. 8, 2022, 3:42 a.m. | OK | GNU C++17 (64) | TESTS | 17 | 15 | 0 | ||
175062683 | iiling | B | Oct. 8, 2022, 1:37 a.m. | OK | GNU C++17 (64) | TESTS | 17 | 15 | 0 | ||
175062017 | tonyli00000 | B | Oct. 8, 2022, 1:15 a.m. | OK | GNU C++17 (64) | TESTS | 17 | 15 | 0 | ||
175061892 | gqf123 | B | Oct. 8, 2022, 1:10 a.m. | OK | GNU C++17 (64) | TESTS | 17 | 15 | 0 | ||
175068505 | codesnippet | B | Oct. 8, 2022, 3:58 a.m. | OK | GNU C++20 (64) | TESTS | 17 | 0 | 102400 | ||
175076808 | joyzx | B | Oct. 8, 2022, 5:56 a.m. | OK | GNU C++20 (64) | TESTS | 17 | 15 | 0 | ||
175076399 | ARP56 | B | Oct. 8, 2022, 5:51 a.m. | OK | GNU C++20 (64) | TESTS | 17 | 15 | 0 | ||
175076207 | little_caidd | B | Oct. 8, 2022, 5:49 a.m. | OK | GNU C++20 (64) | TESTS | 17 | 15 | 0 | ||
175075851 | blank_monster | B | Oct. 8, 2022, 5:45 a.m. | OK | GNU C++20 (64) | TESTS | 17 | 15 | 0 | ||
175075501 | workachieve4708 | B | Oct. 8, 2022, 5:40 a.m. | OK | GNU C++20 (64) | TESTS | 17 | 15 | 0 | ||
175075094 | do_it_for_fun | B | Oct. 8, 2022, 5:36 a.m. | OK | GNU C++20 (64) | TESTS | 17 | 15 | 0 | ||
175074968 | verma_2000 | B | Oct. 8, 2022, 5:34 a.m. | OK | GNU C++20 (64) | TESTS | 17 | 15 | 0 | ||
175074885 | dxulet | B | Oct. 8, 2022, 5:33 a.m. | OK | GNU C++20 (64) | TESTS | 17 | 15 | 0 | ||
175074506 | 1287971889 | B | Oct. 8, 2022, 5:28 a.m. | OK | GNU C++20 (64) | TESTS | 17 | 15 | 0 | ||
175044306 | mtarunsai1999 | B | Oct. 7, 2022, 7:11 p.m. | OK | Go | TESTS | 17 | 31 | 512000 | ||
175068108 | dunkingdonuts | B | Oct. 8, 2022, 3:50 a.m. | OK | Java 11 | TESTS | 17 | 155 | 0 | ||
175021038 | Longgggggggg | B | Oct. 7, 2022, 4:34 p.m. | OK | Java 11 | TESTS | 17 | 171 | 0 | ||
175033078 | doomhammer. | B | Oct. 7, 2022, 5:34 p.m. | OK | Java 11 | TESTS | 17 | 186 | 0 | ||
175067841 | dunkingdonuts | B | Oct. 8, 2022, 3:44 a.m. | OK | Java 11 | TESTS | 17 | 187 | 0 | ||
175054465 | kkkkush | B | Oct. 7, 2022, 9:29 p.m. | OK | Java 11 | TESTS | 17 | 187 | 0 | ||
175038986 | Huybq26 | B | Oct. 7, 2022, 6:19 p.m. | OK | Java 11 | TESTS | 17 | 187 | 0 | ||
175056232 | syam.kumar | B | Oct. 7, 2022, 10:10 p.m. | OK | Java 11 | TESTS | 17 | 202 | 0 | ||
175055802 | syam.kumar | B | Oct. 7, 2022, 9:58 p.m. | OK | Java 11 | TESTS | 17 | 202 | 0 | ||
175070378 | Prime369 | B | Oct. 8, 2022, 4:32 a.m. | OK | Java 11 | TESTS | 17 | 217 | 0 | ||
175072915 | Kanishka_bansode | B | Oct. 8, 2022, 5:08 a.m. | OK | Java 11 | TESTS | 17 | 218 | 0 | ||
175038792 | Huybq | B | Oct. 7, 2022, 6:18 p.m. | OK | Java 17 | TESTS | 17 | 202 | 614400 | ||
175023203 | brstplayer | B | Oct. 7, 2022, 4:42 p.m. | OK | Java 17 | TESTS | 17 | 218 | 512000 | ||
175019931 | Anton_Vdovin | B | Oct. 7, 2022, 4:30 p.m. | OK | Java 17 | TESTS | 17 | 218 | 512000 | ||
175016636 | LeetCodeforces_Null | B | Oct. 7, 2022, 4:18 p.m. | OK | Java 17 | TESTS | 17 | 218 | 512000 | ||
175022377 | amit_roy | B | Oct. 7, 2022, 4:39 p.m. | OK | Java 17 | TESTS | 17 | 264 | 409600 | ||
175068148 | tony4875 | B | Oct. 8, 2022, 3:51 a.m. | OK | Java 17 | TESTS | 17 | 264 | 716800 | ||
175066316 | tony4875 | B | Oct. 8, 2022, 3:10 a.m. | OK | Java 17 | TESTS | 17 | 265 | 716800 | ||
175037900 | Eslam_Ahmed | B | Oct. 7, 2022, 6:10 p.m. | OK | Java 17 | TESTS | 17 | 311 | 716800 | ||
175070896 | maverick_1729 | B | Oct. 8, 2022, 4:40 a.m. | OK | Java 17 | TESTS | 17 | 327 | 819200 | ||
175022965 | akarshanand2810 | B | Oct. 7, 2022, 4:41 p.m. | OK | Java 17 | TESTS | 17 | 389 | 614400 | ||
175045058 | Karakurik | B | Oct. 7, 2022, 7:19 p.m. | OK | Java 8 | TESTS | 17 | 108 | 0 | ||
175043246 | vidwansAD | B | Oct. 7, 2022, 6:59 p.m. | OK | Java 8 | TESTS | 17 | 108 | 0 | ||
175067308 | Java_Programmer | B | Oct. 8, 2022, 3:33 a.m. | OK | Java 8 | TESTS | 17 | 109 | 0 | ||
175054799 | 0.00 | B | Oct. 7, 2022, 9:35 p.m. | OK | Java 8 | TESTS | 17 | 109 | 0 | ||
175039924 | Parimal | B | Oct. 7, 2022, 6:28 p.m. | OK | Java 8 | TESTS | 17 | 109 | 0 | ||
175076569 | -crazy_coder- | B | Oct. 8, 2022, 5:53 a.m. | OK | Java 8 | TESTS | 17 | 124 | 0 | ||
175072128 | vinayakrg | B | Oct. 8, 2022, 4:58 a.m. | OK | Java 8 | TESTS | 17 | 124 | 0 | ||
175042768 | Mohamed308 | B | Oct. 7, 2022, 6:54 p.m. | OK | Java 8 | TESTS | 17 | 124 | 0 | ||
175041138 | vaibhav_1710 | B | Oct. 7, 2022, 6:39 p.m. | OK | Java 8 | TESTS | 17 | 124 | 0 | ||
175039531 | GonFreecss2830 | B | Oct. 7, 2022, 6:24 p.m. | OK | Java 8 | TESTS | 17 | 124 | 0 | ||
175066748 | wawawawa1 | B | Oct. 8, 2022, 3:19 a.m. | OK | MS C++ 2017 | TESTS | 17 | 62 | 0 | ||
175073058 | wisdomhelp | B | Oct. 8, 2022, 5:10 a.m. | OK | MS C++ 2017 | TESTS | 17 | 77 | 0 | ||
175016495 | valyanarezka | B | Oct. 7, 2022, 4:17 p.m. | OK | MS C++ 2017 | TESTS | 17 | 77 | 0 | ||
175029107 | Loremon | B | Oct. 7, 2022, 5:03 p.m. | OK | Node.js | TESTS | 17 | 108 | 5120000 | ||
175031291 | 1_2_3_4_5_9 | B | Oct. 7, 2022, 5:25 p.m. | OK | PyPy 2 | TESTS | 17 | 202 | 8294400 | ||
175046875 | aneesh2002 | B | Oct. 7, 2022, 7:40 p.m. | OK | PyPy 3 | TESTS | 17 | 155 | 5222400 | ||
175062428 | YMSeah | B | Oct. 8, 2022, 1:29 a.m. | OK | PyPy 3 | TESTS | 17 | 156 | 4403200 | ||
175041256 | aneesh2002 | B | Oct. 7, 2022, 6:40 p.m. | OK | PyPy 3 | TESTS | 17 | 343 | 8499200 | ||
175045077 | mnkp | B | Oct. 7, 2022, 7:19 p.m. | OK | PyPy 3 | TESTS | 17 | 779 | 10342400 | ||
175016312 | KeiTsukishima | B | Oct. 7, 2022, 4:17 p.m. | OK | PyPy 3 | TESTS | 17 | 872 | 12800000 | ||
175040263 | biglunchdude | B | Oct. 7, 2022, 6:30 p.m. | OK | PyPy 3-64 | TESTS | 17 | 108 | 8396800 | ||
175050922 | 1__2345_6 | B | Oct. 7, 2022, 8:30 p.m. | OK | PyPy 3-64 | TESTS | 17 | 109 | 8806400 | ||
175037280 | alive_ak4c | B | Oct. 7, 2022, 6:05 p.m. | OK | PyPy 3-64 | TESTS | 17 | 139 | 8601600 | ||
175031699 | hsh8086 | B | Oct. 7, 2022, 5:27 p.m. | OK | PyPy 3-64 | TESTS | 17 | 139 | 8908800 | ||
175031856 | govindp47 | B | Oct. 7, 2022, 5:27 p.m. | OK | PyPy 3-64 | TESTS | 17 | 139 | 9523200 | ||
175015849 | biglunchdude | B | Oct. 7, 2022, 4:15 p.m. | OK | PyPy 3-64 | TESTS | 17 | 140 | 7987200 | ||
175060886 | sdt4936 | B | Oct. 8, 2022, 12:36 a.m. | OK | PyPy 3-64 | TESTS | 17 | 140 | 8089600 | ||
175040435 | biglunchdude | B | Oct. 7, 2022, 6:32 p.m. | OK | PyPy 3-64 | TESTS | 17 | 140 | 9011200 | ||
175031984 | gsaunders | B | Oct. 7, 2022, 5:28 p.m. | OK | PyPy 3-64 | TESTS | 17 | 140 | 9318400 | ||
175062350 | Turtleeee | B | Oct. 8, 2022, 1:26 a.m. | OK | PyPy 3-64 | TESTS | 17 | 140 | 10240000 | ||
175069280 | eugalt | B | Oct. 8, 2022, 4:13 a.m. | OK | Python 3 | TESTS | 17 | 77 | 307200 | ||
175069865 | eugalt | B | Oct. 8, 2022, 4:23 a.m. | OK | Python 3 | TESTS | 17 | 93 | 307200 | ||
175067255 | manishjha91 | B | Oct. 8, 2022, 3:32 a.m. | OK | Python 3 | TESTS | 17 | 109 | 204800 | ||
175056023 | FatemehAskari | B | Oct. 7, 2022, 10:04 p.m. | OK | Python 3 | TESTS | 17 | 140 | 0 | ||
175063971 | odinluca | B | Oct. 8, 2022, 2:14 a.m. | OK | Python 3 | TESTS | 17 | 155 | 0 | ||
175042588 | Araldo | B | Oct. 7, 2022, 6:52 p.m. | OK | Python 3 | TESTS | 17 | 155 | 102400 | ||
175033368 | meohenbk | B | Oct. 7, 2022, 5:36 p.m. | OK | Python 3 | TESTS | 17 | 155 | 102400 | ||
175031342 | meohenbk | B | Oct. 7, 2022, 5:25 p.m. | OK | Python 3 | TESTS | 17 | 156 | 102400 | ||
175071986 | aimither | B | Oct. 8, 2022, 4:56 a.m. | OK | Python 3 | TESTS | 17 | 171 | 0 | ||
175063863 | odinluca | B | Oct. 8, 2022, 2:11 a.m. | OK | Python 3 | TESTS | 17 | 171 | 0 | ||
175018763 | liut | B | Oct. 7, 2022, 4:25 p.m. | OK | Rust 2021 | TESTS | 17 | 31 | 0 |
Back to search problems