QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#592418 | #216. Sonda [A] | 3un_larryfunc | Compile Error | / | / | C++20 | 2.5kb | 2024-09-26 22:24:13 | 2024-09-26 22:24:14 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
implementer.cpp: In function ‘void Init()’: implementer.cpp:24:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 24 | scanf("%d%d%d", &N, &m, &subtask_idx); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ implementer.cpp:28:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 28 | scanf("%d%d", &a, &b); | ~~~~~^~~~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:133:38: error: assignment of function ‘int close(int)’ 133 | close=1; | ~~~~~^~ answer.code:137:26: error: continue statement not within a loop 137 | if(close)continue; | ^~~~~~~~ answer.code: At global scope: answer.code:146:16: error: expected constructor, destructor, or type conversion before ‘(’ token 146 | end_tri(t,p[0],s); | ^ answer.code:147:9: error: expected unqualified-id before ‘return’ 147 | return 0; | ^~~~~~ answer.code:148:1: error: expected declaration before ‘}’ token 148 | } | ^