CSES - Datatähti 2022 alku - Results
Submission details
Task:Karkit
Sender:toyota
Submission time:2021-10-08 15:56:32
Language:CPython3
Status:READY
Result:0
Feedback
groupverdictscore
#10
Test results
testverdicttime
#10.02 sdetails
#20.02 sdetails
#30.02 sdetails
#40.02 sdetails
#50.02 sdetails

Code

# rahat
n = int(input("Rahat"))

# Karkki a hinta
a = int(input("Karkki a"))

# Karkki b hinta
b = int(input("Karkki b"))


if a > b:
  print(n/b)
else:
  print(n//a)

Test details

Test 1

Verdict:

input
100
1
1

correct output
100

user output
RahatKarkki aKarkki b100

Test 2

Verdict:

input
1
100
100

correct output
0

user output
RahatKarkki aKarkki b0

Test 3

Verdict:

input
50
2
3

correct output
25

user output
RahatKarkki aKarkki b25

Test 4

Verdict:

input
100
17
3

correct output
33

user output
RahatKarkki aKarkki b33.333333...

Test 5

Verdict:

input
5
5
5

correct output
1

user output
RahatKarkki aKarkki b1