后3个测试点WA

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

yinzixia @ 2024-04-20 14:17:28

#include<bits/stdc++.h>
using namespace std;
int main(){
    int h,m,min2,s2,u2,b;
    double min,u,s;
    cin>>s>>u;
    s2=s;
    u2=u;
    b=s2/u2;
    double a;
    a=b;
    if((s/u)>a)min=s2/u2+10+1;
    else min=s2/u2+10;
    min2=480-min;
    h=min2/60;
    m=min2%60;
    printf("%02d:%02d",h,m);
}

by DJWOI @ 2024-04-20 15:19:44

810000 祭


by liboya5074 @ 2024-04-20 18:51:06

qp,810000祭 @yinzixia


by yinzixia @ 2024-04-20 19:18:58

810000祭是啥?@liboya5074


by liboya5074 @ 2024-04-20 19:40:41

这个帖子的网址是

https://www.luogu.com.cn/discuss/810000

帖子编号是810000。


by zjr2014 @ 2024-04-23 09:49:53

810000祭


by __szh_DNCB__ @ 2024-04-27 15:21:06

810000


by Cute_QiQi @ 2024-04-28 18:52:29

810000


|