C++ :
#include<bits/stdc++.h> using namespace std; int main() { int h,m,x,s; cin>>h>>m>>x; s=h*60+m-x; cout<<s/60<<' '<<s%60; }
使用您的 信奥星 通用账户