結果

問題 No.63 ポッキーゲーム
ユーザー komkomhkomkomh
提出日時 2019-04-17 08:11:40
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 192 bytes
コンパイル時間 13,765 ms
コンパイル使用メモリ 412,244 KB
実行使用メモリ 54,932 KB
最終ジャッジ日時 2023-08-13 01:44:21
合計ジャッジ時間 19,904 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 290 ms
52,892 KB
testcase_01 AC 287 ms
53,096 KB
testcase_02 AC 285 ms
53,012 KB
testcase_03 AC 289 ms
52,932 KB
testcase_04 AC 291 ms
54,700 KB
testcase_05 AC 289 ms
53,016 KB
testcase_06 AC 286 ms
52,896 KB
testcase_07 AC 289 ms
52,924 KB
testcase_08 AC 287 ms
52,912 KB
testcase_09 AC 290 ms
52,992 KB
testcase_10 AC 289 ms
52,940 KB
testcase_11 AC 289 ms
53,000 KB
testcase_12 AC 288 ms
53,124 KB
testcase_13 WA -
testcase_14 AC 288 ms
53,264 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 299 ms
53,212 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder

fun main() {
    val (l, k) = readLine()!!.split(" ").map(String::toInt)
    val forward = k * 2
    val count = if (l > forward) l / forward else 0
    println(k * count)
}
0