QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#139667 | #6756. 桂花树 | hyforces | Compile Error | / | / | C++20 | 7.9kb | 2023-08-14 09:56:34 | 2023-08-14 09:56:37 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int count_2_children(int, int)’: answer.code:176:27: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’ 176 | fma(ret,cv,ris(MOD-cv)); | ^ answer.code:9:14: note: initializing argument 1 of ‘void ris(int&)’ 9 | void ris(int&x){x=((x<0)?x+MOD:x);} | ~~~~^