QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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) { | ~~~~^