Kotlin Heroes: Episode 3

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.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
1297 Kotlin Heroes: Episode 3 FINISHED False 9000 154369463 Feb. 27, 2020, 1:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 70 ) G M-numbers PROGRAMMING *special dp math

B'For a given positive integer m , a positive number is called a m -number if the product of its digits is m . For example, the beginning of a series of 24 -numbers are as follows: 38 , 46 , 64 , 83 , 138 , 146 , 164 , 183 , 226 ... You are given a positive integer m and k . Print k -th among m -numbers if all m -numbers are sorted in ascending order. A single line of input contains two integers m and k ( 2 <= m <= 10^9 , 1 <= k <= 10^9 ). Print the desired number -- k -th among all m -numbers if m -numbers are sorted in ascending order. If the answer does not exist, print -1. '...

Tutorials

Kotlin Heroes: Episode 3 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
71982427 Egor G Feb. 27, 2020, 2:46 p.m. OK Kotlin TESTS 112 124 0
71984366 eatmore G Feb. 27, 2020, 3:12 p.m. OK Kotlin TESTS 112 140 204800
71984688 uwi G Feb. 27, 2020, 3:16 p.m. OK Kotlin TESTS 112 155 102400
72151623 tommykw G March 1, 2020, 10 a.m. OK Kotlin TESTS 112 156 102400
71981460 Benq G Feb. 27, 2020, 2:35 p.m. OK Kotlin TESTS 112 170 6860800
72070282 krijgertje G Feb. 29, 2020, 1:22 a.m. OK Kotlin TESTS 112 171 102400
72009747 U.M.R G Feb. 28, 2020, 1:54 a.m. OK Kotlin TESTS 112 171 204800
71985782 knightL G Feb. 27, 2020, 3:31 p.m. OK Kotlin TESTS 112 171 1331200
71993933 Tlatoani G Feb. 27, 2020, 5:34 p.m. OK Kotlin TESTS 112 171 6656000
71991872 dalt G Feb. 27, 2020, 4:54 p.m. OK Kotlin TESTS 112 171 22016000

remove filters

Back to search problems