摘要: #include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(a>=0&&a<=10&&b>=0&&b<=10) cout<<a+b<<endl; return 0; } 阅读全文
posted @ 2012-05-03 13:25 菜鸟在努力!! 阅读(77) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ double a,b,s; for(b=0;b<12;b++) { cin>>a; s+=a; } cout<<"$"<<s/12<<endl; return 0; } 阅读全文
posted @ 2012-05-03 13:24 菜鸟在努力!! 阅读(138) 评论(0) 推荐(0)
摘要: Ignatius and the Princess IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2372 Accepted Submission(s): 1437 Problem DescriptionNow our hero finds the door to the BEelzebub feng5166. He opens the door and finds feng5166 is about to kill our pret 阅读全文
posted @ 2012-04-30 13:03 菜鸟在努力!! 阅读(142) 评论(0) 推荐(0)