結果

問題 No.70 睡眠の重要性!
ユーザー Shiro_SShiro_S
提出日時 2021-01-16 10:35:31
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 112 bytes
コンパイル時間 225 ms
コンパイル使用メモリ 11,236 KB
実行使用メモリ 15,360 KB
最終ジャッジ日時 2023-08-18 06:57:54
合計ジャッジ時間 1,412 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

puts gets.to_i.times.map{gets.split.map{|a|a.split(?:).map &:to_i}}.sum{|a|(a[1][0]-a[0][0])*60+a[1][1]-a[0][1]}
0