QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#567091 | #7775. 【模板】矩阵快速幂 | gg_gong | Compile Error | / | / | C++20 | 6.4kb | 2024-09-16 06:49:24 | 2024-09-16 06:49:25 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:240:8: error: ambiguating new declaration of ‘int solvingstuff::main()’ 240 | signed main(){ | ^~~~ answer.code:119:14: note: old declaration ‘void solvingstuff::main()’ 119 | void main(){ | ^~~~ answer.code:249:2: error: expected ‘}’ at end of input 249 | } | ^ answer.code:39:23: note: to match this ‘{’ 39 | namespace solvingstuff{ | ^ answer.code: In function ‘void solvingstuff::main()’: answer.code:121:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 121 | scanf("%s",k+1); | ~~~~~^~~~~~~~~~