提出 #17461503


ソースコード 拡げる

import sys
import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N = int(read())

x = np.arange(1, 1 << 20)
div = x[N % x == 0]
div = np.union1d(div, N // div)

print(*div)

提出情報

提出日時
問題 C - Cream puff
ユーザ maspy
言語 Python (3.8.2)
得点 300
コード長 257 Byte
結果 AC
実行時間 131 ms
メモリ 44220 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 300 / 300
結果
AC × 3
AC × 26
セット名 テストケース
Sample sample_01.txt, sample_02.txt, sample_03.txt
All hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, hand_06.txt, hand_07.txt, hand_08.txt, hand_09.txt, hand_10.txt, hand_11.txt, hand_12.txt, hand_13.txt, hand_14.txt, hand_15.txt, hand_88.txt, hand_99.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, sample_01.txt, sample_02.txt, sample_03.txt
ケース名 結果 実行時間 メモリ
hand_01.txt AC 131 ms 43800 KiB
hand_02.txt AC 126 ms 44124 KiB
hand_03.txt AC 124 ms 43900 KiB
hand_04.txt AC 122 ms 44056 KiB
hand_05.txt AC 122 ms 44172 KiB
hand_06.txt AC 121 ms 43952 KiB
hand_07.txt AC 122 ms 44048 KiB
hand_08.txt AC 124 ms 43940 KiB
hand_09.txt AC 126 ms 43896 KiB
hand_10.txt AC 127 ms 44016 KiB
hand_11.txt AC 130 ms 43824 KiB
hand_12.txt AC 124 ms 44188 KiB
hand_13.txt AC 125 ms 43976 KiB
hand_14.txt AC 123 ms 44040 KiB
hand_15.txt AC 121 ms 44124 KiB
hand_88.txt AC 127 ms 44020 KiB
hand_99.txt AC 122 ms 44020 KiB
random_01.txt AC 123 ms 44056 KiB
random_02.txt AC 122 ms 44128 KiB
random_03.txt AC 120 ms 43900 KiB
random_04.txt AC 124 ms 44060 KiB
random_05.txt AC 122 ms 44220 KiB
random_06.txt AC 123 ms 44020 KiB
sample_01.txt AC 120 ms 43880 KiB
sample_02.txt AC 121 ms 44044 KiB
sample_03.txt AC 121 ms 44184 KiB