QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~