You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
bapc-prelim-2015/test-x.cpp

13 lines
213 B

#include <iostream>
int main(int argc, char const *argv[])
{
unsigned int t;
std::cin >> t;
for (int i = 0; i < t; i++) {
unsigned int v;
std::cin >> v;
std::cout << (v + 1) << std::endl;
}
return 0;
}