按照题意模拟即可 注意事项 1.若睡与醒的上下午不同,则把醒时+122.若分<0,则分+60,时-13.若时<0,则时+24 #include<bits/stdc++.h> using namespace std; int h1,h2,m1,m2,hh,mm,h,m; char a[3],b[3]; signed main(){ scanf("%d:%d %s\n",&h1,&m1,&a); scanf("%d:%d %s\n",&h2,&m2,&b); scanf("%dh%dmin",&am...