QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#334353 | #5. 在线 O(1) 逆元 | xcx0902 | Compile Error | / | / | C++14 | 289b | 2024-02-21 19:37:10 | 2024-11-05 21:57:39 |
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: In function ‘void init(int)’: answer.code:10:51: error: ‘P’ was not declared in this scope 10 | a[i] = (long long)(p - p / i) * a[P % i] % p; | ^