/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Wrong Answer 15ms 3.086 MiB
#2 Wrong Answer 16ms 3.059 MiB

Code

numbers=[1,4,2,3]
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:33:43
Judged At
2024-11-11 03:46:15
Judged By
Score
0
Total Time
16ms
Peak Memory
3.086 MiB