結果

問題 No.652 E869120 and TimeZone
ユーザー nobigomu
提出日時 2018-03-21 18:23:42
言語 Lua
(LuaJit 2.1.1734355927)
結果
WA  
実行時間 -
コード長 212 bytes
コンパイル時間 128 ms
コンパイル使用メモリ 5,248 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-24 19:36:36
合計ジャッジ時間 1,323 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 5
other AC * 22 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

print((function (h, m, td, ctd)
	local t = (h+td-ctd)*60 + m
	return string.format("%02d:%02d", math.floor(t/60)%24, t%60)
end)(io.stdin:read("*n"), io.stdin:read("*n"), tonumber(io.stdin:read("*l"):sub(5)), 9))
0