結果

問題 No.1198 お菓子配り-1
ユーザー yudedakoyudedako
提出日時 2020-08-29 13:59:50
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 100 bytes
コンパイル時間 11,364 ms
コンパイル使用メモリ 420,964 KB
実行使用メモリ 51,376 KB
最終ジャッジ日時 2024-04-26 17:05:23
合計ジャッジ時間 17,787 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 287 ms
51,136 KB
testcase_01 AC 283 ms
51,376 KB
testcase_02 AC 283 ms
51,152 KB
testcase_03 AC 287 ms
51,140 KB
testcase_04 AC 288 ms
51,164 KB
testcase_05 AC 291 ms
51,072 KB
testcase_06 AC 287 ms
50,960 KB
testcase_07 AC 283 ms
51,328 KB
testcase_08 AC 283 ms
51,060 KB
testcase_09 AC 282 ms
51,200 KB
testcase_10 AC 282 ms
51,204 KB
testcase_11 AC 283 ms
51,144 KB
testcase_12 AC 286 ms
51,240 KB
testcase_13 AC 284 ms
51,056 KB
testcase_14 AC 292 ms
51,088 KB
testcase_15 AC 291 ms
51,112 KB
testcase_16 WA -
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #


fun main() {
    val n = readLine()!!.takeLast(2).toInt()
    println(if (n % 4 == 2) -1 else 1)
}
0