Submission #17461503


Source Code Expand

Copy
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)

Submission Info

Submission Time
Task C - Cream puff
User maspy
Language Python (3.8.2)
Score 300
Code Size 257 Byte
Status
Exec Time 131 ms
Memory 44220 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 300 / 300
Status
× 3
× 26
Set Name Test Cases
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
Case Name Status Exec Time Memory
hand_01.txt 131 ms 43800 KB
hand_02.txt 126 ms 44124 KB
hand_03.txt 124 ms 43900 KB
hand_04.txt 122 ms 44056 KB
hand_05.txt 122 ms 44172 KB
hand_06.txt 121 ms 43952 KB
hand_07.txt 122 ms 44048 KB
hand_08.txt 124 ms 43940 KB
hand_09.txt 126 ms 43896 KB
hand_10.txt 127 ms 44016 KB
hand_11.txt 130 ms 43824 KB
hand_12.txt 124 ms 44188 KB
hand_13.txt 125 ms 43976 KB
hand_14.txt 123 ms 44040 KB
hand_15.txt 121 ms 44124 KB
hand_88.txt 127 ms 44020 KB
hand_99.txt 122 ms 44020 KB
random_01.txt 123 ms 44056 KB
random_02.txt 122 ms 44128 KB
random_03.txt 120 ms 43900 KB
random_04.txt 124 ms 44060 KB
random_05.txt 122 ms 44220 KB
random_06.txt 123 ms 44020 KB
sample_01.txt 120 ms 43880 KB
sample_02.txt 121 ms 44044 KB
sample_03.txt 121 ms 44184 KB