23472023-01-10 22:20:24kristofBevásárláspython3Wrong answer 40/10017ms13512 KiB
A = int(input())
B = int(input())
C = int(input())

aMin = 0
bMin = 0
cMin = 0

osszeg = 0
aMin = min(A, 10)
if aMin < 10:
    bMin = min((10-aMin), B)
if aMin + bMin < 10:
    cMin = min(10-(aMin+bMin), C)


print(aMin * 300+ bMin * 350 + cMin *400)
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Accepted17ms11040 KiB
2Wrong answer16ms11100 KiB
3Accepted16ms11420 KiB
subtask210/10
4Accepted16ms11488 KiB
5Accepted17ms11884 KiB
6Accepted17ms11860 KiB
subtask30/20
7Accepted16ms12040 KiB
8Accepted17ms12340 KiB
9Accepted16ms12380 KiB
10Wrong answer17ms12412 KiB
subtask430/30
11Accepted17ms12688 KiB
12Accepted17ms12848 KiB
13Accepted17ms12920 KiB
14Accepted17ms13128 KiB
subtask50/40
15Accepted17ms13200 KiB
16Wrong answer17ms13296 KiB
17Wrong answer17ms13356 KiB
18Accepted17ms13376 KiB
19Accepted17ms13512 KiB
20Accepted17ms13448 KiB