Submission #17336912


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

A = np.array(read().split(), np.int64)[1:]

print(np.gcd.reduce(A))

Submission Info

Submission Time
Task B - MAX-=min
User maspy
Language Python (3.8.2)
Score 300
Code Size 213 Byte
Status
Exec Time 133 ms
Memory 33500 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 300 / 300
Status
× 2
× 24
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All hand_01.txt, hand_02.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, random_11.txt, random_12.txt, random_13.txt, random_14.txt, random_15.txt, random_16.txt, random_17.txt, random_18.txt, random_19.txt, random_20.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
hand_01.txt 133 ms 33096 KB
hand_02.txt 128 ms 33500 KB
random_01.txt 108 ms 26916 KB
random_02.txt 127 ms 33044 KB
random_03.txt 129 ms 33164 KB
random_04.txt 127 ms 33476 KB
random_05.txt 127 ms 33064 KB
random_06.txt 112 ms 27068 KB
random_07.txt 117 ms 28104 KB
random_08.txt 117 ms 29460 KB
random_09.txt 130 ms 32720 KB
random_10.txt 118 ms 29456 KB
random_11.txt 121 ms 30428 KB
random_12.txt 108 ms 27312 KB
random_13.txt 125 ms 32652 KB
random_14.txt 125 ms 31476 KB
random_15.txt 123 ms 30680 KB
random_16.txt 126 ms 31492 KB
random_17.txt 127 ms 32580 KB
random_18.txt 117 ms 29372 KB
random_19.txt 125 ms 32668 KB
random_20.txt 109 ms 27284 KB
sample_01.txt 110 ms 26916 KB
sample_02.txt 110 ms 26900 KB