結果

問題 No.1256 連続整数列
ユーザー donutholedonuthole
提出日時 2020-10-16 22:21:21
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 634 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 10,696 KB
実行使用メモリ 11,032 KB
最終ジャッジ日時 2023-09-28 07:00:19
合計ジャッジ時間 2,167 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 32 ms
10,952 KB
testcase_05 WA -
testcase_06 AC 32 ms
10,900 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 33 ms
10,900 KB
testcase_10 AC 33 ms
10,960 KB
testcase_11 AC 33 ms
10,868 KB
testcase_12 AC 32 ms
10,728 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 32 ms
10,916 KB
testcase_16 WA -
testcase_17 AC 33 ms
10,828 KB
testcase_18 WA -
testcase_19 AC 32 ms
10,780 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 33 ms
10,900 KB
testcase_23 AC 32 ms
11,032 KB
testcase_24 WA -
testcase_25 AC 33 ms
10,956 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import typing
import sys

# import re
import math
import collections
# import decimal
import bisect
import itertools
import fractions
# import functools
import copy
import heapq
import decimal
# import statistics
import queue
# import numpy as np

# sys.setrecursionlimit(10000001)
INF = 10 ** 20
MOD = 10 ** 9 + 7
# MOD = 998244353


def ni(): return int(sys.stdin.buffer.readline())
def ns(): return map(int, sys.stdin.buffer.readline().split())
def na(): return list(map(int, sys.stdin.buffer.readline().split()))


# ===CODE===

def main():
    a = ni()
    print("YES" if a%3==0 else "NO")

if __name__ == '__main__':
    main()
0