結果

問題 No.70 睡眠の重要性!
ユーザー matriematrie
提出日時 2020-11-27 09:18:44
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 174 bytes
コンパイル時間 140 ms
コンパイル使用メモリ 10,476 KB
実行使用メモリ 7,916 KB
最終ジャッジ日時 2023-10-01 03:58:26
合計ジャッジ時間 915 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,916 KB
testcase_01 AC 15 ms
7,752 KB
testcase_02 AC 15 ms
7,796 KB
testcase_03 AC 15 ms
7,756 KB
testcase_04 AC 15 ms
7,808 KB
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
t = 0
for i in range(N):
	s = input().split()
	b,e = (x.split(':') for x in s)
	h = (int(e[0])-int(b[0]))%24
	m = int(e[1])-int(b[1])
	t += h*60 + m
print(t)
0