QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#472121 | #4925. Adjacent Pairs | HuangHanSheng | Compile Error | / | / | C++14 | 879b | 2024-07-11 14:37:56 | 2024-07-11 14:37:57 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In lambda function: answer.code:14:67: error: expected ‘;’ before ‘}’ token 14 | sort(id+1,id+n+1,[&](int x,int y){return c[x]>c[y]}); | ^ | ; answer.code: In function ‘int main()’: answer.code:15:18: error: expected primary-expression before ‘)’ token 15 | }) | ^ answer.code:26:25: error: ‘m’ was not declared in this scope 26 | m[{x,y}]+=r-l+1>>1; | ^ answer.code:33:52: error: ‘m’ was not declared in this scope 33 | ans=max(ans,b[i]+c[id[t]])-m[{x,y}]; | ^ answer.code:37:31: error: ‘m’ was not declared in this scope 37 | while(m[{id[t],i}] or i==id[t]) ++t; | ^ answer.code: At global scope: answer.code:42:1: error: expected declaration before ‘}’ token 42 | } | ^