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'Find the minimum number with the given sum of digits s such that all digits in it are distinct (i.e. all digits are unique). For example, if s=20 , then the answer is 389 . This is the minimum number in which all digits are different and the sum of the digits is 20 ( 3+8+9=20 ). For the given s print the required number. The first line contains an integer t ( 1 <= t <= 45 ) -- the number of test cases. Each test case is specified by a line that contains the only integer s ( 1 <= s <= 45 ). Print t integers -- the answers to the given test cases. '... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
166599851 |
nafischonchol |
C |
Aug. 1, 2022, 4:52 p.m. |
OK |
C# 10 |
TESTS |
3 |
31 |
0 |
|
|
166613931 |
rayhanulraj210 |
C |
Aug. 1, 2022, 6:30 p.m. |
OK |
C# 10 |
TESTS |
6 |
31 |
0 |
|
|
166614031 |
rayhanulraj210 |
C |
Aug. 1, 2022, 6:31 p.m. |
OK |
C# 10 |
TESTS |
6 |
46 |
0 |
|
|
166630449 |
bluemegane |
C |
Aug. 1, 2022, 10:48 p.m. |
OK |
C# 8 |
TESTS |
8 |
77 |
0 |
|
|
166649502 |
vish_23 |
C |
Aug. 2, 2022, 4:48 a.m. |
OK |
GNU C11 |
TESTS |
8 |
15 |
0 |
|
|
166603979 |
suryayyn |
C |
Aug. 1, 2022, 5:11 p.m. |
OK |
GNU C11 |
TESTS |
3 |
15 |
0 |
|
|
166618379 |
Ajoad_Islam_Nishat |
C |
Aug. 1, 2022, 7:20 p.m. |
OK |
GNU C11 |
TESTS |
6 |
15 |
0 |
|
|
166650080 |
peterpi23 |
C |
Aug. 2, 2022, 4:57 a.m. |
OK |
GNU C++14 |
TESTS |
8 |
0 |
0 |
|
|
166649850 |
GautamSaharan |
C |
Aug. 2, 2022, 4:54 a.m. |
OK |
GNU C++14 |
TESTS |
8 |
0 |
0 |
|
|
166654657 |
Bhavyashah12050 |
C |
Aug. 2, 2022, 6 a.m. |
OK |
GNU C++14 |
TESTS |
8 |
0 |
0 |
|
|
166648989 |
Abu_Asaad77 |
C |
Aug. 2, 2022, 4:40 a.m. |
OK |
GNU C++14 |
TESTS |
8 |
0 |
0 |
|
|
166652037 |
f_cloud |
C |
Aug. 2, 2022, 5:25 a.m. |
OK |
GNU C++14 |
TESTS |
8 |
0 |
0 |
|
|
166652007 |
Survivor_winner |
C |
Aug. 2, 2022, 5:24 a.m. |
OK |
GNU C++14 |
TESTS |
8 |
0 |
0 |
|
|
166651933 |
KickAss |
C |
Aug. 2, 2022, 5:23 a.m. |
OK |
GNU C++14 |
TESTS |
8 |
0 |
0 |
|
|
166651562 |
zyc211428 |
C |
Aug. 2, 2022, 5:18 a.m. |
OK |
GNU C++14 |
TESTS |
8 |
0 |
0 |
|
|
166651417 |
f_cloud |
C |
Aug. 2, 2022, 5:16 a.m. |
OK |
GNU C++14 |
TESTS |
8 |
0 |
0 |
|
|
166651145 |
adityaprak01 |
C |
Aug. 2, 2022, 5:12 a.m. |
OK |
GNU C++14 |
TESTS |
8 |
0 |
0 |
|
|
166652967 |
saifbashar |
C |
Aug. 2, 2022, 5:38 a.m. |
OK |
GNU C++17 |
TESTS |
8 |
0 |
0 |
|
|
166652741 |
rishabhj945 |
C |
Aug. 2, 2022, 5:34 a.m. |
OK |
GNU C++17 |
TESTS |
8 |
0 |
0 |
|
|
166652430 |
Tioz0 |
C |
Aug. 2, 2022, 5:30 a.m. |
OK |
GNU C++17 |
TESTS |
8 |
0 |
0 |
|
|
166652181 |
minhnhatmn16 |
C |
Aug. 2, 2022, 5:27 a.m. |
OK |
GNU C++17 |
TESTS |
8 |
0 |
0 |
|
|
166651791 |
GreyHatRR17 |
C |
Aug. 2, 2022, 5:21 a.m. |
OK |
GNU C++17 |
TESTS |
8 |
0 |
0 |
|
|
166651606 |
anni471 |
C |
Aug. 2, 2022, 5:18 a.m. |
OK |
GNU C++17 |
TESTS |
8 |
0 |
0 |
|
|
166651468 |
suyashsethia0848 |
C |
Aug. 2, 2022, 5:16 a.m. |
OK |
GNU C++17 |
TESTS |
8 |
0 |
0 |
|
|
166653355 |
Sobhan_Mridha |
C |
Aug. 2, 2022, 5:44 a.m. |
OK |
GNU C++17 |
TESTS |
8 |
0 |
0 |
|
|
166653666 |
coderaryan01 |
C |
Aug. 2, 2022, 5:48 a.m. |
OK |
GNU C++17 |
TESTS |
8 |
0 |
0 |
|
|
166654493 |
aaditya02 |
C |
Aug. 2, 2022, 5:58 a.m. |
OK |
GNU C++17 |
TESTS |
8 |
0 |
0 |
|
|
166651725 |
zyc211428 |
C |
Aug. 2, 2022, 5:20 a.m. |
OK |
GNU C++17 (64) |
TESTS |
8 |
0 |
0 |
|
|
166652906 |
Sirajsj |
C |
Aug. 2, 2022, 5:37 a.m. |
OK |
GNU C++17 (64) |
TESTS |
8 |
0 |
0 |
|
|
166652726 |
chotaneem |
C |
Aug. 2, 2022, 5:34 a.m. |
OK |
GNU C++17 (64) |
TESTS |
8 |
0 |
0 |
|
|
166652414 |
gaurav154 |
C |
Aug. 2, 2022, 5:30 a.m. |
OK |
GNU C++17 (64) |
TESTS |
8 |
0 |
0 |
|
|
166652059 |
omtrivedioo3 |
C |
Aug. 2, 2022, 5:25 a.m. |
OK |
GNU C++17 (64) |
TESTS |
8 |
0 |
0 |
|
|
166652026 |
Physics212303 |
C |
Aug. 2, 2022, 5:24 a.m. |
OK |
GNU C++17 (64) |
TESTS |
8 |
0 |
0 |
|
|
166651561 |
jahid_arif |
C |
Aug. 2, 2022, 5:18 a.m. |
OK |
GNU C++17 (64) |
TESTS |
8 |
0 |
0 |
|
|
166649961 |
Junaid077 |
C |
Aug. 2, 2022, 4:55 a.m. |
OK |
GNU C++17 (64) |
TESTS |
8 |
0 |
0 |
|
|
166646500 |
Siesta. |
C |
Aug. 2, 2022, 3:58 a.m. |
OK |
GNU C++17 (64) |
TESTS |
8 |
0 |
0 |
|
|
166646272 |
shity_handle |
C |
Aug. 2, 2022, 3:54 a.m. |
OK |
GNU C++17 (64) |
TESTS |
8 |
0 |
0 |
|
|
166653534 |
Teo_Murphy |
C |
Aug. 2, 2022, 5:46 a.m. |
OK |
GNU C++20 (64) |
TESTS |
8 |
0 |
0 |
|
|
166652765 |
yepitssaif |
C |
Aug. 2, 2022, 5:35 a.m. |
OK |
GNU C++20 (64) |
TESTS |
8 |
0 |
0 |
|
|
166652189 |
samim_ahmed |
C |
Aug. 2, 2022, 5:27 a.m. |
OK |
GNU C++20 (64) |
TESTS |
8 |
0 |
0 |
|
|
166652137 |
nifeshe |
C |
Aug. 2, 2022, 5:26 a.m. |
OK |
GNU C++20 (64) |
TESTS |
8 |
0 |
0 |
|
|
166650694 |
cleth |
C |
Aug. 2, 2022, 5:06 a.m. |
OK |
GNU C++20 (64) |
TESTS |
8 |
0 |
0 |
|
|
166649955 |
Ormlis |
C |
Aug. 2, 2022, 4:55 a.m. |
OK |
GNU C++20 (64) |
TESTS |
8 |
0 |
0 |
|
|
166649635 |
Jaxongir1 |
C |
Aug. 2, 2022, 4:50 a.m. |
OK |
GNU C++20 (64) |
TESTS |
8 |
0 |
0 |
|
|
166653850 |
srejanbera |
C |
Aug. 2, 2022, 5:50 a.m. |
OK |
GNU C++20 (64) |
TESTS |
8 |
0 |
0 |
|
|
166654557 |
Rutwij |
C |
Aug. 2, 2022, 5:59 a.m. |
OK |
GNU C++20 (64) |
TESTS |
8 |
0 |
0 |
|
|
166654662 |
Ahmed-yaser |
C |
Aug. 2, 2022, 6 a.m. |
OK |
GNU C++20 (64) |
TESTS |
8 |
0 |
0 |
|
|
166607296 |
fredrsf |
C |
Aug. 1, 2022, 5:33 p.m. |
OK |
Go |
TESTS |
6 |
296 |
3788800 |
|
|
166649701 |
utkarsh_1504 |
C |
Aug. 2, 2022, 4:51 a.m. |
OK |
Java 11 |
TESTS |
8 |
155 |
0 |
|
|
166647908 |
tanish_1131 |
C |
Aug. 2, 2022, 4:23 a.m. |
OK |
Java 11 |
TESTS |
8 |
155 |
0 |
|
|
166647339 |
MrBruh420 |
C |
Aug. 2, 2022, 4:13 a.m. |
OK |
Java 11 |
TESTS |
8 |
155 |
0 |
|
|
166644509 |
aditya_dk |
C |
Aug. 2, 2022, 3:26 a.m. |
OK |
Java 11 |
TESTS |
8 |
155 |
0 |
|
|
166622708 |
Sikander_2000 |
C |
Aug. 1, 2022, 8:15 p.m. |
OK |
Java 11 |
TESTS |
8 |
155 |
0 |
|
|
166603037 |
BucketOfNubbins |
C |
Aug. 1, 2022, 5:05 p.m. |
OK |
Java 11 |
TESTS |
3 |
155 |
0 |
|
|
166600045 |
g_square |
C |
Aug. 1, 2022, 4:52 p.m. |
OK |
Java 11 |
TESTS |
3 |
155 |
0 |
|
|
166634939 |
profchi |
C |
Aug. 2, 2022, 12:50 a.m. |
OK |
Java 11 |
TESTS |
8 |
156 |
0 |
|
|
166647972 |
x21svage |
C |
Aug. 2, 2022, 4:23 a.m. |
OK |
Java 11 |
TESTS |
8 |
171 |
0 |
|
|
166630314 |
enricogi |
C |
Aug. 1, 2022, 10:44 p.m. |
OK |
Java 11 |
TESTS |
8 |
171 |
0 |
|
|
166613571 |
burning_summer |
C |
Aug. 1, 2022, 6:27 p.m. |
OK |
Java 17 |
TESTS |
6 |
186 |
204800 |
|
|
166621625 |
dxx |
C |
Aug. 1, 2022, 7:59 p.m. |
OK |
Java 17 |
TESTS |
8 |
187 |
409600 |
|
|
166599617 |
K-E |
C |
Aug. 1, 2022, 4:51 p.m. |
OK |
Java 17 |
TESTS |
3 |
202 |
0 |
|
|
166626006 |
pili |
C |
Aug. 1, 2022, 9:07 p.m. |
OK |
Java 17 |
TESTS |
8 |
202 |
409600 |
|
|
166616915 |
eggag32 |
C |
Aug. 1, 2022, 7:03 p.m. |
OK |
Java 17 |
TESTS |
6 |
202 |
716800 |
|
|
166618535 |
soumit915 |
C |
Aug. 1, 2022, 7:21 p.m. |
OK |
Java 17 |
TESTS |
6 |
218 |
716800 |
|
|
166619940 |
Nihan |
C |
Aug. 1, 2022, 7:38 p.m. |
OK |
Java 17 |
TESTS |
6 |
233 |
512000 |
|
|
166625138 |
why-you-should-Know |
C |
Aug. 1, 2022, 8:52 p.m. |
OK |
Java 17 |
TESTS |
8 |
233 |
819200 |
|
|
166603880 |
rish1896 |
C |
Aug. 1, 2022, 5:10 p.m. |
OK |
Java 8 |
TESTS |
3 |
77 |
0 |
|
|
166602637 |
vaibhavgawad |
C |
Aug. 1, 2022, 5:03 p.m. |
OK |
Java 8 |
TESTS |
3 |
77 |
0 |
|
|
166602300 |
Do_not_Look_Back |
C |
Aug. 1, 2022, 5:02 p.m. |
OK |
Java 8 |
TESTS |
3 |
77 |
0 |
|
|
166600766 |
Push_back7 |
C |
Aug. 1, 2022, 4:55 p.m. |
OK |
Java 8 |
TESTS |
3 |
78 |
0 |
|
|
166652686 |
shikhar_bij |
C |
Aug. 2, 2022, 5:34 a.m. |
OK |
Java 8 |
TESTS |
8 |
93 |
0 |
|
|
166652114 |
Hajan |
C |
Aug. 2, 2022, 5:26 a.m. |
OK |
Java 8 |
TESTS |
8 |
93 |
0 |
|
|
166651255 |
mahesh_phutane |
C |
Aug. 2, 2022, 5:13 a.m. |
OK |
Java 8 |
TESTS |
8 |
93 |
0 |
|
|
166634793 |
sliverzz |
C |
Aug. 2, 2022, 12:47 a.m. |
OK |
Java 8 |
TESTS |
8 |
93 |
0 |
|
|
166617951 |
rnss |
C |
Aug. 1, 2022, 7:15 p.m. |
OK |
Java 8 |
TESTS |
6 |
93 |
0 |
|
|
166610505 |
Kaldaruly |
C |
Aug. 1, 2022, 6 p.m. |
OK |
Java 8 |
TESTS |
6 |
93 |
0 |
|
|
166635128 |
vv005 |
C |
Aug. 2, 2022, 12:54 a.m. |
OK |
Kotlin 1.4 |
TESTS |
8 |
92 |
0 |
|
|
166641130 |
rttyuii |
C |
Aug. 2, 2022, 2:34 a.m. |
OK |
MS C++ 2017 |
TESTS |
8 |
0 |
0 |
|
|
166614776 |
Crimson_Quasar |
C |
Aug. 1, 2022, 6:39 p.m. |
OK |
MS C++ 2017 |
TESTS |
6 |
0 |
0 |
|
|
166601401 |
ravina_b29 |
C |
Aug. 1, 2022, 4:58 p.m. |
OK |
MS C++ 2017 |
TESTS |
3 |
0 |
0 |
|
|
166600335 |
danthanhhuynhpham |
C |
Aug. 1, 2022, 4:53 p.m. |
OK |
MS C++ 2017 |
TESTS |
3 |
0 |
0 |
|
|
166643643 |
pursuita |
C |
Aug. 2, 2022, 3:13 a.m. |
OK |
MS C++ 2017 |
TESTS |
8 |
15 |
0 |
|
|
166625362 |
adesh123 |
C |
Aug. 1, 2022, 8:55 p.m. |
OK |
MS C++ 2017 |
TESTS |
8 |
15 |
0 |
|
|
166617795 |
bhavya_0306 |
C |
Aug. 1, 2022, 7:13 p.m. |
OK |
MS C++ 2017 |
TESTS |
6 |
15 |
0 |
|
|
166617641 |
Tan2K |
C |
Aug. 1, 2022, 7:11 p.m. |
OK |
MS C++ 2017 |
TESTS |
6 |
15 |
0 |
|
|
166615684 |
Charvi_17 |
C |
Aug. 1, 2022, 6:49 p.m. |
OK |
MS C++ 2017 |
TESTS |
6 |
15 |
0 |
|
|
166600442 |
01234aashish |
C |
Aug. 1, 2022, 4:54 p.m. |
OK |
MS C++ 2017 |
TESTS |
3 |
15 |
0 |
|
|
166621733 |
hxu10 |
C |
Aug. 1, 2022, 8 p.m. |
OK |
PyPy 3 |
TESTS |
8 |
77 |
0 |
|
|
166600539 |
joon98 |
C |
Aug. 1, 2022, 4:54 p.m. |
OK |
PyPy 3 |
TESTS |
3 |
77 |
0 |
|
|
166603492 |
alzhikkk |
C |
Aug. 1, 2022, 5:08 p.m. |
OK |
PyPy 3 |
TESTS |
3 |
77 |
1228800 |
|
|
166654528 |
geek_nero |
C |
Aug. 2, 2022, 5:58 a.m. |
OK |
PyPy 3 |
TESTS |
8 |
92 |
0 |
|
|
166653751 |
abineth |
C |
Aug. 2, 2022, 5:49 a.m. |
OK |
PyPy 3 |
TESTS |
8 |
93 |
0 |
|
|
166643893 |
LarryNY |
C |
Aug. 2, 2022, 3:17 a.m. |
OK |
PyPy 3 |
TESTS |
8 |
93 |
0 |
|
|
166604970 |
kuanc |
C |
Aug. 1, 2022, 5:16 p.m. |
OK |
PyPy 3 |
TESTS |
6 |
93 |
1740800 |
|
|
166628029 |
SIGCHLD |
C |
Aug. 1, 2022, 9:48 p.m. |
OK |
PyPy 3 |
TESTS |
8 |
109 |
2048000 |
|
|
166603299 |
Petroleumus |
C |
Aug. 1, 2022, 5:07 p.m. |
OK |
PyPy 3-64 |
TESTS |
3 |
31 |
0 |
|
|
166639162 |
Youarenotgood |
C |
Aug. 2, 2022, 2:03 a.m. |
OK |
PyPy 3-64 |
TESTS |
8 |
46 |
0 |
|
|
166638755 |
Lhohelhohehmm |
C |
Aug. 2, 2022, 1:57 a.m. |
OK |
PyPy 3-64 |
TESTS |
8 |
46 |
0 |
|
|
166633964 |
esllam |
C |
Aug. 2, 2022, 12:29 a.m. |
OK |
PyPy 3-64 |
TESTS |
8 |
46 |
0 |
|
|
166630016 |
shaletome |
C |
Aug. 1, 2022, 10:36 p.m. |
OK |
PyPy 3-64 |
TESTS |
8 |
46 |
0 |
|
|
166623412 |
Tanguyvans |
C |
Aug. 1, 2022, 8:24 p.m. |
OK |
PyPy 3-64 |
TESTS |
8 |
46 |
0 |
|
|
166618646 |
MistaAsh |
C |
Aug. 1, 2022, 7:22 p.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
46 |
0 |
|
|
166612309 |
Varad2002 |
C |
Aug. 1, 2022, 6:16 p.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
46 |
0 |
|
|
166607634 |
BekiTila |
C |
Aug. 1, 2022, 5:35 p.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
46 |
0 |
|
|
166604964 |
NAJBOLJI_HAKER |
C |
Aug. 1, 2022, 5:16 p.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
46 |
0 |
|
|
166601516 |
sevn |
C |
Aug. 1, 2022, 4:58 p.m. |
OK |
Python 3 |
TESTS |
3 |
30 |
0 |
|
|
166653215 |
Manish1213 |
C |
Aug. 2, 2022, 5:42 a.m. |
OK |
Python 3 |
TESTS |
8 |
31 |
0 |
|
|
166652100 |
ladirajagupta2001 |
C |
Aug. 2, 2022, 5:26 a.m. |
OK |
Python 3 |
TESTS |
8 |
31 |
0 |
|
|
166650317 |
sahilbaid |
C |
Aug. 2, 2022, 5:01 a.m. |
OK |
Python 3 |
TESTS |
8 |
31 |
0 |
|
|
166648089 |
Mian_Talha_g |
C |
Aug. 2, 2022, 4:25 a.m. |
OK |
Python 3 |
TESTS |
8 |
31 |
0 |
|
|
166640886 |
thewrongmystery |
C |
Aug. 2, 2022, 2:30 a.m. |
OK |
Python 3 |
TESTS |
8 |
31 |
0 |
|
|
166638603 |
M.Aneeq_SundarSTEM |
C |
Aug. 2, 2022, 1:55 a.m. |
OK |
Python 3 |
TESTS |
8 |
31 |
0 |
|
|
166638420 |
M.Aneeq_SundarSTEM |
C |
Aug. 2, 2022, 1:52 a.m. |
OK |
Python 3 |
TESTS |
8 |
31 |
0 |
|
|
166637485 |
hitman_zyq |
C |
Aug. 2, 2022, 1:38 a.m. |
OK |
Python 3 |
TESTS |
8 |
31 |
0 |
|
|
166630992 |
Hunt40 |
C |
Aug. 1, 2022, 11:02 p.m. |
OK |
Python 3 |
TESTS |
8 |
31 |
0 |
|
|
166600312 |
jakobrs |
C |
Aug. 1, 2022, 4:53 p.m. |
OK |
Rust 2021 |
TESTS |
3 |
0 |
0 |
|
|
166600435 |
kobae964 |
C |
Aug. 1, 2022, 4:54 p.m. |
OK |
Rust 2021 |
TESTS |
3 |
15 |
0 |
|
|
remove filters
Back to search problems