Problem | countalp |
---|---|
User | XinLoiDuongNgu |
Submission Time | 2025-08-09 20:38:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
countalp.cpp: In function ‘int main()’:
countalp.cpp:12:16: error: expected ‘;’ before ‘for’
12 | m[alp[i]] = 0
| ^
| ;
13 | for (int i = 0;i<n;i++)
| ~~~
countalp.cpp:13:17: error: ‘i’ was not declared in this scope
13 | for (int i = 0;i<n;i++)
| ^
countalp.cpp:17:19: error: missing template arguments before ‘)’ token
17 | for (auto i : map)
| ^