Accepted
Code
for _ in range(int(input())):
n = int(input())
print(n//2 - (n%2==0))
Information
- Submit By
- Type
- Submission
- Problem
- P1073 Pair Sum
- Contest
- Bangladesh 2.0
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2024-08-16 16:29:40
- Judged At
- 2024-10-03 13:26:48
- Judged By
- Score
- 100
- Total Time
- 615ms
- Peak Memory
- 4.062 MiB