/ SeriousOJ /

Record Detail

Runtime Error


  
# Status Time Cost Memory Cost
#1 Runtime Error Traceback (most recent call last): File "foo.py", line 9, in <module> ValueError: invalid literal for int() with base 10: '1 8' 14ms 3.094 MiB
#2 Runtime Error Traceback (most recent call last): File "foo.py", line 9, in <module> ValueError: invalid literal for int() with base 10: '1 8' 14ms 3.02 MiB

Code

def count_odd_numbers(N):
    return (N + 1) // 2


T = int(input())


for _ in range(T):
    N = int(input())
    result = count_odd_numbers(N)
    print(output)

Information

Submit By
Type
Submission
Problem
P1044 Add or multiple
Contest
TLE_Headquarters - round #1
Language
Python 3 (Python 3.12.3)
Submit At
2024-03-27 16:25:35
Judged At
2024-11-11 03:38:53
Judged By
Score
0
Total Time
14ms
Peak Memory
3.094 MiB