Codeforces Round 813 (Div. 2)

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
1712 Codeforces Round 813 (Div. 2) FINISHED False 8100 76778663 Aug. 13, 2022, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2231 ) E1 LCM Sum (easy version) PROGRAMMING binary search brute force combinatorics math number theory two pointers

B'This version of the problem differs from the next one only in the constraint on t . You can make hacks only if both versions of the problem are solved. You are given two positive integers l and r . Count the number of distinct triplets of integers (i, j, k) such that l <= i < j < k <= r and operatorname{lcm}(i,j,k) ge i + j + k . Here operatorname{lcm}(i, j, k) denotes the least common multiple (LCM) of integers i , j , and k . Each test contains multiple test cases. The first line contains the number of test cases t ( bf{1 <= t <= 5} ). Description of the test cases follows. The only line for each test case contains two integers l and r ( 1 <= l <= r <= 2 cdot 10^5 , l + 2 <= r ). For each test case print one integer -- the number of suitable triplets. In the first test case, there are 3 suitable triplets: In the second test case, there is 1 suitable triplet: '...

Tutorials

Codeforces Round #813 (Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
168175137 mban259 E1 Aug. 13, 2022, 4:41 p.m. OK C# 10 TESTS 16 1871 117452800
168223496 micromilo E1 Aug. 14, 2022, 4:43 a.m. OK GNU C++14 TESTS 16 31 819200
168227901 Iratis E1 Aug. 14, 2022, 5:50 a.m. OK GNU C++14 TESTS 17 31 1638400
168227265 Iratis E1 Aug. 14, 2022, 5:42 a.m. OK GNU C++14 TESTS 17 31 1638400
168227238 Iratis E1 Aug. 14, 2022, 5:42 a.m. OK GNU C++14 TESTS 17 31 1638400
168216839 Sirius_qwq E1 Aug. 14, 2022, 2:34 a.m. OK GNU C++14 TESTS 16 31 1638400
168173925 Light_Chaser E1 Aug. 13, 2022, 4:37 p.m. OK GNU C++14 TESTS 16 31 1638400
168227592 1390632669 E1 Aug. 14, 2022, 5:46 a.m. OK GNU C++14 TESTS 17 46 1638400
168227329 Iratis E1 Aug. 14, 2022, 5:43 a.m. OK GNU C++14 TESTS 17 46 1638400
168227182 Iratis E1 Aug. 14, 2022, 5:41 a.m. OK GNU C++14 TESTS 17 46 1638400
168227153 Iratis E1 Aug. 14, 2022, 5:41 a.m. OK GNU C++14 TESTS 17 46 1638400
168175226 pooya-shams E1 Aug. 13, 2022, 4:41 p.m. OK GNU C++17 TESTS 16 30 819200
168185052 LLL_2820 E1 Aug. 13, 2022, 5:54 p.m. OK GNU C++17 TESTS 16 31 819200
168216950 T_yunhui E1 Aug. 14, 2022, 2:36 a.m. OK GNU C++17 TESTS 16 31 1228800
168210642 _BottomCoder_ E1 Aug. 14, 2022, midnight OK GNU C++17 TESTS 16 31 1228800
168204963 Hizzl E1 Aug. 13, 2022, 9:40 p.m. OK GNU C++17 TESTS 16 31 1228800
168185072 _BottomCoder_ E1 Aug. 13, 2022, 5:54 p.m. OK GNU C++17 TESTS 16 31 1228800
168211796 dqjm E1 Aug. 14, 2022, 12:35 a.m. OK GNU C++17 TESTS 16 31 1536000
168204099 Omarhantoli E1 Aug. 13, 2022, 9:24 p.m. OK GNU C++17 TESTS 16 31 1536000
168181347 rrkk E1 Aug. 13, 2022, 5:32 p.m. OK GNU C++17 TESTS 16 31 1638400
168175192 gs20028 E1 Aug. 13, 2022, 4:41 p.m. OK GNU C++17 TESTS 16 31 5836800
168196138 pavankalyanpallapolu E1 Aug. 13, 2022, 7:31 p.m. OK GNU C++17 (64) TESTS 16 31 819200
168181650 TheLostCookie E1 Aug. 13, 2022, 5:33 p.m. OK GNU C++17 (64) TESTS 16 31 819200
168181279 MoNir_ E1 Aug. 13, 2022, 5:32 p.m. OK GNU C++17 (64) TESTS 16 31 1638400
168215103 fan_of_onglu_ E1 Aug. 14, 2022, 1:57 a.m. OK GNU C++17 (64) TESTS 16 31 2560000
168215963 tomato_potato E1 Aug. 14, 2022, 2:15 a.m. OK GNU C++17 (64) TESTS 16 31 2764800
168172501 machine_solution E1 Aug. 13, 2022, 4:33 p.m. OK GNU C++17 (64) TESTS 16 31 3481600
168222910 CWJ_123 E1 Aug. 14, 2022, 4:32 a.m. OK GNU C++17 (64) TESTS 16 31 9625600
168212146 xiaoziyao E1 Aug. 14, 2022, 12:46 a.m. OK GNU C++17 (64) TESTS 16 78 13619200
168226327 wuhypzz E1 Aug. 14, 2022, 5:29 a.m. OK GNU C++17 (64) TESTS 17 202 24166400
168181616 Andreasyan E1 Aug. 13, 2022, 5:33 p.m. OK GNU C++17 (64) TESTS 16 374 39424000
168191599 TANGRA E1 Aug. 13, 2022, 6:47 p.m. OK GNU C++20 (64) TESTS 16 15 819200
168215010 12tqian E1 Aug. 14, 2022, 1:55 a.m. OK GNU C++20 (64) TESTS 16 30 1638400
168176903 Ckcyi E1 Aug. 13, 2022, 4:46 p.m. OK GNU C++20 (64) TESTS 16 30 2560000
168216367 rt3 E1 Aug. 14, 2022, 2:23 a.m. OK GNU C++20 (64) TESTS 16 31 819200
168198254 A_G E1 Aug. 13, 2022, 7:57 p.m. OK GNU C++20 (64) TESTS 16 31 819200
168184391 AHF E1 Aug. 13, 2022, 5:50 p.m. OK GNU C++20 (64) TESTS 16 31 819200
168182947 sapphire_ccsu E1 Aug. 13, 2022, 5:40 p.m. OK GNU C++20 (64) TESTS 16 31 819200
168181747 Prabhakar_987 E1 Aug. 13, 2022, 5:34 p.m. OK GNU C++20 (64) TESTS 16 31 1536000
168214813 12tqian E1 Aug. 14, 2022, 1:51 a.m. OK GNU C++20 (64) TESTS 16 31 1638400
168214038 nicholask E1 Aug. 14, 2022, 1:33 a.m. OK GNU C++20 (64) TESTS 16 31 1638400
168175670 dzhi E1 Aug. 13, 2022, 4:43 p.m. OK Java 11 TESTS 16 1341 71680000
168181199 Wuya E1 Aug. 13, 2022, 5:32 p.m. OK Java 11 TESTS 16 2916 0
168201950 Dukkha E1 Aug. 13, 2022, 8:48 p.m. OK Java 17 TESTS 16 733 1638400
168172595 Abdallah_Ragab00 E1 Aug. 13, 2022, 4:34 p.m. OK Java 8 TESTS 16 140 0
168207562 BriGuy E1 Aug. 13, 2022, 10:35 p.m. OK Java 8 TESTS 16 1684 0
168190182 r57shell E1 Aug. 13, 2022, 6:34 p.m. OK MS C++ 2017 TESTS 16 716 57241600
168189155 r57shell E1 Aug. 13, 2022, 6:24 p.m. OK MS C++ 2017 TESTS 16 748 57241600
168205476 r57shell E1 Aug. 13, 2022, 9:50 p.m. OK MS C++ 2017 TESTS 16 2105 257740800
168206728 HETRAKESHFADIA E1 Aug. 13, 2022, 10:14 p.m. OK PyPy 3 TESTS 16 639 34816000
168206686 HETRAKESHFADIA E1 Aug. 13, 2022, 10:13 p.m. OK PyPy 3-64 TESTS 16 794 65536000
168221951 barnrang E1 Aug. 14, 2022, 4:15 a.m. OK PyPy 3-64 TESTS 16 2043 137830400
168203613 r57shell E1 Aug. 13, 2022, 9:16 p.m. OK PyPy 3-64 TESTS 16 2074 138240000
168204149 r57shell E1 Aug. 13, 2022, 9:24 p.m. OK PyPy 3-64 TESTS 16 2090 138649600
168221903 barnrang E1 Aug. 14, 2022, 4:14 a.m. OK PyPy 3-64 TESTS 16 2152 139571200
168211342 voicon E1 Aug. 14, 2022, 12:22 a.m. OK PyPy 3-64 TESTS 16 2682 136806400
168186385 r57shell E1 Aug. 13, 2022, 6:04 p.m. OK PyPy 3-64 TESTS 16 2854 145510400
168187678 r57shell E1 Aug. 13, 2022, 6:14 p.m. OK PyPy 3-64 TESTS 16 2901 145612800

remove filters

Back to search problems