CodeChef::MUFFINS3

 

#include<iostream>
using namespace std ;

int main(){
int t ;
cin >> t ;
while (t--){
long int n ;
cin >> n ;
cout << n/2 + 1 << '\n' ;

}

return 0 ;
}

Comments

Popular posts from this blog

CodeChef::CSUB

Atcoder Educational Dp contest :: C vacation

How Recursion Works?