/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 15ms 3.008 MiB
#2 Accepted 16ms 3.113 MiB
#3 Accepted 544ms 3.645 MiB
#4 Accepted 565ms 4.043 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-11-11 03:14:39
Judged By
Score
100
Total Time
565ms
Peak Memory
4.043 MiB