時差編程
發布時間: 2023-01-01 15:50:46
#include<stdio.h>
main(){
int a,b,c,d;
scanf("%d%d%d%d",&a,&b,&c,&d);
d-=b,c-=a+(d<0);
d=(d+60)%60;
return printf("%d %d",c,d)&0;
}
とある蒟蒻の秀,莫噴,碼風巨丑,也莫噴
熱點內容
#include<stdio.h>
main(){
int a,b,c,d;
scanf("%d%d%d%d",&a,&b,&c,&d);
d-=b,c-=a+(d<0);
d=(d+60)%60;
return printf("%d %d",c,d)&0;
}
とある蒟蒻の秀,莫噴,碼風巨丑,也莫噴