Wrong Answer
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(n-1,1,-1):
if n%i==0:
lcm=i
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:41:58
- Judged At
- 2024-11-11 03:33:58
- Judged By
- Score
- 10
- Total Time
- 251ms
- Peak Memory
- 3.117 MiB