0_0_33808856_16232.cpp: In function 'int main()':
0_0_33808856_16232.cpp:3:12: error: 'cin' was not declared in this scope
while (cin >> n && n) {
^
0_0_33808856_16232.cpp:3:19: error: 'n' was not declared in this scope
while (cin >> n && n) {
^
0_0_33808856_16232.cpp:5:16: error: 'a' was not declared in this scope
cin >> a;
^
0_0_33808856_16232.cpp:6:18: error: 'get_next' was not declared in this scope
get_next();
^
0_0_33808856_16232.cpp:7:37: error: 'printf' was not declared in this scope
printf("Test case #%d\n", ff);
^
0_0_33808856_16232.cpp:9:27: error: 'next1' was not declared in this scope
int ans = i - next1[i];
^
|