| Problem | arrayfind |
|---|---|
| User | LeonKong |
| Submission Time | 2026-11-04 14:41:47 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:3:5: error: ‘ios_base’ has not been declared
3 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
arrayfind.cpp:4:5: error: ‘cin’ was not declared in this scope
4 | cin.tie(0);
| ^~~
arrayfind.cpp:5:5: error: ‘cout’ was not declared in this scope
5 | cout.tie(0);
| ^~~~
arrayfind.cpp:9:5: error: ‘vector’ was not declared in this scope
9 | vector<int> ints(l);
| ^~~~~~
arrayfind.cpp:9:12: error: expected primary-expression before ‘int’
9 | vector<int> ints(l);
| ^~~
arrayfind.cpp:11:16: error: ‘ints’ was not declared in this scope; did you mean ‘int’?
11 | cin >> ints[i];
| ^~~~
| int
arrayfind.cpp:15:13: error: expected primary-expression before ‘int’
15 | vector <int> ques(q);
|