結果

問題 No.70 睡眠の重要性!
ユーザー cielciel
提出日時 2014-12-18 15:31:39
言語 Ruby
(3.3.0)
結果
AC  
実行時間 90 ms / 5,000 ms
コード長 102 bytes
コンパイル時間 229 ms
コンパイル使用メモリ 11,404 KB
実行使用メモリ 15,556 KB
最終ジャッジ日時 2023-08-27 05:24:35
合計ジャッジ時間 1,734 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 87 ms
15,316 KB
testcase_01 AC 88 ms
15,320 KB
testcase_02 AC 88 ms
15,372 KB
testcase_03 AC 90 ms
15,516 KB
testcase_04 AC 88 ms
15,556 KB
testcase_05 AC 90 ms
15,436 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

require'time';s=0;gets;$<.map{|e|x,y=e.split.map{|e|Time.parse e};y-=x;s+=y<0?86400+y : y};p s.to_i/60
0