QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#98563 | #2919. Subprime | MaMengQi | Compile Error | / | / | C++17 | 1.0kb | 2023-04-19 07:54:07 | 2023-04-19 07:54:10 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:44:27: error: cannot convert ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘int’ 44 | if (has_substring(p, prime)) { | ^ | | | std::string {aka std::__cxx11::basic_string<char>} answer.code:24:24: note: initializing argument 1 of ‘bool has_substring(int, int)’ 24 | bool has_substring(int p, int n) { | ~~~~^