/ SeriousOJ /

Record Detail

Runtime Error


  
# Status Time Cost Memory Cost
#1 Runtime Error Traceback (most recent call last): File "foo.py", line 4, in <module> ValueError: could not convert string to float: '1 2 3 4' 14ms 3.09 MiB
#2 Runtime Error Traceback (most recent call last): File "foo.py", line 4, in <module> ValueError: could not convert string to float: '4 3 2 1' 14ms 3.074 MiB
#3 Runtime Error Traceback (most recent call last): File "foo.py", line 4, in <module> ValueError: could not convert string to float: '10 10 10 10' 15ms 2.984 MiB
#4 Runtime Error Traceback (most recent call last): File "foo.py", line 4, in <module> ValueError: could not convert string to float: '1 1 0 0' 14ms 2.922 MiB
#5 Runtime Error Traceback (most recent call last): File "foo.py", line 4, in <module> ValueError: could not convert string to float: '0 0 1 1' 14ms 3.0 MiB
#6 Runtime Error Traceback (most recent call last): File "foo.py", line 4, in <module> ValueError: could not convert string to float: '1 0 1 0' 15ms 3.133 MiB

Code

new_list=[]
i=0
while i<5:
	a=float(input(f"{i}:"))
	new_list.append(a)
print(max(new_list))
print(min(new_list))

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:07:36
Judged At
2024-10-03 14:06:18
Judged By
Score
0
Total Time
15ms
Peak Memory
3.133 MiB