Shawn's Blog

  • Home
  • Tags
  • Categories
  • Archives
  • Search
  • Table of Contents
  • Overview

Shawn

若有恒,何必三更眠五更起;最无益,莫过一日曝十日寒。
392 posts
13 categories
114 tags

AcWing 3758. 距离零点的时刻

Posted on 2021-07-10 Edited on 2024-11-24 In AcWing
1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>
using namespace std;
int T, h, m;
int main() {
cin >> T;
while (T--) {
cin >> h >> m;
int ans = (24 - h) * 60 - m;
cout << ans << endl;
}
return 0;
}
# 模拟
LeetCode 面试题 17.10. Find Majority Element LCCI
AcWing 3759. 第k个字符串
© 2024 Shawn
Powered by Hexo & NexT.Mist
0%