QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#670402 | #7782. Ursa Minor | xyj | Compile Error | / | / | C++20 | 5.4kb | 2024-10-23 21:34:37 | 2024-10-23 21:34:39 |
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:206:31: error: ‘k’ was not declared in this scope 206 | add(val[j%k],a[j]); | ^ answer.code:168:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 168 | scanf("%d%d%d",&n,&m,&q); | ~~~~~^~~~~~~~~~~~~~~~~~~ answer.code:170:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 170 | scanf("%d",&A[i]); | ~~~~~^~~~~~~~~~~~ answer.code:172:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 172 | scanf("%d",&b[i]),st[0][i]=b[i],lg2[i]=log2(i); | ~~~~~^~~~~~~~~~~~ answer.code:196:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 196 | scanf("%s",opt); | ~~~~~^~~~~~~~~~ answer.code:200:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 200 | scanf("%d%d%d%d",&l,&r,&s,&t); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ answer.code:220:18: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 220 | scanf("%d%d",&x,&y); | ~~~~~^~~~~~~~~~~~~~