QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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); | ~~~~~~~^~~