| Problem | arrayngement |
|---|---|
| User | Devthethala |
| Submission Time | 2026-06-26 15:19:28 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
arrayngement.cpp: In function ‘int main()’:
arrayngement.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> n;
| ^~~
arrayngement.cpp:5:5: error: ‘vector’ was not declared in this scope
5 | vector<int> a(n);
| ^~~~~~
arrayngement.cpp:5:12: error: expected primary-expression before ‘int’
5 | vector<int> a(n);
| ^~~
arrayngement.cpp:6:12: error: expected primary-expression before ‘int’
6 | vector<int> b(n);
| ^~~
arrayngement.cpp:8:16: error: ‘a’ was not declared in this scope
8 | cin >> a[i];
| ^