QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#558582 | #8668. 回文路径 | Huluobo | Compile Error | / | / | C++14 | 1.7kb | 2024-09-11 16:56:20 | 2024-09-11 16:56:21 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘bool check(int)’: answer.code:32:14: error: expected primary-expression before ‘)’ token 32 | for () | ^ answer.code:33:1: error: expected primary-expression before ‘}’ token 33 | } | ^ answer.code:32:15: error: expected ‘;’ before ‘}’ token 32 | for () | ^ | ; 33 | } | ~ answer.code:33:1: error: expected primary-expression before ‘}’ token 33 | } | ^ answer.code:32:15: error: expected ‘)’ before ‘}’ token 32 | for () | ~ ^ | ) 33 | } | ~ answer.code:33:1: error: expected primary-expression before ‘}’ token 33 | } | ^ answer.code:33:1: warning: no return statement in function returning non-void [-Wreturn-type] answer.code: In function ‘int main()’: answer.code:36:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 36 | scanf("%d",&n); | ~~~~~^~~~~~~~~ answer.code:40:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 40 | scanf("%s",c[1]+1); | ~~~~~^~~~~~~~~~~~~ answer.code:41:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 41 | scanf("%s",c[2]+1); | ~~~~~^~~~~~~~~~~~~