Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
138121 | why | 二进制计数游戏 | C++ | 解答错误 | 0 | 0 MS | 252 KB | 196 | 2024-03-13 22:37:38 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a>>b; if (b==5)cout<<"2"<<endl<<"5"; if (b==10)cout<<"2"<<endl<<"4"; if (b==15||b==20)cout<<"2"; return 0; }