QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
详细
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 | } | ^