Problem countalp
User TheRaptor
Submission Time 2023-01-20 09:26:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

countalp.cpp: In function ‘int main()’:
countalp.cpp:44:3: error: ‘arr’ was not declared in this scope
44 | arr[s1[i] - 'a']++;
| ^~~
countalp.cpp:47:35: error: ‘arr’ was not declared in this scope
47 | cout << (char)('a'+i) << ' ' << arr[i] << '\n';
| ^~~