結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 299 ms
54,328 KB
testcase_05 AC 289 ms
54,316 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 / 2
    ans -= (ans / 2)
    ans--
    println(ans)
}

0