摘要:
简单题View Code #include <iostream>#include <cmath>using namespace std;const double pi = 3.14159265;int work(){ double x, y, l; cin >> x; cin >> y; l = x * x + y * y; return int(l * pi / 100) + 1;}int main(){ int n, t; //freopen("t.txt", "r", stdin); t = 0; c 阅读全文
posted @ 2012-12-01 11:20
undefined2024
阅读(293)
评论(0)
推荐(0)
摘要:
简单题View Code #include <iostream>using namespace std;int main(){ int i; float l, ans = 0; //freopen("t.txt", "r", stdin); for (i = 0; i < 12; i++) { cin >> l; ans += l; } ans /= 12; printf("$%.2f\n", ans); return 0;} 阅读全文
posted @ 2012-12-01 11:15
undefined2024
阅读(235)
评论(0)
推荐(0)

浙公网安备 33010602011771号