結果
問題 |
No.652 E869120 and TimeZone
|
ユーザー |
![]() |
提出日時 | 2018-03-21 18:32:43 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 215 bytes |
コンパイル時間 | 181 ms |
コンパイル使用メモリ | 5,120 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-28 15:49:21 |
合計ジャッジ時間 | 1,314 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 5 |
other | AC * 29 WA * 1 |
ソースコード
print((function (h, m, td, ctd) local t = (h+td-ctd)*60 + m return string.format("%02.0f:%02.0f", math.floor(t/60)%24, t%60) end)(io.stdin:read("*n"), io.stdin:read("*n"), tonumber(io.stdin:read("*l"):sub(5)), 9))