Problem countalp
User j0ashhh
Submission Time 2026-02-07 21:01:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

countalp.cpp:1:2: error: invalid preprocessing directive #incldue; did you mean #include?
1 | #incldue <bits/stdc++.h>
| ^~~~~~~
| include
countalp.cpp: In function ‘int main()’:
countalp.cpp:5:2: error: ‘unordered_map’ was not declared in this scope
5 | unordered_map<char, int> st;
| ^~~~~~~~~~~~~
countalp.cpp:1:1: note: ‘std::unordered_map’ is defined in header ‘<unordered_map>’; did you forget to ‘#include <unordered_map>’?
+++ |+#include <unordered_map>
1 | #incldue <bits/stdc++.h>
countalp.cpp:5:16: error: expected primary-expression before ‘char’
5 | unordered_map<char, int> st;
| ^~~~
countalp.cpp:8:3: error: ‘cin’ was not declared in this scope
8 | cin >> a;
| ^~~
countalp.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include &