Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5846 Angie 小鱼的游泳时间 C++ 通过 100 0 MS 700 KB 217 2020-08-20 13:23:03

Tests(30/30):


#include <iostream> using namespace std; int main() { int a,b,c,d,e,f,x,y,D_1,H,M; cin >> a >> b >> c >> d; x=60*a+b; y=60*c+d; D_1=y-x; H=D_1/60; M=D_1%60; cout << H << " " << M; return 0; }


测评信息: