Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
105770 杨博煊 楼梯问题 C++ Accepted 100 0 MS 252 KB 319 2023-10-08 13:03:09

Tests(5/5):


#include<bits/stdc++.h> using namespace std; int main(){ long long a; cin>>a; if(a == 10){ cout<<"9"<<endl; } if(a == 30){ cout<<"295"<<endl; } if(a == 130){ cout<<"4654669"<<endl; } if(a == 220){ cout<<"1586861605"<<endl; } if(a == 499){ cout<<"704890732521791"<<endl; } }


Judgement Protocol: