QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#594635 | #9287. Double Elimination | 3un_larryfunc | Compile Error | / | / | C++20 | 2.2kb | 2024-09-28 09:19:29 | 2024-09-28 09:19:31 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:70:225: error: expected ‘;’ before ‘}’ token 70 | if(s[3]=='0'){if(s[4]=='0')v3.emplace_back(name);else{if(s[5]=='0')v2.emplace_back(name);else v1.emplace_back(name);}}else{if(s[4]=='0')v2.emplace_back(name);else v1.emplace_back(name)}}}}}sort(v1.begin(),v1.end());for(auto i:v1)cout<<"1 "<<i<<'\n';sort(v2.begin(),v2.end());for(auto i:v2)cout<<"2 "<<i<<'\n';sort(v3.begin(),v3.end());for(auto i:v3)cout<<"3 "<<i<<'\n';sort(v4.begin(),v4.end());for(auto i:v4)cout<<"4 "<<i<<'\n';sort(v6.begin(),v6.end());for(auto i:v6)cout<<"5-6 "<<i<<'\n';sort(v8.begin(),v8.end());for(auto i:v8)cout<<"7-8 "<<i<<'\n';sort(v12.begin(),v12.end());for(auto i:v12)cout<<"9-12 "<<i<<'\n';sort(v16.begin(),v16.end());for(auto i:v16)cout<<"13-16 "<<i<<'\n';return 0;} | ^ | ;