結果

問題 No.1273 はじめのζ関数
ユーザー HAPPA
提出日時 2020-10-30 22:41:57
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 525 bytes
コンパイル時間 394 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-07-22 02:12:37
合計ジャッジ時間 2,505 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 39 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from math import floor

sys.setrecursionlimit(10 ** 7)
input = sys.stdin.readline
f_inf = float('inf')
mod = 10 ** 9 + 7


def resolve():
    x = int(input())
    if x >= 50:
        print(0)
        exit()

    res = [1906126035, 8126035, 999473, 355065, 153009, 70685, 33758, 16414, 8065, 3988, 1979, 985,
           491, 245, 122, 61, 30, 15, 7, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
           0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
    print(res[x])


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