/ 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> EOFError: EOF when reading a line 15ms 2.984 MiB
#2 Runtime Error Traceback (most recent call last): File "foo.py", line 3, in <module> EOFError: EOF when reading a line 15ms 3.02 MiB

Code

numbers=[]
for i in range(5):
	k=input()
	numbers.append(k)
	
max = numbers[0]
l = len(numbers)
for i in range(1,l):
    if numbers[i] > max:
        max = numbers[i]
print("Maximum number is: ", max)

min = numbers[0]
for i in range(1,l):
    if numbers[i] < min:
        min = numbers[i]
print("Minimum number is: ", min)

Information

Submit By
Type
Submission
Problem
P1022 Minmax
Contest
Brain booster - 1
Language
Python 3 (Python 3.12.3)
Submit At
2023-12-31 14:45:09
Judged At
2024-11-11 03:46:11
Judged By
Score
0
Total Time
15ms
Peak Memory
3.02 MiB