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 positive integers x and y . You can perform the following operation with x : write it in its binary form without leading zeros, add 0 or 1 to the right of it, reverse the binary form and turn it into a decimal number which is assigned as the new value of x . For example: Your task is to find out whether x can be turned into y after a certain number of operations (possibly zero). The only line of the input contains two integers x and y ( 1 <= x, y <= 10^{18} ). Print YES if you can make x equal to y and NO if you can't. In the first example, you don't even need to do anything. The fourth example is described in the statement. "... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
139338257 |
vjudge1 |
F |
Dec. 15, 2021, 12:57 a.m. |
OK |
Clang++17 Diagnostics |
TESTS |
51 |
46 |
0 |
|
|
139315045 |
cheese-cracker |
F |
Dec. 14, 2021, 5:18 p.m. |
OK |
D |
TESTS |
51 |
31 |
0 |
|
|
139353495 |
Nur47 |
F |
Dec. 15, 2021, 5:13 a.m. |
OK |
GNU C++14 |
TESTS |
51 |
15 |
0 |
|
|
139349554 |
zuko92 |
F |
Dec. 15, 2021, 4:06 a.m. |
OK |
GNU C++14 |
TESTS |
51 |
15 |
0 |
|
|
139349416 |
zefyrus |
F |
Dec. 15, 2021, 4:04 a.m. |
OK |
GNU C++14 |
TESTS |
51 |
15 |
0 |
|
|
139347559 |
Quiet_Space_time |
F |
Dec. 15, 2021, 3:24 a.m. |
OK |
GNU C++14 |
TESTS |
51 |
15 |
0 |
|
|
139346887 |
yjh2651 |
F |
Dec. 15, 2021, 3:07 a.m. |
OK |
GNU C++14 |
TESTS |
51 |
15 |
0 |
|
|
139346460 |
agrmayk77 |
F |
Dec. 15, 2021, 2:57 a.m. |
OK |
GNU C++14 |
TESTS |
51 |
15 |
0 |
|
|
139345599 |
2018YM_HUNNU |
F |
Dec. 15, 2021, 2:35 a.m. |
OK |
GNU C++14 |
TESTS |
51 |
15 |
0 |
|
|
139338680 |
207r1a6786 |
F |
Dec. 15, 2021, 1:11 a.m. |
OK |
GNU C++14 |
TESTS |
51 |
15 |
0 |
|
|
139339969 |
Molukhyyeh |
F |
Dec. 15, 2021, 1:55 a.m. |
OK |
GNU C++14 |
TESTS |
51 |
15 |
0 |
|
|
139353798 |
Nur47 |
F |
Dec. 15, 2021, 5:17 a.m. |
OK |
GNU C++14 |
TESTS |
51 |
15 |
0 |
|
|
139353006 |
ShubhamDoke |
F |
Dec. 15, 2021, 5:05 a.m. |
OK |
GNU C++17 |
TESTS |
51 |
15 |
0 |
|
|
139356631 |
itsrohit |
F |
Dec. 15, 2021, 5:57 a.m. |
OK |
GNU C++17 |
TESTS |
51 |
15 |
0 |
|
|
139356610 |
hey_itsme |
F |
Dec. 15, 2021, 5:57 a.m. |
OK |
GNU C++17 |
TESTS |
51 |
15 |
0 |
|
|
139355652 |
Phenominal1 |
F |
Dec. 15, 2021, 5:43 a.m. |
OK |
GNU C++17 |
TESTS |
51 |
15 |
0 |
|
|
139354846 |
2019ugmm056 |
F |
Dec. 15, 2021, 5:32 a.m. |
OK |
GNU C++17 |
TESTS |
51 |
15 |
0 |
|
|
139354086 |
20164436 |
F |
Dec. 15, 2021, 5:21 a.m. |
OK |
GNU C++17 |
TESTS |
51 |
15 |
0 |
|
|
139353697 |
A.barwar |
F |
Dec. 15, 2021, 5:16 a.m. |
OK |
GNU C++17 |
TESTS |
51 |
15 |
0 |
|
|
139353475 |
seeker_26 |
F |
Dec. 15, 2021, 5:13 a.m. |
OK |
GNU C++17 |
TESTS |
51 |
15 |
0 |
|
|
139353336 |
rishabh641 |
F |
Dec. 15, 2021, 5:11 a.m. |
OK |
GNU C++17 |
TESTS |
51 |
15 |
0 |
|
|
139352844 |
quantau |
F |
Dec. 15, 2021, 5:03 a.m. |
OK |
GNU C++17 |
TESTS |
51 |
15 |
0 |
|
|
139348534 |
jb_2402 |
F |
Dec. 15, 2021, 3:45 a.m. |
OK |
GNU C++17 (64) |
TESTS |
51 |
15 |
0 |
|
|
139356872 |
locozade |
F |
Dec. 15, 2021, 6 a.m. |
OK |
GNU C++17 (64) |
TESTS |
51 |
15 |
0 |
|
|
139356139 |
FatihSolak |
F |
Dec. 15, 2021, 5:50 a.m. |
OK |
GNU C++17 (64) |
TESTS |
51 |
15 |
0 |
|
|
139356118 |
CODERGARV |
F |
Dec. 15, 2021, 5:50 a.m. |
OK |
GNU C++17 (64) |
TESTS |
51 |
15 |
0 |
|
|
139355239 |
GaryH |
F |
Dec. 15, 2021, 5:38 a.m. |
OK |
GNU C++17 (64) |
TESTS |
51 |
15 |
0 |
|
|
139355212 |
xiaobaibai123 |
F |
Dec. 15, 2021, 5:37 a.m. |
OK |
GNU C++17 (64) |
TESTS |
51 |
15 |
0 |
|
|
139352498 |
saurabhkulkarni |
F |
Dec. 15, 2021, 4:57 a.m. |
OK |
GNU C++17 (64) |
TESTS |
51 |
15 |
0 |
|
|
139348568 |
PurpleCrayon |
F |
Dec. 15, 2021, 3:46 a.m. |
OK |
GNU C++17 (64) |
TESTS |
51 |
15 |
0 |
|
|
139347794 |
boatmuscles |
F |
Dec. 15, 2021, 3:29 a.m. |
OK |
GNU C++17 (64) |
TESTS |
51 |
15 |
0 |
|
|
139347754 |
sravan12321 |
F |
Dec. 15, 2021, 3:28 a.m. |
OK |
GNU C++17 (64) |
TESTS |
51 |
15 |
0 |
|
|
139346905 |
wind_cross |
F |
Dec. 15, 2021, 3:08 a.m. |
OK |
GNU C++20 (64) |
TESTS |
51 |
0 |
0 |
|
|
139356931 |
fenyman |
F |
Dec. 15, 2021, 6:01 a.m. |
OK |
GNU C++20 (64) |
TESTS |
51 |
15 |
0 |
|
|
139356910 |
fenyman |
F |
Dec. 15, 2021, 6 a.m. |
OK |
GNU C++20 (64) |
TESTS |
51 |
15 |
0 |
|
|
139356370 |
AkmalAgzamov1 |
F |
Dec. 15, 2021, 5:53 a.m. |
OK |
GNU C++20 (64) |
TESTS |
51 |
15 |
0 |
|
|
139356079 |
iamsahil_2703 |
F |
Dec. 15, 2021, 5:49 a.m. |
OK |
GNU C++20 (64) |
TESTS |
51 |
15 |
0 |
|
|
139355540 |
wrzwrzwrz |
F |
Dec. 15, 2021, 5:42 a.m. |
OK |
GNU C++20 (64) |
TESTS |
51 |
15 |
0 |
|
|
139354529 |
Amimoy12 |
F |
Dec. 15, 2021, 5:28 a.m. |
OK |
GNU C++20 (64) |
TESTS |
51 |
15 |
0 |
|
|
139353903 |
CurB |
F |
Dec. 15, 2021, 5:19 a.m. |
OK |
GNU C++20 (64) |
TESTS |
51 |
15 |
0 |
|
|
139348112 |
folly_fish |
F |
Dec. 15, 2021, 3:36 a.m. |
OK |
GNU C++20 (64) |
TESTS |
51 |
15 |
0 |
|
|
139347814 |
Jandos_Jumahanov |
F |
Dec. 15, 2021, 3:29 a.m. |
OK |
GNU C++20 (64) |
TESTS |
51 |
15 |
0 |
|
|
139324332 |
sersht |
F |
Dec. 14, 2021, 7:02 p.m. |
OK |
Go |
TESTS |
51 |
31 |
102400 |
|
|
139311745 |
meooow |
F |
Dec. 14, 2021, 4:58 p.m. |
OK |
Haskell |
TESTS |
51 |
15 |
0 |
|
|
139319339 |
ddwuya |
F |
Dec. 14, 2021, 6 p.m. |
OK |
Java 11 |
TESTS |
51 |
171 |
0 |
|
|
139320954 |
saptarshi1729 |
F |
Dec. 14, 2021, 6:18 p.m. |
OK |
Java 11 |
TESTS |
51 |
171 |
18944000 |
|
|
139319777 |
punitg8 |
F |
Dec. 14, 2021, 6:05 p.m. |
OK |
Java 11 |
TESTS |
51 |
186 |
0 |
|
|
139315913 |
5612 |
F |
Dec. 14, 2021, 5:26 p.m. |
OK |
Java 11 |
TESTS |
51 |
187 |
0 |
|
|
139323641 |
fenixsandrit |
F |
Dec. 14, 2021, 6:51 p.m. |
OK |
Java 11 |
TESTS |
51 |
202 |
0 |
|
|
139316758 |
viplavkadam |
F |
Dec. 14, 2021, 5:33 p.m. |
OK |
Java 11 |
TESTS |
51 |
202 |
0 |
|
|
139314947 |
naman5811 |
F |
Dec. 14, 2021, 5:18 p.m. |
OK |
Java 11 |
TESTS |
51 |
202 |
0 |
|
|
139307444 |
podtelkin |
F |
Dec. 14, 2021, 4:47 p.m. |
OK |
Java 11 |
TESTS |
50 |
202 |
0 |
|
|
139326303 |
2chelovek2 |
F |
Dec. 14, 2021, 7:30 p.m. |
OK |
Java 11 |
TESTS |
51 |
218 |
0 |
|
|
139318032 |
dzhi |
F |
Dec. 14, 2021, 5:46 p.m. |
OK |
Java 11 |
TESTS |
51 |
218 |
0 |
|
|
139335999 |
invincible777 |
F |
Dec. 14, 2021, 11:15 p.m. |
OK |
Java 8 |
TESTS |
51 |
108 |
0 |
|
|
139327612 |
pras7946 |
F |
Dec. 14, 2021, 7:50 p.m. |
OK |
Java 8 |
TESTS |
51 |
109 |
0 |
|
|
139322657 |
kkkkush |
F |
Dec. 14, 2021, 6:39 p.m. |
OK |
Java 8 |
TESTS |
51 |
109 |
0 |
|
|
139305743 |
ikillmyself |
F |
Dec. 14, 2021, 4:44 p.m. |
OK |
Java 8 |
TESTS |
50 |
139 |
0 |
|
|
139321839 |
zj85 |
F |
Dec. 14, 2021, 6:29 p.m. |
OK |
Java 8 |
TESTS |
51 |
233 |
0 |
|
|
139351132 |
wuchaojie1097 |
F |
Dec. 15, 2021, 4:35 a.m. |
OK |
Kotlin 1.4 |
TESTS |
51 |
140 |
0 |
|
|
139329419 |
CrashMaster |
F |
Dec. 14, 2021, 8:20 p.m. |
OK |
MS C++ 2017 |
TESTS |
51 |
15 |
0 |
|
|
139347145 |
hcp |
F |
Dec. 15, 2021, 3:14 a.m. |
OK |
MS C++ 2017 |
TESTS |
51 |
15 |
0 |
|
|
139322994 |
Xeniya |
F |
Dec. 14, 2021, 6:43 p.m. |
OK |
MS C++ 2017 |
TESTS |
51 |
15 |
0 |
|
|
139305810 |
avtoruxadze |
F |
Dec. 14, 2021, 4:44 p.m. |
OK |
.NET Core C# |
TESTS |
50 |
93 |
716800 |
|
|
139313858 |
1_2_3_4_5_9 |
F |
Dec. 14, 2021, 5:10 p.m. |
OK |
PyPy 2 |
TESTS |
51 |
62 |
307200 |
|
|
139313397 |
14_15_16 |
F |
Dec. 14, 2021, 5:07 p.m. |
OK |
PyPy 2 |
TESTS |
51 |
62 |
307200 |
|
|
139352553 |
Vvvyzil |
F |
Dec. 15, 2021, 4:58 a.m. |
OK |
PyPy 3 |
TESTS |
51 |
77 |
0 |
|
|
139346538 |
wolfram_ |
F |
Dec. 15, 2021, 2:59 a.m. |
OK |
PyPy 3 |
TESTS |
51 |
77 |
0 |
|
|
139337494 |
mkawa2 |
F |
Dec. 15, 2021, 12:27 a.m. |
OK |
PyPy 3 |
TESTS |
51 |
77 |
0 |
|
|
139318495 |
xuhao95 |
F |
Dec. 14, 2021, 5:50 p.m. |
OK |
PyPy 3 |
TESTS |
51 |
77 |
2457600 |
|
|
139329901 |
Sachin_Sain |
F |
Dec. 14, 2021, 8:28 p.m. |
OK |
PyPy 3 |
TESTS |
51 |
93 |
0 |
|
|
139326887 |
AbnerShen |
F |
Dec. 14, 2021, 7:38 p.m. |
OK |
PyPy 3 |
TESTS |
51 |
93 |
2355200 |
|
|
139321172 |
xuhao95 |
F |
Dec. 14, 2021, 6:20 p.m. |
OK |
PyPy 3 |
TESTS |
51 |
93 |
2457600 |
|
|
139311269 |
megurine |
F |
Dec. 14, 2021, 4:55 p.m. |
OK |
PyPy 3 |
TESTS |
51 |
93 |
2560000 |
|
|
139346671 |
sr3gm |
F |
Dec. 15, 2021, 3:02 a.m. |
OK |
PyPy 3 |
TESTS |
51 |
93 |
5529600 |
|
|
139331739 |
Pheonix23 |
F |
Dec. 14, 2021, 9:07 p.m. |
OK |
PyPy 3 |
TESTS |
51 |
93 |
264499200 |
|
|
139354428 |
mean9 |
F |
Dec. 15, 2021, 5:26 a.m. |
OK |
PyPy 3-64 |
TESTS |
51 |
109 |
0 |
|
|
139308551 |
bjy |
F |
Dec. 14, 2021, 4:48 p.m. |
OK |
PyPy 3-64 |
TESTS |
50 |
109 |
1945600 |
|
|
139345794 |
mean9 |
F |
Dec. 15, 2021, 2:40 a.m. |
OK |
PyPy 3-64 |
TESTS |
51 |
124 |
0 |
|
|
139345313 |
mean9 |
F |
Dec. 15, 2021, 2:27 a.m. |
OK |
PyPy 3-64 |
TESTS |
51 |
124 |
0 |
|
|
139314678 |
titia |
F |
Dec. 14, 2021, 5:16 p.m. |
OK |
PyPy 3-64 |
TESTS |
51 |
124 |
0 |
|
|
139312833 |
ctt312000 |
F |
Dec. 14, 2021, 5:04 p.m. |
OK |
PyPy 3-64 |
TESTS |
51 |
124 |
0 |
|
|
139315706 |
WillWang98 |
F |
Dec. 14, 2021, 5:24 p.m. |
OK |
PyPy 3-64 |
TESTS |
51 |
124 |
0 |
|
|
139348462 |
DistortedLight |
F |
Dec. 15, 2021, 3:44 a.m. |
OK |
PyPy 3-64 |
TESTS |
51 |
124 |
0 |
|
|
139318477 |
hiddenanonymouskgp |
F |
Dec. 14, 2021, 5:50 p.m. |
OK |
PyPy 3-64 |
TESTS |
51 |
124 |
512000 |
|
|
139354886 |
_____a____ |
F |
Dec. 15, 2021, 5:33 a.m. |
OK |
PyPy 3-64 |
TESTS |
51 |
124 |
1331200 |
|
|
139320001 |
Bambam_Shivam |
F |
Dec. 14, 2021, 6:07 p.m. |
OK |
Python 3 |
TESTS |
51 |
46 |
0 |
|
|
139326238 |
khwl |
F |
Dec. 14, 2021, 7:29 p.m. |
OK |
Python 3 |
TESTS |
51 |
46 |
0 |
|
|
139314769 |
Avanta |
F |
Dec. 14, 2021, 5:16 p.m. |
OK |
Python 3 |
TESTS |
51 |
46 |
0 |
|
|
139314654 |
Avanta |
F |
Dec. 14, 2021, 5:15 p.m. |
OK |
Python 3 |
TESTS |
51 |
46 |
0 |
|
|
139314636 |
Avanta |
F |
Dec. 14, 2021, 5:15 p.m. |
OK |
Python 3 |
TESTS |
51 |
46 |
0 |
|
|
139314279 |
Avanta |
F |
Dec. 14, 2021, 5:13 p.m. |
OK |
Python 3 |
TESTS |
51 |
46 |
0 |
|
|
139304918 |
peakypo |
F |
Dec. 14, 2021, 4:43 p.m. |
OK |
Python 3 |
TESTS |
50 |
46 |
102400 |
|
|
139314350 |
Avanta |
F |
Dec. 14, 2021, 5:13 p.m. |
OK |
Python 3 |
TESTS |
51 |
61 |
0 |
|
|
139310811 |
pbcpp |
F |
Dec. 14, 2021, 4:54 p.m. |
OK |
Python 3 |
TESTS |
50 |
61 |
0 |
|
|
139328806 |
SK1PY |
F |
Dec. 14, 2021, 8:10 p.m. |
OK |
Python 3 |
TESTS |
51 |
61 |
819200 |
|
|
139334707 |
FakestAccount |
F |
Dec. 14, 2021, 10:27 p.m. |
OK |
Rust 2021 |
TESTS |
51 |
15 |
0 |
|
|
139329092 |
sansen |
F |
Dec. 14, 2021, 8:14 p.m. |
OK |
Rust 2021 |
TESTS |
51 |
31 |
2252800 |
|
|
remove filters
Back to search problems