QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#786224 | #9156. 百万富翁 | jimmyF | Compile Error | / | / | C++14 | 753b | 2024-11-26 20:47:50 | 2024-11-26 20:47:51 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:5:8: error: size of array ‘id’ is not an integral constant-expression 5 | int id[V],tmp[V]; | ^ answer.code:5:15: error: size of array ‘tmp’ is not an integral constant-expression 5 | int id[V],tmp[V]; | ^ answer.code:6:10: error: size of array ‘vis’ is not an integral constant-expression 6 | bool vis[V]; | ^ answer.code: In function ‘int richest(int, int, int)’: answer.code:20:17: error: ‘R’ was not declared in this scope 20 | R=0; | ^ answer.code:31:1: warning: no return statement in function returning non-void [-Wreturn-type] 31 | } | ^