QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#277039 | #7877. Balanced Array | Farmer_D | Compile Error | / | / | C++14 | 1.9kb | 2023-12-06 14:51:54 | 2023-12-06 14:51:54 |
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:51:68: error: ‘mod’ was not declared in this scope; did you mean ‘mid’? 51 | if((hash1.gethash(1,mid-2*k)+hash1.gethash(2*k+1,mid))%mod==hash1.gethash(k+1,mid-k)*2%mod | ^~~ | mid answer.code: In function ‘int gtnum(char)’: answer.code:26:1: warning: control reaches end of non-void function [-Wreturn-type] 26 | } | ^