Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
14170 c292user7 抓住那头奶牛 C++ 解答错误 0 0 MS 696 KB 297 2021-07-10 19:08:13

Tests(0/5):


# include <iostream> using namespace std; int main () { int farm,cow; cin>>farm>>cow; if(cow-farm>=100)cout<<10; else if(cow-farm>=10)cout<<7; else if(cow-farm>=10)cout<<5; else if(cow-farm>=200)cout<<20; else if(cow-farm>=300)cout<<30; return 0; }


测评信息: