QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#585595 | #5145. Shortest Path | 3un_larryfunc | Compile Error | / | / | C++23 | 9.9kb | 2024-09-23 21:24:30 | 2024-09-23 21:24:33 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:270:9: error: ‘cnt’ does not name a type; did you mean ‘int’? 270 | cnt=0; | ^~~ | int answer.code:271:9: error: expected unqualified-id before ‘for’ 271 | for(int i=1;i<=len;i++){ | ^~~ answer.code:271:21: error: ‘i’ does not name a type 271 | for(int i=1;i<=len;i++){ | ^ answer.code:271:28: error: ‘i’ does not name a type 271 | for(int i=1;i<=len;i++){ | ^ answer.code:309:14: error: expected constructor, destructor, or type conversion before ‘(’ token 309 | solve(0); | ^ answer.code:310:14: error: expected constructor, destructor, or type conversion before ‘(’ token 310 | solve(1); | ^ answer.code:312:15: error: expected constructor, destructor, or type conversion before ‘(’ token 312 | printf("%d\n",Ans); | ^ answer.code:313:5: error: expected declaration before ‘}’ token 313 | } | ^ answer.code:315:5: error: expected unqualified-id before ‘return’ 315 | return 0; | ^~~~~~ answer.code:316:1: error: expected declaration before ‘}’ token 316 | }*/ | ^ answer.code:316:3: error: expected unqualified-id before ‘/’ token 316 | }*/ | ^ answer.code: In function ‘int main()’: answer.code:65:16: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 65 | int T;scanf("%d",&T); | ~~~~~^~~~~~~~~ answer.code:67:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 67 | scanf("%d%d%d",&n,&m,&lim); | ~~~~~^~~~~~~~~~~~~~~~~~~~~ answer.code:71:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 71 | scanf("%d%d%d",&x,&y,&c); | ~~~~~^~~~~~~~~~~~~~~~~~~