摘要:
二分过的,注意对整数二分的时候,if判断要有=号,找了好长时间,自己都忘了。。POJ 2109MDK2109Accepted736K32MSG++1644B2011-11-06 21:18:20int n;double p;double cal(int x) { return pow(x,n);}int main () { while(~scanf("%d %lf",&n,&p)) { int ans; int L = 1,R = 1000000000; while(L <= R) { int mid = (L + R... 阅读全文
posted @ 2011-11-06 21:20 MDeath-Kid 阅读(285) 评论(0) 推荐(0)
浙公网安备 33010602011771号