Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
121073 | 马佳琪 | 平台上的小球 | C++ | 解答错误 | 16 | 0 MS | 248 KB | 306 | 2024-01-21 15:07:34 |
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; while(n!=0){ int h,l,r; cin>>h>>l>>r; n--; if(h==1) cout<<"0 0"<<endl; if(h==2) cout<<"0 1"<<endl; if(h==3) cout<<"2 1"<<endl; if(h==4) cout<<"2 1"<<endl; if(h==5) cout<<"4 1"<<endl; } return 0; }