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'Pak Chanek plans to build a garage. He wants the garage to consist of a square and a right triangle that are arranged like the following illustration. Define a and b as the lengths of two of the sides in the right triangle as shown in the illustration. An integer x is suitable if and only if we can construct a garage with assigning positive integer values for the lengths a and b ( a<b ) so that the area of the square at the bottom is exactly x . As a good friend of Pak Chanek, you are asked to help him find the N -th smallest suitable number. The only line contains a single integer N ( 1 <= q N <= q 10^9 ). An integer that represents the N -th smallest suitable number. The 3 -rd smallest suitable number is 7 . A square area of 7 can be obtained by assigning a=3 and b=4 . '... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
170908769 |
KineyIkerz |
G |
Sept. 5, 2022, 4:14 a.m. |
OK |
Clang++20 Diagnostics |
TESTS |
20 |
31 |
0 |
|
|
170873576 |
ruban |
G |
Sept. 4, 2022, 4:42 p.m. |
OK |
Delphi |
TESTS |
20 |
31 |
121958400 |
|
|
170869768 |
gsomani |
G |
Sept. 4, 2022, 4:09 p.m. |
OK |
GNU C11 |
TESTS |
20 |
15 |
0 |
|
|
170893247 |
Decoherent |
G |
Sept. 4, 2022, 8:55 p.m. |
OK |
GNU C11 |
TESTS |
20 |
31 |
0 |
|
|
170868603 |
Swyrin Hnhat1234 strkss |
G |
Sept. 4, 2022, 3:59 p.m. |
OK |
GNU C++14 |
TESTS |
20 |
0 |
0 |
|
|
170865329 |
sabkx |
G |
Sept. 4, 2022, 3:32 p.m. |
OK |
GNU C++14 |
TESTS |
20 |
0 |
0 |
|
|
170864804 |
hayktonoy |
G |
Sept. 4, 2022, 3:28 p.m. |
OK |
GNU C++14 |
TESTS |
20 |
0 |
0 |
|
|
170862547 |
amitkumar2003.edu |
G |
Sept. 4, 2022, 3:11 p.m. |
OK |
GNU C++14 |
TESTS |
20 |
0 |
0 |
|
|
170856831 |
simon_Sun |
G |
Sept. 4, 2022, 2:33 p.m. |
OK |
GNU C++14 |
TESTS |
20 |
0 |
0 |
|
|
170855483 |
Gocen |
G |
Sept. 4, 2022, 2:25 p.m. |
OK |
GNU C++14 |
TESTS |
20 |
0 |
0 |
|
|
170913201 |
kaislash. |
G |
Sept. 5, 2022, 5:51 a.m. |
OK |
GNU C++14 |
TESTS |
20 |
0 |
0 |
|
|
170906803 |
MinhThang |
G |
Sept. 5, 2022, 3:26 a.m. |
OK |
GNU C++14 |
TESTS |
20 |
0 |
0 |
|
|
170871204 |
Mr_Frodo curious_rakib obaydullahmhs |
G |
Sept. 4, 2022, 4:21 p.m. |
OK |
GNU C++14 |
TESTS |
20 |
0 |
0 |
|
|
170869364 |
fuadul masud458 Arnab048 |
G |
Sept. 4, 2022, 4:06 p.m. |
OK |
GNU C++14 |
TESTS |
20 |
0 |
0 |
|
|
170906289 |
harut_13 |
G |
Sept. 5, 2022, 3:12 a.m. |
OK |
GNU C++17 |
TESTS |
20 |
0 |
0 |
|
|
170898200 |
lcod |
G |
Sept. 4, 2022, 10:57 p.m. |
OK |
GNU C++17 |
TESTS |
20 |
0 |
0 |
|
|
170896536 |
tezk |
G |
Sept. 4, 2022, 10:09 p.m. |
OK |
GNU C++17 |
TESTS |
20 |
0 |
0 |
|
|
170890563 |
Mostafa_y65 |
G |
Sept. 4, 2022, 8:07 p.m. |
OK |
GNU C++17 |
TESTS |
20 |
0 |
0 |
|
|
170889498 |
Gotheru |
G |
Sept. 4, 2022, 7:49 p.m. |
OK |
GNU C++17 |
TESTS |
20 |
0 |
0 |
|
|
170886317 |
NaifH |
G |
Sept. 4, 2022, 7:02 p.m. |
OK |
GNU C++17 |
TESTS |
20 |
0 |
0 |
|
|
170886222 |
Laugh_Tale |
G |
Sept. 4, 2022, 7:01 p.m. |
OK |
GNU C++17 |
TESTS |
20 |
0 |
0 |
|
|
170886039 |
devil_duck |
G |
Sept. 4, 2022, 6:58 p.m. |
OK |
GNU C++17 |
TESTS |
20 |
0 |
0 |
|
|
170908844 |
h_squared |
G |
Sept. 5, 2022, 4:15 a.m. |
OK |
GNU C++17 |
TESTS |
20 |
0 |
0 |
|
|
170910970 |
HF-Sunny |
G |
Sept. 5, 2022, 5:04 a.m. |
OK |
GNU C++17 |
TESTS |
20 |
0 |
0 |
|
|
170879092 |
VirusARzk |
G |
Sept. 4, 2022, 5:38 p.m. |
OK |
GNU C++17 (64) |
TESTS |
20 |
0 |
0 |
|
|
170877484 |
Hfnrg |
G |
Sept. 4, 2022, 5:21 p.m. |
OK |
GNU C++17 (64) |
TESTS |
20 |
0 |
0 |
|
|
170873536 |
Hasan_Sayeed791 Einestine mahbubhasanmht |
G |
Sept. 4, 2022, 4:42 p.m. |
OK |
GNU C++17 (64) |
TESTS |
20 |
0 |
0 |
|
|
170871692 |
ArtyZn Yana_Bg _icy_ |
G |
Sept. 4, 2022, 4:26 p.m. |
OK |
GNU C++17 (64) |
TESTS |
20 |
0 |
0 |
|
|
170859843 |
awesomeguy856 |
G |
Sept. 4, 2022, 2:52 p.m. |
OK |
GNU C++17 (64) |
TESTS |
20 |
0 |
0 |
|
|
170858697 |
China_Wmq YeYeYe Aiminuo |
G |
Sept. 4, 2022, 2:45 p.m. |
OK |
GNU C++17 (64) |
TESTS |
20 |
0 |
0 |
|
|
170855655 |
forevererererer |
G |
Sept. 4, 2022, 2:26 p.m. |
OK |
GNU C++17 (64) |
TESTS |
20 |
0 |
0 |
|
|
170850166 |
Andreasyan |
G |
Sept. 4, 2022, 1:58 p.m. |
OK |
GNU C++17 (64) |
TESTS |
20 |
0 |
0 |
|
|
170911576 |
GudeGude |
G |
Sept. 5, 2022, 5:17 a.m. |
OK |
GNU C++17 (64) |
TESTS |
20 |
0 |
0 |
|
|
170885321 |
hazemzuma105 |
G |
Sept. 4, 2022, 6:48 p.m. |
OK |
GNU C++17 (64) |
TESTS |
20 |
0 |
0 |
|
|
170907822 |
ami_2025 |
G |
Sept. 5, 2022, 3:49 a.m. |
OK |
GNU C++20 (64) |
TESTS |
20 |
0 |
0 |
|
|
170910459 |
vedant_1 |
G |
Sept. 5, 2022, 4:53 a.m. |
OK |
GNU C++20 (64) |
TESTS |
20 |
0 |
0 |
|
|
170906070 |
noshin_faiza Roll_Num_56 Iftekhar_Hakim_K |
G |
Sept. 5, 2022, 3:05 a.m. |
OK |
GNU C++20 (64) |
TESTS |
20 |
0 |
0 |
|
|
170904702 |
Edlue |
G |
Sept. 5, 2022, 2:25 a.m. |
OK |
GNU C++20 (64) |
TESTS |
20 |
0 |
0 |
|
|
170904146 |
dimpal_112 |
G |
Sept. 5, 2022, 2:08 a.m. |
OK |
GNU C++20 (64) |
TESTS |
20 |
0 |
0 |
|
|
170902608 |
minhnhat21012005 |
G |
Sept. 5, 2022, 1:25 a.m. |
OK |
GNU C++20 (64) |
TESTS |
20 |
0 |
0 |
|
|
170901193 |
yixiuge777 |
G |
Sept. 5, 2022, 12:42 a.m. |
OK |
GNU C++20 (64) |
TESTS |
20 |
0 |
0 |
|
|
170897101 |
KerollosWageeh |
G |
Sept. 4, 2022, 10:24 p.m. |
OK |
GNU C++20 (64) |
TESTS |
20 |
0 |
0 |
|
|
170893890 |
mahmoden17 |
G |
Sept. 4, 2022, 9:08 p.m. |
OK |
GNU C++20 (64) |
TESTS |
20 |
0 |
0 |
|
|
170890139 |
Sapna_Kispotta |
G |
Sept. 4, 2022, 8 p.m. |
OK |
GNU C++20 (64) |
TESTS |
20 |
0 |
0 |
|
|
170859691 |
shiro |
G |
Sept. 4, 2022, 2:51 p.m. |
OK |
Go |
TESTS |
20 |
31 |
0 |
|
|
170858706 |
IanISam antioctane1 Nightxade |
G |
Sept. 4, 2022, 2:45 p.m. |
OK |
Java 11 |
TESTS |
20 |
170 |
0 |
|
|
170892908 |
satyaa_78 |
G |
Sept. 4, 2022, 8:49 p.m. |
OK |
Java 11 |
TESTS |
20 |
171 |
0 |
|
|
170866633 |
IceWolf898 |
G |
Sept. 4, 2022, 3:43 p.m. |
OK |
Java 11 |
TESTS |
20 |
171 |
0 |
|
|
170850139 |
ekwek |
G |
Sept. 4, 2022, 1:57 p.m. |
OK |
Java 11 |
TESTS |
20 |
171 |
0 |
|
|
170910980 |
jt_code |
G |
Sept. 5, 2022, 5:04 a.m. |
OK |
Java 11 |
TESTS |
20 |
186 |
0 |
|
|
170907089 |
Yermanov |
G |
Sept. 5, 2022, 3:30 a.m. |
OK |
Java 11 |
TESTS |
20 |
186 |
0 |
|
|
170885716 |
yadavdipesh |
G |
Sept. 4, 2022, 6:53 p.m. |
OK |
Java 11 |
TESTS |
20 |
186 |
0 |
|
|
170907196 |
Yermanov |
G |
Sept. 5, 2022, 3:33 a.m. |
OK |
Java 11 |
TESTS |
20 |
187 |
0 |
|
|
170890670 |
yadavdipesh |
G |
Sept. 4, 2022, 8:09 p.m. |
OK |
Java 11 |
TESTS |
20 |
187 |
0 |
|
|
170868450 |
ankurgupta_2002 singhharman abhinav01_ |
G |
Sept. 4, 2022, 3:58 p.m. |
OK |
Java 11 |
TESTS |
20 |
187 |
0 |
|
|
170850048 |
kaiboy rainboy Dukkha |
G |
Sept. 4, 2022, 1:57 p.m. |
OK |
Java 17 |
TESTS |
20 |
202 |
409600 |
|
|
170893811 |
ganesh_6 |
G |
Sept. 4, 2022, 9:06 p.m. |
OK |
Java 8 |
TESTS |
20 |
62 |
3481600 |
|
|
170884877 |
ankit_0207 |
G |
Sept. 4, 2022, 6:43 p.m. |
OK |
Java 8 |
TESTS |
20 |
62 |
3481600 |
|
|
170871552 |
intense ganesh_6 |
G |
Sept. 4, 2022, 4:24 p.m. |
OK |
Java 8 |
TESTS |
20 |
62 |
3481600 |
|
|
170906829 |
Kaldaruly |
G |
Sept. 5, 2022, 3:26 a.m. |
OK |
Java 8 |
TESTS |
20 |
77 |
3379200 |
|
|
170857579 |
AggravatedCow snowyrsb anirvinv |
G |
Sept. 4, 2022, 2:38 p.m. |
OK |
Java 8 |
TESTS |
20 |
77 |
3379200 |
|
|
170888692 |
Sussykin |
G |
Sept. 4, 2022, 7:36 p.m. |
OK |
Java 8 |
TESTS |
20 |
77 |
3481600 |
|
|
170861292 |
hamed053 |
G |
Sept. 4, 2022, 3:02 p.m. |
OK |
MS C++ 2017 |
TESTS |
20 |
0 |
0 |
|
|
170885166 |
BlackCodeIsGood |
G |
Sept. 4, 2022, 6:46 p.m. |
OK |
MS C++ 2017 |
TESTS |
20 |
15 |
0 |
|
|
170880464 |
akimuuwu |
G |
Sept. 4, 2022, 5:54 p.m. |
OK |
PyPy 3 |
TESTS |
20 |
77 |
0 |
|
|
170862172 |
yerkebayev SleepDeprived vsegda_vtoroi |
G |
Sept. 4, 2022, 3:08 p.m. |
OK |
PyPy 3 |
TESTS |
20 |
93 |
0 |
|
|
170886487 |
gesuta |
G |
Sept. 4, 2022, 7:05 p.m. |
OK |
PyPy 3-64 |
TESTS |
20 |
46 |
0 |
|
|
170861483 |
kumar.saurabh2508 wrong_ac Dre_Russ |
G |
Sept. 4, 2022, 3:03 p.m. |
OK |
PyPy 3-64 |
TESTS |
20 |
46 |
0 |
|
|
170851227 |
mQfZ ASawe2.6Main |
G |
Sept. 4, 2022, 2:03 p.m. |
OK |
PyPy 3-64 |
TESTS |
20 |
46 |
0 |
|
|
170847816 |
manish.17 |
G |
Sept. 4, 2022, 1:48 p.m. |
OK |
PyPy 3-64 |
TESTS |
20 |
61 |
0 |
|
|
170888640 |
ahmedsiad |
G |
Sept. 4, 2022, 7:35 p.m. |
OK |
PyPy 3-64 |
TESTS |
20 |
62 |
0 |
|
|
170887185 |
aureg109 |
G |
Sept. 4, 2022, 7:15 p.m. |
OK |
PyPy 3-64 |
TESTS |
20 |
62 |
0 |
|
|
170858663 |
FBI Skillful_Wanderer SashaT9 |
G |
Sept. 4, 2022, 2:44 p.m. |
OK |
PyPy 3-64 |
TESTS |
20 |
62 |
0 |
|
|
170853171 |
shellbertt McPqndq mattagar6 |
G |
Sept. 4, 2022, 2:12 p.m. |
OK |
PyPy 3-64 |
TESTS |
20 |
62 |
0 |
|
|
170853131 |
antikostya Brostin Yosiky |
G |
Sept. 4, 2022, 2:12 p.m. |
OK |
PyPy 3-64 |
TESTS |
20 |
77 |
0 |
|
|
170848479 |
conqueror_of_tourist Friday1 Gilwall |
G |
Sept. 4, 2022, 1:51 p.m. |
OK |
PyPy 3-64 |
TESTS |
20 |
77 |
0 |
|
|
170852619 |
Jimanbanashi |
G |
Sept. 4, 2022, 2:10 p.m. |
OK |
Python 2 |
TESTS |
20 |
31 |
0 |
|
|
170910854 |
IITDG-CODER |
G |
Sept. 5, 2022, 5:01 a.m. |
OK |
Python 3 |
TESTS |
20 |
46 |
0 |
|
|
170909515 |
leetcode_dafu |
G |
Sept. 5, 2022, 4:30 a.m. |
OK |
Python 3 |
TESTS |
20 |
46 |
0 |
|
|
170890173 |
harsh___mishra |
G |
Sept. 4, 2022, 8:01 p.m. |
OK |
Python 3 |
TESTS |
20 |
46 |
0 |
|
|
170878003 |
Hemang27 |
G |
Sept. 4, 2022, 5:26 p.m. |
OK |
Python 3 |
TESTS |
20 |
46 |
0 |
|
|
170875243 |
AyuAnchor |
G |
Sept. 4, 2022, 4:57 p.m. |
OK |
Python 3 |
TESTS |
20 |
46 |
0 |
|
|
170872321 |
coderbd |
G |
Sept. 4, 2022, 4:31 p.m. |
OK |
Python 3 |
TESTS |
20 |
46 |
0 |
|
|
170868534 |
varsha_sahani tancredshaikh |
G |
Sept. 4, 2022, 3:59 p.m. |
OK |
Python 3 |
TESTS |
20 |
46 |
0 |
|
|
170867019 |
clclchengli |
G |
Sept. 4, 2022, 3:47 p.m. |
OK |
Python 3 |
TESTS |
20 |
46 |
0 |
|
|
170864353 |
ssarwarbd |
G |
Sept. 4, 2022, 3:25 p.m. |
OK |
Python 3 |
TESTS |
20 |
46 |
0 |
|
|
170862614 |
odinluca |
G |
Sept. 4, 2022, 3:12 p.m. |
OK |
Python 3 |
TESTS |
20 |
46 |
0 |
|
|
remove filters
Back to search problems