/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 22ms 3.062 MiB
#2 Wrong Answer 22ms 3.105 MiB
#3 Accepted 21ms 2.934 MiB
#4 Wrong Answer 21ms 3.129 MiB

Code

t =int(input())
for i in range(t):
    n= int(input())
    if n%2==0:
        print(int(n/2))
    else:
        print(1)

Information

Submit By
Type
Submission
Problem
P1052 Yet Another Array Partition
Contest
Brain Booster #3
Language
Python 3 (Python 3.12.3)
Submit At
2024-05-06 17:55:49
Judged At
2024-11-11 03:31:46
Judged By
Score
10
Total Time
22ms
Peak Memory
3.129 MiB