QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#501209 | #8209. Curly Palindromes | ucup-team3896# | Compile Error | / | / | C++17 | 1.1kb | 2024-08-02 15:40:31 | 2024-08-02 15:40:32 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve()’: answer.code:16:3: error: ‘map’ was not declared in this scope 16 | map<char,ll>f; | ^~~ answer.code:7:1: note: ‘std::map’ is defined in header ‘<map>’; did you forget to ‘#include <map>’? 6 | #include <utility> +++ |+#include <map> 7 | using namespace std; answer.code:16:7: error: expected primary-expression before ‘char’ 16 | map<char,ll>f; | ^~~~ answer.code:20:7: error: ‘f’ was not declared in this scope 20 | f[ch[i]]++; | ^