wa了第9个测试点

P5707 【深基2.例12】上学迟到

``` cin >> s >> v; int ans = ceil(s*1.0/v); int gethere_t = (480 + 2870 - ans) % 1440; int gethere_h = gethere_t / 60;//小时 if(gethere_h < 10) cout << 0; cout << gethere_h << ":"; int gethere_m = gethere_t % 60;//分钟 if(gethere_m < 10) cout << 0; cout << gethere_m << endl; ``` **本人见解,请勿抄袭**
by Foggy_night @ 2022-11-20 19:17:10


@夜雾的i 谢谢,不过我自己已经改好了,要用double定义
by gyttnnd @ 2022-11-20 19:24:16


|