#include<iostream> using namespace std; int main() { int a; cin >> a; while (a--) { int b; cin >> b; cout << b+1 << endl; } }
#include using namespace std; int main() { int a; cin >> a; while (a--) { int b; cin >> b; cout << b+1 << endl; } }我懂了謝謝!