QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#501465 | #8215. Isomorphic Delight | ucup-team3896# | Compile Error | / | / | C++17 | 711b | 2024-08-02 19:09:17 | 2024-08-02 19:09:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void solve()’: answer.code:22:58: error: expected primary-expression before ‘void’ 22 | if(n==6)return cout<<"6\n1 2\n2 3\n1 3\n3 4\n2 5\n5 6",void; | ^~~~ answer.code:22:58: error: expected ‘;’ before ‘void’ 22 | if(n==6)return cout<<"6\n1 2\n2 3\n1 3\n3 4\n2 5\n5 6",void; | ^~~~ | ; answer.code:22:58: error: declaration does not declare anything [-fpermissive] 22 | if(n==6)return cout<<"6\n1 2\n2 3\n1 3\n3 4\n2 5\n5 6",void; | ^~~~ answer.code:23:10: warning: division by zero [-Wdiv-by-zero] 23 | cout<<1/0; | ~^~