#include<iostream> using namespace std; int main(){ int m;//宣告 cin>>m;//輸入 int w=(25-m+60)%60;//用25來減 cout<<w ; }