/ SeriousOJ /

Record Detail

Runtime Error


  
# Status Time Cost Memory Cost
#1 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '4 16 0 0' 12ms 2.832 MiB
#2 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '25 5 0 4' 12ms 2.789 MiB
#3 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '40 40 40 40' 12ms 2.715 MiB
#4 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '18 14 37 16' 12ms 2.809 MiB
#5 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '13 30 13 14' 12ms 2.844 MiB
#6 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '0 0 3 0' 11ms 2.871 MiB
#7 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '40 40 40 40' 12ms 2.859 MiB
#8 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '9 0 0 0' 12ms 2.895 MiB
#9 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '18 0 0 0' 12ms 2.676 MiB
#10 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '27 0 0 0' 12ms 2.84 MiB
#11 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '36 0 0 0' 12ms 2.906 MiB
#12 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '1 1 0 2' 13ms 2.898 MiB
#13 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '0 40 0 40' 12ms 2.902 MiB
#14 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '22 33 37 10' 12ms 2.746 MiB
#15 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '14 36 20 13' 12ms 2.895 MiB
#16 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '40 40 40 40' 12ms 2.844 MiB
#17 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '39 0 13 13' 12ms 2.801 MiB
#18 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '2 24 26 2' 12ms 2.809 MiB
#19 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '20 31 22 23' 11ms 2.867 MiB
#20 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '20 27 28 29' 11ms 2.758 MiB
#21 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '35 17 18 22' 11ms 2.758 MiB
#22 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '6 34 21 32' 12ms 2.754 MiB
#23 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '8 30 4 12' 12ms 2.715 MiB
#24 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '3 0 1 1' 12ms 2.77 MiB
#25 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '18 26 4 27' 12ms 2.793 MiB
#26 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '21 18 30 14' 12ms 2.66 MiB
#27 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '30 30 30 30' 12ms 2.836 MiB
#28 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '5 0 15 12' 12ms 2.848 MiB
#29 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '29 15 7 5' 12ms 2.859 MiB
#30 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '24 2 18 28' 12ms 2.668 MiB
#31 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '2 17 16 10' 12ms 2.797 MiB
#32 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '26 9 6 23' 12ms 2.742 MiB
#33 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '17 10 21 24' 12ms 2.895 MiB
#34 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '13 17 9 23' 11ms 2.875 MiB
#35 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '30 24 2 2' 12ms 2.676 MiB
#36 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '23 24 19 22' 12ms 2.777 MiB
#37 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '10 10 4 30' 12ms 2.836 MiB
#38 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '26 0 27 5' 12ms 2.75 MiB
#39 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> ValueError: invalid literal for int() with base 10: '16 11 21 25' 12ms 2.777 MiB

Code

t = int(input())
if 1 <= t <= 10:
    for i in range(int(input())):
        count = 0
        Brick = 0
        a, b, c, d = map(int, input().split())
        if 0 <= a and b and c and d <= 40:
            count = (a * 1) + (b * 2) + (c * 3) + (d * 3)
            Brick = int(count / 9)
            print(f"Case {i + 1}: {Brick}")	



Information

Submit By
Type
Submission
Problem
P1014 FIFA World Cup 2022 Again!
Language
Python 3 (Python 3.12.3)
Submit At
2024-01-09 13:51:18
Judged At
2024-01-09 13:51:18
Judged By
Score
0
Total Time
13ms
Peak Memory
2.906 MiB