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"Monocarp wrote down two numbers on a whiteboard. Both numbers follow a specific format: a positive integer x with p zeros appended to its end. Now Monocarp asks you to compare these two numbers. Can you help him? The first line contains a single integer t ( 1 <= t <= 10^4 ) -- the number of testcases. The first line of each testcase contains two integers x_1 and p_1 ( 1 <= x_1 <= 10^6; 0 <= p_1 <= 10^6 ) -- the description of the first number. The second line of each testcase contains two integers x_2 and p_2 ( 1 <= x_2 <= 10^6; 0 <= p_2 <= 10^6 ) -- the description of the second number. For each testcase print the result of the comparison of the given two numbers. If the first number is smaller than the second one, print '<'. If the first number is greater than the second one, print '>'. If they are equal, print '='. The comparisons in the example are: 20 > 19 , 1000 = 1000 , 1999 < 2000 , 1 = 1 , 99 < 100 . "... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
137734348 |
Mrgglock |
A |
Dec. 2, 2021, 12:46 a.m. |
OK |
GNU C11 |
TESTS |
52 |
31 |
0 |
|
|
137721485 |
MusaUmutYelkenci |
A |
Dec. 1, 2021, 7 p.m. |
OK |
GNU C11 |
TESTS |
2 |
46 |
0 |
|
|
137738947 |
chnaveen |
A |
Dec. 2, 2021, 2:58 a.m. |
OK |
GNU C11 |
TESTS |
52 |
46 |
0 |
|
|
137712051 |
nabiurrahman2004 |
A |
Dec. 1, 2021, 5:16 p.m. |
OK |
GNU C11 |
TESTS |
2 |
46 |
0 |
|
|
137702447 |
__TheKing |
A |
Dec. 1, 2021, 4:30 p.m. |
OK |
GNU C11 |
TESTS |
2 |
46 |
0 |
|
|
137723850 |
Cashewnut_ggr |
A |
Dec. 1, 2021, 7:36 p.m. |
OK |
GNU C11 |
TESTS |
2 |
61 |
0 |
|
|
137743802 |
murali_33 |
A |
Dec. 2, 2021, 4:43 a.m. |
OK |
GNU C11 |
TESTS |
52 |
62 |
0 |
|
|
137708756 |
adityaninawe |
A |
Dec. 1, 2021, 4:52 p.m. |
OK |
GNU C++14 |
TESTS |
2 |
0 |
0 |
|
|
137706412 |
akshit_ahuja |
A |
Dec. 1, 2021, 4:39 p.m. |
OK |
GNU C++14 |
TESTS |
2 |
0 |
0 |
|
|
137720402 |
falcon13 |
A |
Dec. 1, 2021, 6:46 p.m. |
OK |
GNU C++14 |
TESTS |
2 |
0 |
0 |
|
|
137706091 |
asrawat2001 |
A |
Dec. 1, 2021, 4:38 p.m. |
OK |
GNU C++14 |
TESTS |
2 |
0 |
0 |
|
|
137716570 |
zefyrus |
A |
Dec. 1, 2021, 5:59 p.m. |
OK |
GNU C++14 |
TESTS |
2 |
0 |
0 |
|
|
137714850 |
abdalrhman_janem |
A |
Dec. 1, 2021, 5:41 p.m. |
OK |
GNU C++14 |
TESTS |
2 |
0 |
0 |
|
|
137713896 |
Akshat017 |
A |
Dec. 1, 2021, 5:32 p.m. |
OK |
GNU C++14 |
TESTS |
2 |
0 |
0 |
|
|
137710909 |
anutom20 |
A |
Dec. 1, 2021, 5:07 p.m. |
OK |
GNU C++14 |
TESTS |
2 |
0 |
0 |
|
|
137710426 |
pyxiss |
A |
Dec. 1, 2021, 5:03 p.m. |
OK |
GNU C++14 |
TESTS |
2 |
0 |
0 |
|
|
137709766 |
iamshroud |
A |
Dec. 1, 2021, 4:58 p.m. |
OK |
GNU C++14 |
TESTS |
2 |
0 |
0 |
|
|
137726196 |
UnfitCoder |
A |
Dec. 1, 2021, 8:17 p.m. |
OK |
GNU C++17 |
TESTS |
2 |
0 |
0 |
|
|
137725199 |
aakstatic |
A |
Dec. 1, 2021, 7:58 p.m. |
OK |
GNU C++17 |
TESTS |
2 |
0 |
0 |
|
|
137724428 |
ivn1k |
A |
Dec. 1, 2021, 7:45 p.m. |
OK |
GNU C++17 |
TESTS |
2 |
0 |
0 |
|
|
137722678 |
sahiljaveri |
A |
Dec. 1, 2021, 7:18 p.m. |
OK |
GNU C++17 |
TESTS |
2 |
0 |
0 |
|
|
137722255 |
Anas-AbuAmar |
A |
Dec. 1, 2021, 7:11 p.m. |
OK |
GNU C++17 |
TESTS |
2 |
0 |
0 |
|
|
137721846 |
AniTheSin |
A |
Dec. 1, 2021, 7:05 p.m. |
OK |
GNU C++17 |
TESTS |
2 |
0 |
0 |
|
|
137721328 |
ghazyosman5 |
A |
Dec. 1, 2021, 6:58 p.m. |
OK |
GNU C++17 |
TESTS |
2 |
0 |
0 |
|
|
137727083 |
dirolll |
A |
Dec. 1, 2021, 8:36 p.m. |
OK |
GNU C++17 |
TESTS |
2 |
0 |
0 |
|
|
137727926 |
Chanpreet |
A |
Dec. 1, 2021, 8:53 p.m. |
OK |
GNU C++17 |
TESTS |
2 |
0 |
0 |
|
|
137729745 |
tloinuy |
A |
Dec. 1, 2021, 9:39 p.m. |
OK |
GNU C++17 |
TESTS |
2 |
0 |
0 |
|
|
137712635 |
fugelarma |
A |
Dec. 1, 2021, 5:21 p.m. |
OK |
GNU C++17 (64) |
TESTS |
2 |
0 |
0 |
|
|
137730736 |
Accidentally_Coder |
A |
Dec. 1, 2021, 10:11 p.m. |
OK |
GNU C++17 (64) |
TESTS |
2 |
0 |
0 |
|
|
137725431 |
Sriram_2002 |
A |
Dec. 1, 2021, 8:02 p.m. |
OK |
GNU C++17 (64) |
TESTS |
2 |
0 |
0 |
|
|
137717749 |
shubhamgrg1000 |
A |
Dec. 1, 2021, 6:13 p.m. |
OK |
GNU C++17 (64) |
TESTS |
2 |
0 |
0 |
|
|
137717613 |
shivansh_jaiswal |
A |
Dec. 1, 2021, 6:12 p.m. |
OK |
GNU C++17 (64) |
TESTS |
2 |
0 |
0 |
|
|
137717073 |
rawknit |
A |
Dec. 1, 2021, 6:05 p.m. |
OK |
GNU C++17 (64) |
TESTS |
2 |
0 |
0 |
|
|
137713965 |
Golden |
A |
Dec. 1, 2021, 5:33 p.m. |
OK |
GNU C++17 (64) |
TESTS |
2 |
0 |
0 |
|
|
137713657 |
_Enigma__ |
A |
Dec. 1, 2021, 5:30 p.m. |
OK |
GNU C++17 (64) |
TESTS |
2 |
0 |
0 |
|
|
137712869 |
artcosec |
A |
Dec. 1, 2021, 5:23 p.m. |
OK |
GNU C++17 (64) |
TESTS |
2 |
0 |
0 |
|
|
137711073 |
Aero__ |
A |
Dec. 1, 2021, 5:08 p.m. |
OK |
GNU C++17 (64) |
TESTS |
2 |
0 |
0 |
|
|
137722077 |
Omar_Ashour |
A |
Dec. 1, 2021, 7:08 p.m. |
OK |
GNU C++20 (64) |
TESTS |
2 |
0 |
0 |
|
|
137720936 |
AlanSkarica |
A |
Dec. 1, 2021, 6:53 p.m. |
OK |
GNU C++20 (64) |
TESTS |
2 |
0 |
0 |
|
|
137720889 |
rushitote |
A |
Dec. 1, 2021, 6:52 p.m. |
OK |
GNU C++20 (64) |
TESTS |
2 |
0 |
0 |
|
|
137716859 |
midu_01 |
A |
Dec. 1, 2021, 6:03 p.m. |
OK |
GNU C++20 (64) |
TESTS |
2 |
0 |
0 |
|
|
137715042 |
SashaT9 |
A |
Dec. 1, 2021, 5:43 p.m. |
OK |
GNU C++20 (64) |
TESTS |
2 |
0 |
0 |
|
|
137714444 |
TanjiRaj |
A |
Dec. 1, 2021, 5:37 p.m. |
OK |
GNU C++20 (64) |
TESTS |
2 |
0 |
0 |
|
|
137713807 |
adit_g_kul18 |
A |
Dec. 1, 2021, 5:31 p.m. |
OK |
GNU C++20 (64) |
TESTS |
2 |
0 |
0 |
|
|
137723572 |
sumitvivek_001 |
A |
Dec. 1, 2021, 7:31 p.m. |
OK |
GNU C++20 (64) |
TESTS |
2 |
0 |
0 |
|
|
137723710 |
Tanbin_Hasan |
A |
Dec. 1, 2021, 7:34 p.m. |
OK |
GNU C++20 (64) |
TESTS |
2 |
0 |
0 |
|
|
137727434 |
Comatose |
A |
Dec. 1, 2021, 8:43 p.m. |
OK |
GNU C++20 (64) |
TESTS |
2 |
0 |
0 |
|
|
137703457 |
TienNguyen411 |
A |
Dec. 1, 2021, 4:32 p.m. |
OK |
Java 11 |
TESTS |
2 |
155 |
0 |
|
|
137707615 |
tushar19280 |
A |
Dec. 1, 2021, 4:45 p.m. |
OK |
Java 11 |
TESTS |
2 |
170 |
0 |
|
|
137722435 |
sharnit |
A |
Dec. 1, 2021, 7:14 p.m. |
OK |
Java 11 |
TESTS |
2 |
171 |
0 |
|
|
137716948 |
LongWalk |
A |
Dec. 1, 2021, 6:04 p.m. |
OK |
Java 11 |
TESTS |
2 |
171 |
0 |
|
|
137708386 |
codebook_2000 |
A |
Dec. 1, 2021, 4:50 p.m. |
OK |
Java 11 |
TESTS |
2 |
171 |
0 |
|
|
137704411 |
TienNguyen411 |
A |
Dec. 1, 2021, 4:33 p.m. |
OK |
Java 11 |
TESTS |
2 |
171 |
0 |
|
|
137725584 |
subham_twp |
A |
Dec. 1, 2021, 8:05 p.m. |
OK |
Java 11 |
TESTS |
2 |
186 |
0 |
|
|
137708703 |
the_unseen |
A |
Dec. 1, 2021, 4:52 p.m. |
OK |
Java 11 |
TESTS |
2 |
186 |
0 |
|
|
137706321 |
krishnmohan19 |
A |
Dec. 1, 2021, 4:39 p.m. |
OK |
Java 11 |
TESTS |
2 |
186 |
0 |
|
|
137726078 |
vijender_8601 |
A |
Dec. 1, 2021, 8:15 p.m. |
OK |
Java 11 |
TESTS |
2 |
187 |
0 |
|
|
137730275 |
snowyrsb |
A |
Dec. 1, 2021, 9:55 p.m. |
OK |
Java 8 |
TESTS |
2 |
77 |
0 |
|
|
137715372 |
omar_mohammed |
A |
Dec. 1, 2021, 5:46 p.m. |
OK |
Java 8 |
TESTS |
2 |
93 |
0 |
|
|
137711451 |
Milex |
A |
Dec. 1, 2021, 5:11 p.m. |
OK |
Java 8 |
TESTS |
2 |
108 |
0 |
|
|
137725047 |
tishrah_ |
A |
Dec. 1, 2021, 7:55 p.m. |
OK |
Java 8 |
TESTS |
2 |
108 |
0 |
|
|
137744409 |
abdoad941 |
A |
Dec. 2, 2021, 4:53 a.m. |
OK |
Java 8 |
TESTS |
52 |
124 |
0 |
|
|
137706604 |
ayafayed |
A |
Dec. 1, 2021, 4:40 p.m. |
OK |
Java 8 |
TESTS |
2 |
140 |
0 |
|
|
137709555 |
amit_roy |
A |
Dec. 1, 2021, 4:57 p.m. |
OK |
Java 8 |
TESTS |
2 |
155 |
0 |
|
|
137713269 |
akhilesh_2410 |
A |
Dec. 1, 2021, 5:27 p.m. |
OK |
Java 8 |
TESTS |
2 |
170 |
0 |
|
|
137704595 |
Hydra849 |
A |
Dec. 1, 2021, 4:33 p.m. |
OK |
Java 8 |
TESTS |
2 |
170 |
0 |
|
|
137743513 |
tanishq044 |
A |
Dec. 2, 2021, 4:37 a.m. |
OK |
Java 8 |
TESTS |
52 |
171 |
0 |
|
|
137712190 |
russian_proger |
A |
Dec. 1, 2021, 5:17 p.m. |
OK |
MS C++ 2017 |
TESTS |
2 |
31 |
0 |
|
|
137725993 |
Rev93 |
A |
Dec. 1, 2021, 8:13 p.m. |
OK |
MS C++ 2017 |
TESTS |
2 |
31 |
0 |
|
|
137714889 |
MRX7 |
A |
Dec. 1, 2021, 5:42 p.m. |
OK |
MS C++ 2017 |
TESTS |
2 |
61 |
0 |
|
|
137701721 |
anna_2005 |
A |
Dec. 1, 2021, 4:28 p.m. |
OK |
MS C++ 2017 |
TESTS |
2 |
61 |
0 |
|
|
137700493 |
Opfot |
A |
Dec. 1, 2021, 4:25 p.m. |
OK |
MS C++ 2017 |
TESTS |
2 |
62 |
0 |
|
|
137707159 |
renktb |
A |
Dec. 1, 2021, 4:42 p.m. |
OK |
MS C++ 2017 |
TESTS |
2 |
77 |
0 |
|
|
137709004 |
diana656 |
A |
Dec. 1, 2021, 4:53 p.m. |
OK |
MS C++ 2017 |
TESTS |
2 |
77 |
0 |
|
|
137703325 |
avshai |
A |
Dec. 1, 2021, 4:31 p.m. |
OK |
MS C++ 2017 |
TESTS |
2 |
92 |
0 |
|
|
137729378 |
giovannielias9500 |
A |
Dec. 1, 2021, 9:30 p.m. |
OK |
.NET Core C# |
TESTS |
2 |
92 |
2969600 |
|
|
137711607 |
Ahad726 |
A |
Dec. 1, 2021, 5:13 p.m. |
OK |
.NET Core C# |
TESTS |
2 |
93 |
3379200 |
|
|
137702760 |
Harazdii |
A |
Dec. 1, 2021, 4:30 p.m. |
OK |
.NET Core C# |
TESTS |
2 |
124 |
4505600 |
|
|
137705372 |
vikukandriy |
A |
Dec. 1, 2021, 4:34 p.m. |
OK |
.NET Core C# |
TESTS |
2 |
124 |
4505600 |
|
|
137723383 |
dotdot11 |
A |
Dec. 1, 2021, 7:28 p.m. |
OK |
Node.js |
TESTS |
2 |
217 |
6348800 |
|
|
137711856 |
Pasha_Rodygin |
A |
Dec. 1, 2021, 5:15 p.m. |
OK |
PyPy 3 |
TESTS |
2 |
78 |
3174400 |
|
|
137725369 |
hxu10 |
A |
Dec. 1, 2021, 8:01 p.m. |
OK |
PyPy 3 |
TESTS |
2 |
139 |
6041600 |
|
|
137735351 |
hxu10 |
A |
Dec. 2, 2021, 1:17 a.m. |
OK |
PyPy 3 |
TESTS |
52 |
140 |
6041600 |
|
|
137707929 |
ca3sar |
A |
Dec. 1, 2021, 4:47 p.m. |
OK |
PyPy 3 |
TESTS |
2 |
140 |
11059200 |
|
|
137715316 |
ishaand2 |
A |
Dec. 1, 2021, 5:46 p.m. |
OK |
PyPy 3 |
TESTS |
2 |
155 |
5324800 |
|
|
137727714 |
MH_Parag |
A |
Dec. 1, 2021, 8:49 p.m. |
OK |
PyPy 3 |
TESTS |
2 |
326 |
6758400 |
|
|
137730766 |
Fedak_Aleksandra |
A |
Dec. 1, 2021, 10:12 p.m. |
OK |
PyPy 3 |
TESTS |
2 |
327 |
6656000 |
|
|
137725790 |
chicosena |
A |
Dec. 1, 2021, 8:09 p.m. |
OK |
PyPy 3 |
TESTS |
2 |
327 |
6758400 |
|
|
137709003 |
Sachin_Sain |
A |
Dec. 1, 2021, 4:53 p.m. |
OK |
PyPy 3 |
TESTS |
2 |
342 |
6451200 |
|
|
137727679 |
whatshisbucket |
A |
Dec. 1, 2021, 8:48 p.m. |
OK |
PyPy 3 |
TESTS |
2 |
343 |
6758400 |
|
|
137715271 |
pedastrian57 |
A |
Dec. 1, 2021, 5:45 p.m. |
OK |
PyPy 3-64 |
TESTS |
2 |
108 |
138649600 |
|
|
137743733 |
epoweripi |
A |
Dec. 2, 2021, 4:42 a.m. |
OK |
PyPy 3-64 |
TESTS |
52 |
109 |
5836800 |
|
|
137709726 |
IkshitG |
A |
Dec. 1, 2021, 4:58 p.m. |
OK |
PyPy 3-64 |
TESTS |
2 |
109 |
6348800 |
|
|
137700418 |
ossau_guildo |
A |
Dec. 1, 2021, 4:25 p.m. |
OK |
PyPy 3-64 |
TESTS |
2 |
124 |
8294400 |
|
|
137731009 |
radoan.sharkar.richi |
A |
Dec. 1, 2021, 10:18 p.m. |
OK |
PyPy 3-64 |
TESTS |
2 |
124 |
9932800 |
|
|
137714000 |
Up_there |
A |
Dec. 1, 2021, 5:33 p.m. |
OK |
PyPy 3-64 |
TESTS |
2 |
139 |
8396800 |
|
|
137707967 |
riroan |
A |
Dec. 1, 2021, 4:47 p.m. |
OK |
PyPy 3-64 |
TESTS |
2 |
155 |
9113600 |
|
|
137706879 |
akshaykalucha |
A |
Dec. 1, 2021, 4:41 p.m. |
OK |
PyPy 3-64 |
TESTS |
2 |
171 |
9830400 |
|
|
137710866 |
feelme |
A |
Dec. 1, 2021, 5:06 p.m. |
OK |
PyPy 3-64 |
TESTS |
2 |
186 |
10342400 |
|
|
137708634 |
manish.17 |
A |
Dec. 1, 2021, 4:51 p.m. |
OK |
PyPy 3-64 |
TESTS |
2 |
233 |
8499200 |
|
|
137723242 |
elistark |
A |
Dec. 1, 2021, 7:26 p.m. |
OK |
Python 2 |
TESTS |
2 |
61 |
0 |
|
|
137736559 |
OLOGY |
A |
Dec. 2, 2021, 1:53 a.m. |
OK |
Python 2 |
TESTS |
52 |
92 |
1331200 |
|
|
137710750 |
OLOGY |
A |
Dec. 1, 2021, 5:06 p.m. |
OK |
Python 2 |
TESTS |
2 |
93 |
1126400 |
|
|
137711666 |
eugalt |
A |
Dec. 1, 2021, 5:13 p.m. |
OK |
Python 3 |
TESTS |
2 |
62 |
3072000 |
|
|
137706479 |
eugalt |
A |
Dec. 1, 2021, 4:39 p.m. |
OK |
Python 3 |
TESTS |
2 |
77 |
3072000 |
|
|
137703427 |
K.goyal |
A |
Dec. 1, 2021, 4:31 p.m. |
OK |
Python 3 |
TESTS |
2 |
93 |
0 |
|
|
137709070 |
jayrk19 |
A |
Dec. 1, 2021, 4:54 p.m. |
OK |
Python 3 |
TESTS |
2 |
93 |
307200 |
|
|
137740469 |
surajbhanarkar08 |
A |
Dec. 2, 2021, 3:34 a.m. |
OK |
Python 3 |
TESTS |
52 |
93 |
512000 |
|
|
137744177 |
tommypranay |
A |
Dec. 2, 2021, 4:49 a.m. |
OK |
Python 3 |
TESTS |
52 |
109 |
0 |
|
|
137730389 |
sas_grisha |
A |
Dec. 1, 2021, 9:59 p.m. |
OK |
Python 3 |
TESTS |
2 |
124 |
0 |
|
|
137708842 |
nitin.tejuja12 |
A |
Dec. 1, 2021, 4:52 p.m. |
OK |
Python 3 |
TESTS |
2 |
124 |
0 |
|
|
137706244 |
ameronizah |
A |
Dec. 1, 2021, 4:38 p.m. |
OK |
Python 3 |
TESTS |
2 |
124 |
0 |
|
|
137744505 |
tommypranay |
A |
Dec. 2, 2021, 4:55 a.m. |
OK |
Python 3 |
TESTS |
52 |
139 |
0 |
|
|
137727014 |
noogler |
A |
Dec. 1, 2021, 8:34 p.m. |
OK |
Rust |
TESTS |
2 |
31 |
0 |
|
|
137718747 |
sansen |
A |
Dec. 1, 2021, 6:25 p.m. |
OK |
Rust 2021 |
TESTS |
2 |
0 |
512000 |
|
|
remove filters
Back to search problems