/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 5ms 768.0 KiB

Code

#include <bits/stdc++.h>
using namespace std;

int main()
{
	int t, n;
	cin >> t;
	while (t-- && cin >> n)
	{
		cout << (n - 1) / 2 << "\n";
	}
	return 0;
}

Information

Submit By
Type
Pretest
Problem
P1073 Pair Sum
Language
C++17 (G++ 13.2.0)
Submit At
2024-08-19 20:28:24
Judged At
2024-08-19 20:28:24
Judged By
Score
10
Total Time
5ms
Peak Memory
768.0 KiB