Kotlin Heroes: Episode 6

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
1488 Kotlin Heroes: Episode 6 FINISHED False 9000 121879463 March 9, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1511 ) A From Zero To Y PROGRAMMING *special math

B'You are given two positive (greater than zero) integers x and y . There is a variable k initially set to 0 . You can perform the following two types of operations: Find the minimum number of operations described above to set the value of k to y . The first line contains one integer t ( 1 <= t <= 2 cdot 10^4 ) -- the number of test cases. Each test case consists of one line containing two integer x and y ( 1 <= x, y <= 10^9 ). For each test case, print one integer -- the minimum number of operations to set the value of k to y . In the first test case you can use the following sequence of operations: In the second test case you can use the following sequence of operations: '...

Tutorials

88522

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
109496621 arvindf232 A March 9, 2021, 3:13 p.m. OK Kotlin TESTS 6 108 0
109502030 Hakiobo A March 9, 2021, 4:12 p.m. OK Kotlin TESTS 6 109 0
109501590 KotlinHero A March 9, 2021, 4:07 p.m. OK Kotlin TESTS 6 124 0
109498319 itohdak A March 9, 2021, 3:30 p.m. OK Kotlin TESTS 6 124 0
109496395 Jetman A March 9, 2021, 3:11 p.m. OK Kotlin TESTS 6 124 0
109496320 Pranay2516 A March 9, 2021, 3:10 p.m. OK Kotlin TESTS 6 124 0
109494447 okwedook A March 9, 2021, 2:52 p.m. OK Kotlin TESTS 6 124 0
109494050 da_louis A March 9, 2021, 2:49 p.m. OK Kotlin TESTS 6 124 0
109493410 user32 A March 9, 2021, 2:43 p.m. OK Kotlin TESTS 6 124 0
109493230 yakamoto A March 9, 2021, 2:42 p.m. OK Kotlin TESTS 6 124 0

remove filters

Back to search problems