QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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]]++; | ^