+ 1

New Driver License Problem///Help

https://code.sololearn.com/cvs9NPU8ZE5X/?ref=app This is my code, why in 3 test cases doesn't work?

4th Aug 2021, 12:34 PM
Francesco Famosi
Francesco Famosi - avatar
2 Respostas
+ 1
Hi I have solved this in python like this. Cpp is really beautiful but it requires some time to debug, python is so boring. import math n = input() t= int(input()) names=input().split(" ") names.append(n) names.sort() inq = names.index(n) print(math.ceil((inq+0.01)*1.0/t)*20)
4th Aug 2021, 1:08 PM
▬▬▬
▬▬▬ - avatar
0
I dont really have an idea about this question but try checking stack overflow or geeksforgeek or any other C++ developer you know
4th Aug 2021, 12:58 PM
Fatoki Temiloluwa