QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#253094 | #4940. Token Distance | ucup-team026# | Compile Error | / | / | C++23 | 3.6kb | 2023-11-16 17:37:17 | 2023-11-16 17:37:17 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In member function ‘int Tree2::update(int, int, int, int, int)’: answer.code:95:13: error: return-statement with no value, in function returning ‘int’ [-fpermissive] 95 | return; | ^~~~~~ answer.code: In function ‘int query(int, int)’: answer.code:165:1: warning: no return statement in function returning non-void [-Wreturn-type] 165 | } | ^ answer.code: In member function ‘int Tree2::update(int, int, int, int, int)’: answer.code:103:16: warning: control reaches end of non-void function [-Wreturn-type] 103 | push_up(k); | ~~~~~~~^~~