QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#202047 | #2919. Subprime | GuanYunchang | Compile Error | / | / | C++17 | 1.1kb | 2023-10-05 18:47:29 | 2023-10-05 18:47:30 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int sieve(long long int)’: answer.code:34:17: error: lvalue required as increment operand 34 | x = stoi(x)++; | ~~~~^~~ answer.code:35:20: error: ‘i’ was not declared in this scope 35 | if(isPrime[i]){ | ^ answer.code:40:1: warning: no return statement in function returning non-void [-Wreturn-type] 40 | } | ^