QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#392779 | #4000. Dynamic Reachability | ZhangYiDe | Compile Error | / | / | C++20 | 3.2kb | 2024-04-17 20:29:33 | 2024-04-17 20:29:34 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:139:9: error: ‘else’ without a previous ‘if’ 139 | else puts(bfs(bel[a[i].x],bel[a[i].y])?"YES":"NO"); | ^~~~ answer.code:69:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 69 | scanf("%d%d%d",&n,&m,&q); | ~~~~~^~~~~~~~~~~~~~~~~~~ answer.code:71:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 71 | scanf("%d%d",X+i,Y+i); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:74:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 74 | scanf("%d",&a[i].opt); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:75:25: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 75 | if(a[i].opt==1)scanf("%d",&a[i].x); | ~~~~~^~~~~~~~~~~~~~ answer.code:76:15: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 76 | else scanf("%d%d",&a[i].x,&a[i].y); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~