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.
Problems
B'You are given two integers a and b . In one turn, you can do one of the following operations: Your goal is to make a equal to b using exactly k turns. For example, the numbers a=36 and b=48 can be made equal in 4 moves: For the given numbers a and b , determine whether it is possible to make them equal using exactly k turns. The first line contains one integer t ( 1 <= t <= 10^4 ). Then t test cases follow. Each test case is contains three integers a , b and k ( 1 <= a, b, k <= 10^9 ). For each test case output: The strings "Yes" and "No" can be output in any case. '... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
119100793 |
eastnman |
D |
June 10, 2021, 9:54 p.m. |
OK |
Delphi |
TESTS |
23 |
748 |
716800 |
|
|
119101479 |
eastnman |
D |
June 10, 2021, 10:19 p.m. |
OK |
Delphi |
TESTS |
23 |
795 |
716800 |
|
|
119097674 |
eastnman |
D |
June 10, 2021, 8:35 p.m. |
OK |
Delphi |
TESTS |
23 |
826 |
716800 |
|
|
119097316 |
eastnman |
D |
June 10, 2021, 8:28 p.m. |
OK |
Delphi |
TESTS |
23 |
1482 |
716800 |
|
|
119092556 |
eastnman |
D |
June 10, 2021, 7:11 p.m. |
OK |
Delphi |
TESTS |
23 |
1497 |
716800 |
|
|
119089481 |
ruban |
D |
June 10, 2021, 6:35 p.m. |
OK |
Delphi |
TESTS |
23 |
1700 |
11366400 |
|
|
119107556 |
PotremZ |
D |
June 11, 2021, 2:22 a.m. |
OK |
GNU C++11 |
TESTS |
55 |
187 |
512000 |
|
|
119105927 |
yonghu369 |
D |
June 11, 2021, 1:36 a.m. |
OK |
GNU C++11 |
TESTS |
55 |
187 |
512000 |
|
|
119106176 |
yonghu369 |
D |
June 11, 2021, 1:44 a.m. |
OK |
GNU C++11 |
TESTS |
55 |
202 |
512000 |
|
|
119092090 |
index.js |
D |
June 10, 2021, 7:05 p.m. |
OK |
GNU C++11 |
TESTS |
23 |
218 |
204800 |
|
|
119112988 |
Dragon_hao |
D |
June 11, 2021, 4:07 a.m. |
OK |
GNU C++11 |
TESTS |
55 |
264 |
512000 |
|
|
119089206 |
LuCpp |
D |
June 10, 2021, 6:32 p.m. |
OK |
GNU C++11 |
TESTS |
23 |
280 |
204800 |
|
|
119098969 |
Dalisyron |
D |
June 10, 2021, 9:03 p.m. |
OK |
GNU C++11 |
TESTS |
23 |
295 |
102400 |
|
|
119117181 |
AC_Mikoto |
D |
June 11, 2021, 5:09 a.m. |
OK |
GNU C++11 |
TESTS |
55 |
312 |
102400 |
|
|
119105761 |
hoanghuan25 |
D |
June 11, 2021, 1:31 a.m. |
OK |
GNU C++11 |
TESTS |
55 |
374 |
102400 |
|
|
119102468 |
TigerThePro |
D |
June 10, 2021, 11:05 p.m. |
OK |
GNU C++11 |
TESTS |
55 |
405 |
102400 |
|
|
119120748 |
Numen |
D |
June 11, 2021, 5:54 a.m. |
OK |
GNU C++14 |
TESTS |
55 |
109 |
0 |
|
|
119120634 |
Numen |
D |
June 11, 2021, 5:53 a.m. |
OK |
GNU C++14 |
TESTS |
55 |
109 |
0 |
|
|
119119935 |
Numen |
D |
June 11, 2021, 5:44 a.m. |
OK |
GNU C++14 |
TESTS |
55 |
109 |
0 |
|
|
119087682 |
makharia.aryan |
D |
June 10, 2021, 6:17 p.m. |
OK |
GNU C++14 |
TESTS |
23 |
187 |
102400 |
|
|
119100176 |
sirius08 |
D |
June 10, 2021, 9:34 p.m. |
OK |
GNU C++14 |
TESTS |
23 |
202 |
102400 |
|
|
119095076 |
wsLord |
D |
June 10, 2021, 7:48 p.m. |
OK |
GNU C++14 |
TESTS |
23 |
202 |
102400 |
|
|
119095043 |
wsLord |
D |
June 10, 2021, 7:47 p.m. |
OK |
GNU C++14 |
TESTS |
23 |
202 |
102400 |
|
|
119119388 |
dear_kohinoor |
D |
June 11, 2021, 5:38 a.m. |
OK |
GNU C++14 |
TESTS |
55 |
202 |
307200 |
|
|
119117509 |
Numen |
D |
June 11, 2021, 5:13 a.m. |
OK |
GNU C++14 |
TESTS |
55 |
218 |
204800 |
|
|
119091347 |
EJOI_Gold |
D |
June 10, 2021, 6:56 p.m. |
OK |
GNU C++14 |
TESTS |
23 |
233 |
307200 |
|
|
119114738 |
_The_Dark_Knight_ |
D |
June 11, 2021, 4:34 a.m. |
OK |
GNU C++17 |
TESTS |
55 |
78 |
0 |
|
|
119100008 |
beast_on_joB |
D |
June 10, 2021, 9:29 p.m. |
OK |
GNU C++17 |
TESTS |
23 |
78 |
0 |
|
|
119099491 |
av1shek |
D |
June 10, 2021, 9:16 p.m. |
OK |
GNU C++17 |
TESTS |
23 |
78 |
0 |
|
|
119088913 |
mrmayur |
D |
June 10, 2021, 6:29 p.m. |
OK |
GNU C++17 |
TESTS |
23 |
93 |
0 |
|
|
119095566 |
ThiagoMM |
D |
June 10, 2021, 7:56 p.m. |
OK |
GNU C++17 |
TESTS |
23 |
124 |
2048000 |
|
|
119099827 |
av1shek |
D |
June 10, 2021, 9:25 p.m. |
OK |
GNU C++17 |
TESTS |
23 |
139 |
0 |
|
|
119093503 |
dqk |
D |
June 10, 2021, 7:25 p.m. |
OK |
GNU C++17 |
TESTS |
23 |
186 |
102400 |
|
|
119116732 |
Darshann |
D |
June 11, 2021, 5:03 a.m. |
OK |
GNU C++17 |
TESTS |
55 |
187 |
102400 |
|
|
119098504 |
Evenvalue |
D |
June 10, 2021, 8:53 p.m. |
OK |
GNU C++17 |
TESTS |
23 |
187 |
102400 |
|
|
119094456 |
N1NT3NDO_6666 |
D |
June 10, 2021, 7:38 p.m. |
OK |
GNU C++17 |
TESTS |
23 |
187 |
102400 |
|
|
remove filters
Back to search problems