結果

問題 No.84 悪の算盤
ユーザー バカらっくバカらっく
提出日時 2019-09-26 07:57:54
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 163 bytes
コンパイル時間 11,417 ms
コンパイル使用メモリ 431,732 KB
実行使用メモリ 54,416 KB
最終ジャッジ日時 2023-10-24 15:12:23
合計ジャッジ時間 15,391 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 288 ms
54,320 KB
testcase_01 AC 293 ms
54,320 KB
testcase_02 AC 294 ms
54,320 KB
testcase_03 AC 293 ms
54,312 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 287 ms
54,316 KB
testcase_08 AC 290 ms
54,312 KB
testcase_09 AC 290 ms
54,316 KB
testcase_10 AC 288 ms
54,316 KB
testcase_11 AC 287 ms
54,316 KB
testcase_12 AC 286 ms
54,320 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:2:10: warning: parameter 'args' is never used
fun main(args:Array<String>) {
         ^

ソースコード

diff #

fun main(args:Array<String>) {
    val (r,c) = readLine()!!.split(" ").map { it.toLong() }
    var ans = r * c
    ans -= (ans / 2)
    ans--
    println(ans)
}

0