- 博客(4)
- 收藏
- 关注
原创 Biorhythms 需要数学推导
[code="c++"] #include #include double pi = 3.1415926535898; int main(int argc, char *argv[]) { int p, e, i, d; int k1, k2, k3; int days; int cnt = 1; while (true) { scanf("%d...
2012-01-30 18:44:32 57
原创 P1005 I Think I Need a Houseboat -- 水题
[code="c++"] #include #include double pi = 3.1415926535898; int main(int argc, char *argv[]) { int cnt, i; float x, y; int year; scanf("%d", &cnt); for (i=1; i 0.0) ? 1 : 0; prin...
2012-01-30 16:14:31 62
原创 Hangover 这题很简单,当练练手了。
Hangover Description How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We're assuming that the cards must be...
2012-01-29 10:25:48 81
原创 Exponentiation 大实数乘法
Description Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many co...
2012-01-29 10:23:42 76
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人