Wrong Answer
Code
from math import*
t=int(input())
for x in range(t):
n=int(input())
if n%2==0:
print(n//2)
else:
lcm=1
for j in (3,sqrt(n),2):
if n%j==0:
lcm=j
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 17:49:27
- Judged At
- 2024-11-11 03:31:51
- Judged By
- Score
- 0
- Total Time
- 16ms
- Peak Memory
- 3.105 MiB