| 16190 | 2025-04-14 11:32:34 | fazekas2028c | Bevásárlás | cpp17 | Forditási hiba |
a = int(input())
b = int(input())
c = int(input())
temp = 0
temp2 = 0
if a+b+c<10 :
print("-1")
else :
if a < 10:
temp = temp + a*300
temp2 = temp2 + a
if temp2 + b < 10:
temp = temp + b*350
temp2 = temp2 + b
print(f"{temp+(10-temp2)*400}")
else :
print(f"{temp+(10-temp2)*350}")
else :
print("3000")
open /var/local/lib/isolate/423/box/a.out: no such file or directory
main.cpp:1:1: error: 'a' does not name a type
1 | a = int(input())
| ^