Accepted
Code
for i in range(int(input())):
x = int(input())
if x % 2 == 0:
print(int(x / 2) - 1)
else:
print(int(x / 2))
Information
- Submit By
- Type
- Submission
- Problem
- P1073 Pair Sum
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2024-08-20 16:27:39
- Judged At
- 2024-11-11 03:06:47
- Judged By
- Score
- 100
- Total Time
- 561ms
- Peak Memory
- 3.895 MiB