请问:
#include <iostream> using namespace std; const int MAX = 114514; int n, a[MAX] = {}; int main() { for (int i = 0; cin >> n; i++) a[i] = n; return 0; }
这样可不可以实现没有个数地输入n呢?
如:
111 222 333 455245455245455245 324532453245 243243243 656565
这串数据能否正常在评测机上输入?