QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#630788 | #9448. Product Matrix | ucup-team4645# | Compile Error | / | / | C++23 | 205b | 2024-10-11 20:25:07 | 2024-10-11 20:25:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int qpow(int, int)’: answer.code:6:45: error: ‘P’ was not declared in this scope 6 | if(y & 1) res = (res * x) % P; | ^ answer.code:7:31: error: ‘P’ was not declared in this scope 7 | x = (x * x) % P; | ^ answer.code: In function ‘int Inv(int)’: answer.code:15:23: error: ‘P’ was not declared in this scope 15 | return qpow(x,P - 2); | ^