摘要: 令我讨厌的一道题,耗费了我很多时间,还是编码不细心啊。View Code 1 #include<iostream> 2 using namespace std; 3 4 int main() 5 { 6 int s,d; 7 while(cin>>s>>d) 8 { 9 if(4*s-d<0)10 {11 if(10*s-2*d>0)12 cout<<10*s-2*d<<endl;13 else14 cout<<"Defic... 阅读全文
posted @ 2011-10-15 23:31 YipWingTim 阅读(133) 评论(0) 推荐(0) 编辑