Accepted
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
- Submission
- Problem
- P1073 Pair Sum
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2024-08-19 20:28:28
- Judged At
- 2025-02-09 14:04:40
- Judged By
- Score
- 100
- Total Time
- 278ms
- Peak Memory
- 1.391 MiB