【HDOJ】1408 盐水的故事
摘要:
简单题,感觉非常简单,像小学奥数的植树问题。#include #include #define MAXNUM 5001int main() { double vul, d; int i, k, time, tmp; while (scanf("%lf %lf", &vul, &d) != EOF) { tmp = ceil(vul / d); k = 0; for (i=1; i= tmp) break; } time = tmp + i-1; printf("%... 阅读全文
posted @ 2014-03-14 22:26 Bombe 阅读(162) 评论(0) 推荐(0) 编辑