| Problem | management |
|---|---|
| User | lucaskoh |
| Submission Time | 2026-06-23 16:59:28 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
management.cpp: In function ‘int main()’:
management.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> N;
| ^~~
management.cpp:4:5: error: ‘vector’ was not declared in this scope
4 | vector<int> c(N, 0);
| ^~~~~~
management.cpp:4:12: error: expected primary-expression before ‘int’
4 | vector<int> c(N, 0);
| ^~~
management.cpp:5:12: error: expected primary-expression before ‘int’
5 | vector<int> v(N-1);
| ^~~
management.cpp:8:16: error: ‘v’ was not declared in this scope
8 | cin >> v[i];
| ^
management.cpp:9:9: error: ‘c’ was not declared in this scope
9 | c[v[i]]++;
| ^
management.cpp:14:2: error: ‘cout’ was not declared in this scope
14 | cout << c[i] << "\n";
| ^~~~
management.cpp:14:10: error: ‘c’ was not decl