QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#463202 | #5. 在线 O(1) 逆元 | jxy2012# | Compile Error | / | / | C++20 | 1.1kb | 2024-07-04 15:28:49 | 2024-11-05 21:59:42 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
implementer.cpp: In function ‘int main()’: implementer.cpp:22:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 22 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ answer.code:7:24: error: redefinition of ‘const int N’ 7 | const int n = 1 << 10, N = (1 << 21) | 1; | ^ answer.code:5:11: note: ‘const int N’ previously defined here 5 | const int N = 200005; | ^ answer.code: In function ‘void init(int)’: answer.code:12:9: error: ‘u’ was not declared in this scope 12 | lep(u, 1, n) { | ^ answer.code:12:5: error: ‘lep’ was not declared in this scope 12 | lep(u, 1, n) { | ^~~ answer.code:28:9: error: ‘a’ was not declared in this scope 28 | lep(a, 0, lim) { | ^ answer.code:32:9: error: ‘i’ was not declared in this scope 32 | lep(i, 2, N - 1) { | ^ answer.code: In function ‘int inv(int)’: answer.code:41:12: error: ‘mul’ was not declared in this scope; did you mean ‘fmul’? 41 | return mul(u + mod, iv[pot[a] + b * u]); | ^~~ | fmul