結果

問題 No.537 ユーザーID
ユーザー sue_charosue_charo
提出日時 2017-06-30 22:29:23
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 742 bytes
コンパイル時間 244 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 11,776 KB
最終ジャッジ日時 2024-04-15 06:17:00
合計ジャッジ時間 3,670 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
11,520 KB
testcase_01 AC 33 ms
11,520 KB
testcase_02 AC 32 ms
11,520 KB
testcase_03 AC 31 ms
11,776 KB
testcase_04 AC 31 ms
11,520 KB
testcase_05 AC 31 ms
11,648 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 33 ms
11,648 KB
testcase_10 AC 34 ms
11,648 KB
testcase_11 AC 31 ms
11,648 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 102 ms
11,520 KB
testcase_19 AC 125 ms
11,648 KB
testcase_20 AC 116 ms
11,648 KB
testcase_21 AC 84 ms
11,520 KB
testcase_22 AC 124 ms
11,520 KB
testcase_23 AC 85 ms
11,520 KB
testcase_24 AC 49 ms
11,648 KB
testcase_25 AC 123 ms
11,648 KB
testcase_26 AC 126 ms
11,648 KB
testcase_27 AC 104 ms
11,648 KB
testcase_28 AC 69 ms
11,648 KB
testcase_29 AC 129 ms
11,648 KB
testcase_30 AC 112 ms
11,520 KB
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
import array, bisect, collections, copy, heapq, itertools, math, random, re, string, sys, time
sys.setrecursionlimit(10 ** 7)
INF = 10 ** 20
MOD = 10 ** 9 + 7


def II(): return int(input())
def ILI(): return list(map(int, input().split()))
def IAI(LINE): return [ILI() for __ in range(LINE)]
def IDI(): return {key: value for key, value in ILI()}


def read():
    N = II()
    return (N,)


def solve(N):
    n_sqrt = math.floor(math.sqrt(N))
    ans = 0
    for i in range(1, n_sqrt + 1):
        if N % i == 0:
            if i == N // i:
                ans += 1
            else:
                ans += 2
    return ans


def main():
    params = read()
    print(solve(*params))


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