AT—[ARC027A] 門限 题解 Wy_x · 2022-10-24 15:06:17 · 题解 题目传送门 更好的阅读体验? 做法: 设给出时间的下一个整点为 x:00。 极简代码: #include<cstdio> int main() { int h,m,ans; scanf("%d%d",&h,&m); printf("%d\n",60-m+60*(18-(h+1))); //AT 的题最后要有换行 return 0; }