QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#439350 | #6400. Game: Celeste | ZhangYiDe | Compile Error | / | / | C++20 | 1.9kb | 2024-06-11 19:59:07 | 2024-06-11 19:59:07 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int Less(int, int, int, int)’: answer.code:40:39: error: a function-definition is not allowed here before ‘{’ token 40 | int Cnt(int p,int pos,int L=1,int R=n){ | ^ answer.code:46:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 46 | int main(){ | ^~ answer.code:46:9: note: remove parentheses to default-initialize a variable 46 | int main(){ | ^~ | -- answer.code:46:9: note: or replace parentheses with braces to value-initialize a variable answer.code:46:11: error: a function-definition is not allowed here before ‘{’ token 46 | int main(){ | ^ answer.code:82:2: error: expected ‘}’ at end of input 82 | } | ^ answer.code:33:38: note: to match this ‘{’ 33 | int Less(int p,int q,int L=1,int R=n){ | ^ answer.code:82:2: warning: control reaches end of non-void function [-Wreturn-type] 82 | } | ^