QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#669559 | #7262. String Modification | MaMengQi | Compile Error | / | / | C++98 | 364b | 2024-10-23 19:00:20 | 2024-10-23 19:00:20 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘void sol()’: answer.code:8:14: error: ‘it’ does not name a type; did you mean ‘int’? 8 | for(auto it :s) mp[it]++; | ^~ | int answer.code:8:30: error: expected ‘;’ before ‘for’ 8 | for(auto it :s) mp[it]++; | ^ | ; 9 | for(int i=0;i<ss.size()-1;i++) | ~~~ answer.code:9:5: error: expected primary-expression before ‘for’ 9 | for(int i=0;i<ss.size()-1;i++) | ^~~ answer.code:8:30: error: expected ‘;’ before ‘for’ 8 | for(auto it :s) mp[it]++; | ^ | ; 9 | for(int i=0;i<ss.size()-1;i++) | ~~~ answer.code:9:5: error: expected primary-expression before ‘for’ 9 | for(int i=0;i<ss.size()-1;i++) | ^~~ answer.code:8:30: error: expected ‘)’ before ‘for’ 8 | for(auto it :s) mp[it]++; | ~ ^ | ) 9 | for(int i=0;i<ss.size()-1;i++) | ~~~