Problem countalp
User hackerman123
Submission Time 2023-02-08 08:28:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

countalp.cpp: In function ‘int main()’:
countalp.cpp:8:18: error: ‘c’ was not declared in this scope
8 | char c; cin >> c;
| ^
countalp.cpp:10:7: error: declaration of ‘auto f’ has no initializer
10 | for (auto f; dict){
| ^~~~
countalp.cpp:10:15: error: could not convert ‘dict’ from ‘std::map<char, int>’ to ‘bool’
10 | for (auto f; dict){
| ^~~~
| |
| std::map<char, int>
countalp.cpp:10:19: error: expected ‘;’ before ‘)’ token
10 | for (auto f; dict){
| ^
| ;