摘要: 来源:http://poj.org/problem?id=1005 怎么POJ前面的题都那么水= = #include <iostream>#include <cstdio>#include <cmath>using namespace std;#define pi 3.1415926int main(){ int N; cin>>N; for (int Ncase=1... 阅读全文
posted @ 2012-12-12 09:20 ay27 阅读(143) 评论(0) 推荐(0)
摘要: 来源:http://poj.org/problem?id=1004 唉,还有什么好说的,如此水题都让我等遇上了 #include <cstdio>using namespace std;int main(){ double sum=0.0,x; for (int i=1;i<=12;i++) { scanf("%lf",&x); sum+=x... 阅读全文
posted @ 2012-12-12 08:58 ay27 阅读(104) 评论(0) 推荐(0)