結果
問題 |
No.296 n度寝
|
ユーザー |
![]() |
提出日時 | 2018-04-20 20:02:19 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 192 bytes |
コンパイル時間 | 75 ms |
コンパイル使用メモリ | 6,688 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-27 05:16:17 |
合計ジャッジ時間 | 725 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 16 |
ソースコード
io.write((function (n, h, m, t) local a = m+t*(n-1) return (h+math.floor(a/60))%24, "\n", a%60, "\n" end)(io.stdin:read("*n"), io.stdin:read("*n"), io.stdin:read("*n"), io.stdin:read("*n")))