Advertisement
Saleh127

CF 1393A

Aug 7th, 2020
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5. ios_base::sync_with_stdio(0);
  6. cin.tie(0);cout.tie(0);
  7. long long int t;
  8. cin>>t;
  9. while(t--)
  10. {
  11.  
  12. long long a,c,d,e,f,i,j,k,l;
  13. cin>>a;
  14. cout<<1+a/2<<endl;
  15.  
  16. }
  17.  
  18.  
  19.  
  20. return 0;
  21. }
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement