Educational Codeforces Round 106 (Rated for 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
1499 Educational Codeforces Round 106 (Rated for Div. 2) FINISHED False 7200 115744199 March 18, 2021, 2:50 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 5923 ) D The Number of Pairs PROGRAMMING math number theory

B'You are given three positive (greater than zero) integers c , d and x . You have to find the number of pairs of positive integers (a, b) such that equality c cdot lcm(a, b) - d cdot gcd(a, b) = x holds. Where lcm(a, b) is the least common multiple of a and b and gcd(a, b) is the greatest common divisor of a and b . The first line contains one integer t ( 1 <= t <= 10^4 ) -- the number of test cases. Each test case consists of one line containing three integer c , d and x ( 1 <= c, d, x <= 10^7 ). For each test case, print one integer -- the number of pairs ( a, b ) such that the above equality holds. In the first example, the correct pairs are: ( 1, 4 ), ( 4,1 ), ( 3, 6 ), ( 6, 3 ). In the second example, the correct pairs are: ( 1, 2 ), ( 2, 1 ), ( 3, 3 ). '...

Tutorials

Educational Codeforces Round 106 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
110401898 smit.mangukiya D March 18, 2021, 8:28 p.m. OK GNU C11 TESTS 60 1543 80179200
110396391 rainboy D March 18, 2021, 6:42 p.m. OK GNU C11 TESTS 60 1590 80179200
110401934 smit.mangukiya D March 18, 2021, 8:29 p.m. OK GNU C11 TESTS 60 1622 80179200
110410571 zhuzhirui2005 D March 19, 2021, 2:31 a.m. OK GNU C++11 TESTS 60 576 94617600
110419308 lanChe D March 19, 2021, 5:52 a.m. OK GNU C++11 TESTS 60 576 260608000
110408677 fishcathu. D March 19, 2021, 1:17 a.m. OK GNU C++11 TESTS 60 607 125337600
110410439 zhuzhirui2005 D March 19, 2021, 2:27 a.m. OK GNU C++11 TESTS 60 623 92774400
110420154 fried-chicken D March 19, 2021, 6:03 a.m. OK GNU C++11 TESTS 60 654 240435200
110408739 fishcathu. D March 19, 2021, 1:21 a.m. OK GNU C++11 TESTS 60 686 85299200
110411388 Shironagi D March 19, 2021, 2:55 a.m. OK GNU C++11 TESTS 60 701 160358400
110385967 Badwin D March 18, 2021, 4:49 p.m. OK GNU C++11 TESTS 60 717 180121600
110410253 chidaozaotui D March 19, 2021, 2:21 a.m. OK GNU C++11 TESTS 60 717 180326400
110385653 JvJv D March 18, 2021, 4:49 p.m. OK GNU C++11 TESTS 60 717 180326400
110391309 hans774882968 D March 18, 2021, 5:32 p.m. OK GNU C++14 TESTS 60 811 108236800
110381412 _Chtholly_ D March 18, 2021, 4:38 p.m. OK GNU C++14 TESTS 60 842 340684800
110408214 Pendulum445 D March 19, 2021, 12:56 a.m. OK GNU C++14 TESTS 60 920 105267200
110386468 1470519347 D March 18, 2021, 4:52 p.m. OK GNU C++14 TESTS 60 920 188416000
110382798 Icontofig D March 18, 2021, 4:42 p.m. OK GNU C++14 TESTS 60 935 240435200
110390429 FengWithoutDancing D March 18, 2021, 5:22 p.m. OK GNU C++14 TESTS 60 997 240435200
110385726 yuri3 D March 18, 2021, 4:49 p.m. OK GNU C++14 TESTS 60 1060 240435200
110408878 hunxuewangzi D March 19, 2021, 1:27 a.m. OK GNU C++14 TESTS 60 1216 180326400
110409943 Toru_baka D March 19, 2021, 2:11 a.m. OK GNU C++14 TESTS 60 1263 260505600
110382328 Potassium D March 18, 2021, 4:41 p.m. OK GNU C++14 TESTS 60 1279 172953600
110415370 Pcjmy D March 19, 2021, 4:39 a.m. OK GNU C++17 TESTS 60 608 180326400
110416118 HChhokmah D March 19, 2021, 4:53 a.m. OK GNU C++17 TESTS 60 654 112844800
110418879 cjj490168650 D March 19, 2021, 5:46 a.m. OK GNU C++17 TESTS 60 701 95334400
110391348 purinliang D March 18, 2021, 5:33 p.m. OK GNU C++17 TESTS 60 701 160358400
110393021 suki_514_suki D March 18, 2021, 5:55 p.m. OK GNU C++17 TESTS 60 748 160358400
110392896 Luca D March 18, 2021, 5:53 p.m. OK GNU C++17 TESTS 60 779 172953600
110390726 heyongxin233 D March 18, 2021, 5:25 p.m. OK GNU C++17 TESTS 60 794 200396800
110390261 BarkovBG D March 18, 2021, 5:20 p.m. OK GNU C++17 TESTS 60 810 173056000
110380686 WillWang98 D March 18, 2021, 4:36 p.m. OK GNU C++17 TESTS 60 826 240435200
110392531 Luca D March 18, 2021, 5:48 p.m. OK GNU C++17 TESTS 60 889 172953600
110419619 Zztrans D March 19, 2021, 5:56 a.m. OK GNU C++17 (64) TESTS 60 577 188416000
110397835 CrayonKe D March 18, 2021, 7:06 p.m. OK GNU C++17 (64) TESTS 60 670 105472000
110419232 Forever_Pursuit D March 19, 2021, 5:51 a.m. OK GNU C++17 (64) TESTS 60 701 168345600
110387197 zwuis D March 18, 2021, 4:56 p.m. OK GNU C++17 (64) TESTS 60 717 108236800
110395558 neal D March 18, 2021, 6:30 p.m. OK GNU C++17 (64) TESTS 60 732 112230400
110417898 RainAir D March 19, 2021, 5:33 a.m. OK GNU C++17 (64) TESTS 60 733 180428800
110419444 Forever_Pursuit D March 19, 2021, 5:54 a.m. OK GNU C++17 (64) TESTS 60 748 168345600
110391144 yhn540671670 D March 18, 2021, 5:30 p.m. OK GNU C++17 (64) TESTS 60 748 180326400
110404620 the_hyp0cr1t3 D March 18, 2021, 9:52 p.m. OK GNU C++17 (64) TESTS 60 794 160460800
110419702 shjohw12 D March 19, 2021, 5:57 a.m. OK GNU C++17 (64) TESTS 60 873 20070400
110410476 0x3F D March 19, 2021, 2:28 a.m. OK Go TESTS 60 545 51302400
110410326 0x3F D March 19, 2021, 2:24 a.m. OK Go TESTS 60 701 178176000
110403844 0x3F D March 18, 2021, 9:23 p.m. OK Go TESTS 60 748 169267200
110403993 0x3F D March 18, 2021, 9:28 p.m. OK Go TESTS 60 779 169267200
110403550 0x3F D March 18, 2021, 9:14 p.m. OK Go TESTS 60 1481 169267200
110402361 0x3F D March 18, 2021, 8:40 p.m. OK Go TESTS 60 1497 169267200
110402443 0x3F D March 18, 2021, 8:42 p.m. OK Go TESTS 60 1590 169267200
110377741 0x3F D March 18, 2021, 4:28 p.m. OK Go TESTS 60 1996 173670400
110378948 anhpp D March 18, 2021, 4:31 p.m. OK Java 11 TESTS 60 1871 79872000
110392612 vineet16 D March 18, 2021, 5:49 p.m. OK Java 11 TESTS 60 1949 80076800
110394535 vineet16 D March 18, 2021, 6:15 p.m. OK Java 11 TESTS 60 1965 80076800
110400702 VishuTomar D March 18, 2021, 8:01 p.m. OK Java 8 TESTS 60 1669 78643200
110388286 YahiaSherif D March 18, 2021, 5:04 p.m. OK Java 8 TESTS 60 1793 231526400
110377615 2020akadaver D March 18, 2021, 4:27 p.m. OK Java 8 TESTS 60 1965 78643200
110419959 akshaygupta26 D March 19, 2021, 6 a.m. OK Java 8 TESTS 60 1980 151244800
110382496 YahiaSherif D March 18, 2021, 4:41 p.m. OK Java 8 TESTS 60 1996 352051200
110405529 tarattata1 D March 18, 2021, 10:30 p.m. OK MS C++ 2017 TESTS 60 1403 80281600
110419910 Cube219 D March 19, 2021, 5:59 a.m. OK MS C++ 2017 TESTS 60 1731 84480000
110401996 Friska D March 18, 2021, 8:31 p.m. OK MS C++ 2017 TESTS 60 1762 160460800
110401858 kagu D March 18, 2021, 8:28 p.m. OK PyPy 2 TESTS 60 1980 82841600
110409804 Mukundan314 D March 19, 2021, 2:06 a.m. OK PyPy 2 TESTS 60 1981 89702400
110418402 hxu10 D March 19, 2021, 5:40 a.m. OK PyPy 3 TESTS 60 1886 84582400
110403487 Genius3435 D March 18, 2021, 9:12 p.m. OK PyPy 3 TESTS 60 1965 86118400
110409855 busking2 D March 19, 2021, 2:08 a.m. OK PyPy 3 TESTS 60 1980 83968000
110418812 jainmilind D March 19, 2021, 5:45 a.m. OK PyPy 3 TESTS 60 1980 159744000
110413698 srijan.sarkar D March 19, 2021, 4:02 a.m. OK PyPy 3 TESTS 60 1981 161484800
110390626 nagitaosu D March 18, 2021, 5:24 p.m. OK PyPy 3 TESTS 60 1996 85094400
110404325 tqa236 D March 18, 2021, 9:41 p.m. OK PyPy 3 TESTS 60 1996 87654400
110389030 marroncastle D March 18, 2021, 5:09 p.m. OK PyPy 3 TESTS 60 1996 161075200
110418475 The_Apurv_Rathore D March 19, 2021, 5:41 a.m. OK PyPy 3 TESTS 60 1996 164864000
110417985 toomer D March 19, 2021, 5:34 a.m. OK Rust TESTS 60 1138 40652800
110398964 professor-flux D March 18, 2021, 7:27 p.m. OK Rust TESTS 60 1762 80691200
110397863 professor-flux D March 18, 2021, 7:06 p.m. OK Rust TESTS 60 1824 80691200
110382608 professor-flux D March 18, 2021, 4:41 p.m. OK Rust TESTS 60 1886 80691200

remove filters

Back to search problems