Problem management
User Hytoh
Submission Time 2023-04-19 12:03:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

management.cpp: In function ‘int main()’:
management.cpp:8:21: error: ‘i’ was not declared in this scope
8 | for (int j = 0; i < n; i++) {
| ^
management.cpp:13:11: error: expected ‘;’ before ‘stinky’
13 | cin >> a
| ^
| ;
14 | stinky[a - 1]++;
| ~~~~~~