結果

問題 No.63 ポッキーゲーム
ユーザー uchida_tuchida_t
提出日時 2023-05-23 13:02:26
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 192 bytes
コンパイル時間 12,208 ms
コンパイル使用メモリ 416,244 KB
実行使用メモリ 54,964 KB
最終ジャッジ日時 2023-08-24 17:08:05
合計ジャッジ時間 20,225 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 277 ms
52,964 KB
testcase_01 AC 278 ms
52,792 KB
testcase_02 AC 279 ms
53,160 KB
testcase_03 WA -
testcase_04 AC 279 ms
52,876 KB
testcase_05 WA -
testcase_06 AC 276 ms
52,844 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 281 ms
52,960 KB
testcase_10 WA -
testcase_11 AC 280 ms
52,900 KB
testcase_12 AC 278 ms
52,936 KB
testcase_13 WA -
testcase_14 AC 279 ms
52,800 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 281 ms
52,972 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args: Array<String>){
         ^

ソースコード

diff #

fun main(args: Array<String>){
    var (a,b)=readLine()!!.split(" ").map(String::toInt)
	val c = a / b 
	if (c % 2  == 0) {
        println(0)
    } else {
        println((c / 2) * b)
    }
}
0