QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#233027 | #5499. Aliases | cbant15 | Compile Error | / | / | C++14 | 1.5kb | 2023-10-31 11:06:51 | 2023-10-31 11:06:51 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int sol()’: answer.code:39:46: error: expected ‘;’ before ‘return’ 39 | if (!rA && !rB && rC == 5) cout << n << " " | ^ | ; 40 | return 0; | ~~~~~~ answer.code:41:1: warning: no return statement in function returning non-void [-Wreturn-type] 41 | } | ^ answer.code: In function ‘int main()’: answer.code:47:14: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 47 | freopen((taskname"." + iext).c_str(), "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code:48:14: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 48 | freopen(taskname".out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~