結果
問題 | No.70 睡眠の重要性! |
ユーザー | rkyiolklo |
提出日時 | 2020-04-21 00:46:00 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 36 ms / 5,000 ms |
コード長 | 223 bytes |
コンパイル時間 | 93 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-04-16 01:06:59 |
合計ジャッジ時間 | 784 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 32 ms
10,752 KB |
testcase_01 | AC | 36 ms
10,624 KB |
testcase_02 | AC | 33 ms
10,752 KB |
testcase_03 | AC | 31 ms
10,624 KB |
testcase_04 | AC | 31 ms
10,752 KB |
testcase_05 | AC | 31 ms
10,624 KB |
ソースコード
n=int(input()) cnt=0 for i in range(n): hm1,hm2=map(str,input().split()) h1,m1=map(int,hm1.split(':')) h2,m2=map(int,hm2.split(':')) time1=h1*60+m1 time2=h2*60+m2 cnt+=(time2-time1)%1440 print(cnt)