mirror of
https://github.com/tiennm99/codechef.git
synced 2026-06-10 04:10:18 +00:00
16 lines
194 B
C++
16 lines
194 B
C++
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
int main()
|
|
{
|
|
int n, t, i;
|
|
cin >> n;
|
|
for (i = 0; i < n; i++)
|
|
{
|
|
cin >> t;
|
|
cout << t/2 + 1 << endl;
|
|
}
|
|
return 0;
|
|
}
|