QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#669783 | #7782. Ursa Minor | xyj | Compile Error | / | / | C++20 | 5.0kb | 2024-10-23 19:39:50 | 2024-10-23 19:39:50 |
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:198:13: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 198 | num++; | ^~~ | enum answer.code:166:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 166 | scanf("%d%d%d",&n,&m,&q); | ~~~~~^~~~~~~~~~~~~~~~~~~ answer.code:168:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 168 | scanf("%d",&A[i]); | ~~~~~^~~~~~~~~~~~ answer.code:170:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 170 | scanf("%d",&b[i]),st[0][i]=b[i],lg2[i]=log2(i); | ~~~~~^~~~~~~~~~~~ answer.code:192:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 192 | scanf("%s",opt); | ~~~~~^~~~~~~~~~ answer.code:196:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 196 | scanf("%d%d%d%d",&l,&r,&s,&t); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ answer.code:209:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 209 | scanf("%d%d",&x,&y); | ~~~~~^~~~~~~~~~~~~~