/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 22ms 3.062 MiB
#2 Accepted 24ms 3.039 MiB
#3 Accepted 615ms 3.605 MiB
#4 Accepted 601ms 4.062 MiB

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