結果

問題 No.63 ポッキーゲーム
ユーザー komkomhkomkomh
提出日時 2019-04-17 08:11:40
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 192 bytes
コンパイル時間 11,719 ms
コンパイル使用メモリ 424,128 KB
実行使用メモリ 56,980 KB
最終ジャッジ日時 2024-04-30 20:17:44
合計ジャッジ時間 20,216 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 331 ms
56,960 KB
testcase_01 AC 322 ms
56,920 KB
testcase_02 AC 320 ms
56,796 KB
testcase_03 AC 323 ms
56,976 KB
testcase_04 AC 328 ms
56,980 KB
testcase_05 AC 322 ms
56,816 KB
testcase_06 AC 325 ms
56,916 KB
testcase_07 AC 320 ms
56,932 KB
testcase_08 AC 327 ms
56,908 KB
testcase_09 AC 325 ms
56,844 KB
testcase_10 AC 333 ms
56,904 KB
testcase_11 AC 330 ms
56,808 KB
testcase_12 AC 325 ms
56,924 KB
testcase_13 WA -
testcase_14 AC 328 ms
56,940 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 326 ms
56,812 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