QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#594635#9287. Double Elimination3un_larryfuncCompile Error//C++202.2kb2024-09-28 09:19:292024-09-28 09:19:31

詳細信息

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;}
      |                                                                                                                                                                                                                                 ^
      |                                                                                                                                                                                                                                 ;