Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
360866 丁虞轩 【C5-7】看完动漫要几天? C++ 解答错误 0 2 MS 256 KB 200 2025-11-14 19:04:53

Tests(0/1):


#include<iostream> #include<cmath> using namespace std; int main(){ int m,a,b,c,d,s; cin>>m; scanf("%d:%d",&a,&b); scanf("%d:%d",&c,&d); s=(c-a)*60+d-b; cout<<floor(m/s); return 0; }


测评信息: