結果

問題 No.1256 連続整数列
ユーザー rutilicusrutilicus
提出日時 2021-02-13 22:06:41
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 231 bytes
コンパイル時間 11,361 ms
コンパイル使用メモリ 406,632 KB
実行使用メモリ 52,544 KB
最終ジャッジ日時 2023-09-28 07:51:09
合計ジャッジ時間 20,841 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 272 ms
50,332 KB
testcase_05 WA -
testcase_06 AC 268 ms
50,196 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 270 ms
50,336 KB
testcase_10 AC 267 ms
50,088 KB
testcase_11 AC 270 ms
50,224 KB
testcase_12 AC 270 ms
50,204 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 268 ms
50,368 KB
testcase_16 WA -
testcase_17 AC 271 ms
50,512 KB
testcase_18 WA -
testcase_19 AC 270 ms
50,324 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 272 ms
50,444 KB
testcase_23 AC 267 ms
50,496 KB
testcase_24 WA -
testcase_25 AC 270 ms
50,296 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fun main() {
    val builder = StringBuilder()

    val a = readInputLine().toInt()

    builder.appendLine(if (a % 3 == 0) "YES" else "NO")

    print(builder.toString())
}

fun readInputLine(): String {
    return readLine()!!
}
0