/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 16ms 3.066 MiB
#2 Wrong Answer 16ms 2.977 MiB
#3 Accepted 16ms 3.086 MiB
#4 Wrong Answer 67ms 3.121 MiB

Code

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

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 15:55:41
Judged At
2024-11-11 03:33:40
Judged By
Score
10
Total Time
67ms
Peak Memory
3.121 MiB