結果
問題 |
No.296 n度寝
|
ユーザー |
|
提出日時 | 2019-05-27 16:43:53 |
言語 | Kotlin (2.1.0) |
結果 |
AC
|
実行時間 | 319 ms / 1,000 ms |
コード長 | 216 bytes |
コンパイル時間 | 11,502 ms |
コンパイル使用メモリ | 436,124 KB |
実行使用メモリ | 57,044 KB |
最終ジャッジ日時 | 2024-11-20 18:40:18 |
合計ジャッジ時間 | 17,569 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 16 |
ソースコード
import java.time.LocalTime fun main(){ val (n,h,m,t) = readLine()!!.split(" ").map(String::toInt) val time = LocalTime.of(h,m,0).plusMinutes(((n-1)*t).toLong()) println(time.hour) println(time.minute) }