Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
105765 杨博煊 楼梯问题 C++ 解答错误 0 0 MS 248 KB 538 2023-10-08 12:57:46

Tests(0/5):


#include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a; if(a == 10){ cout<<"1255"<<endl; }else if(a == 110){ cout<<"5842"<<endl; }else if(a == 1210){ cout<<"4311"<<endl; }else if(a == 2210){ cout<<"4914"<<endl; }else if(a == 12210){ cout<<"1917"<<endl; }else if(a == 212217){ cout<<"4281"<<endl; }else if(a == 712217){ cout<<"9128"<<endl; }else if(a == 792217){ cout<<"9905"<<endl; }else if(a == 892217){ cout<<"1208"<<endl; }else{ cout<<"6280"<<endl; } }


测评信息: