QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#453739 | #6511. Balancing Sequences | egypt_ioi2024_12 | Compile Error | / | / | C++20 | 3.5kb | 2024-06-24 10:03:03 | 2024-06-24 10:03:03 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:87:62: error: expected ‘;’ before ‘continue’ 87 | if(q[j]==(pos>=n?(pos+n)%n:pos+n)continue; | ^~~~~~~~ | ; answer.code:88:43: error: expected ‘)’ before ‘;’ token 88 | Swap(pos,p[j]); | ^ | ) answer.code:87:31: note: to match this ‘(’ 87 | if(q[j]==(pos>=n?(pos+n)%n:pos+n)continue; | ^ answer.code:88:33: error: could not convert ‘Swap.main()::<lambda(int, int)>(pos, p.std::vector<int>::operator[](((std::vector<int>::size_type)j)))’ from ‘void’ to ‘bool’ 88 | Swap(pos,p[j]); | ~~~~^~~~~~~~~~ | | | void