QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#483545 | #7364. 回文 | GuanYunchang | Compile Error | / | / | C++14 | 977b | 2024-07-18 19:06:13 | 2024-07-18 19:06:13 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] 1 | #import<bits/stdc++.h> | ^~~~~~ answer.code:8:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 8 | main(){ | ^~~~ answer.code: In function ‘int main()’: answer.code:25:17: error: ‘else’ without a previous ‘if’ 25 | else x=0; | ^~~~ answer.code:9:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 9 | scanf("%s%d",s+1,&q),n=strlen(s); | ~~~~~^~~~~~~~~~~~~~~ answer.code:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 21 | for(scanf("%d%d",&l,&r),u=0,w=r-l>>1;u^w;)if(v=u+w+1>>1,_(f,l+v,r-v)<v)w=v-1; | ~~~~~^~~~~~~~~~~~~~