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

Tests(0/0):


# include <iostream> using namespace std; int main () { int farm,cow; cin>>farm>>cow; if(cow-farm>=100)cout<<10; else if(cow-farm>=200)cout<<20; else if(cow-farm>=300)cout<<30; else if(cow-farm>=400)cout<<40; else if(cow-farm>=500)cout<<50; else if(cow-farm>=600)cout<<60; else if(cow-farm>=700)cout<<70; else if(cow-farm>=800)cout<<80; else if(cow-farm>=900)cout<<90; else if(cow-farm>=1000)cout<<100; else if(cow-farm>=2000)cout<<200; else if(cow-farm>=3000)cout<<300; else if(cow-farm>=4000)cout<<400; else if(cow-farm>=5000)cout<<500; else if(cow-farm>=6000)cout<<600; else if(cow-farm>=7000)cout<<700; else if(cow-farm>=8000)cout<<800; else if(cow-farm>=9000)cout<<900; else if(cow-farm>=10000)cout<<1000; else cout<<5 return 0; }


测评信息: