QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#726583 | #2539. Announcements | maspy | RE | 0ms | 0kb | Python3 | 473b | 2024-11-09 03:13:33 | 2024-11-09 03:13:35 |
Judging History
answer
import sys
from heapq import *
import numpy as np
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
def from_read(dtype=np.int64):
return np.fromstring(read().decode(), dtype=dtype, sep=' ')
def from_readline(dtype=np.int64):
return np.fromstring(readline().decode(), dtype=dtype, sep=' ')
N = int(readline())
S = from_readline()
T = int(readline())
S //= T
print(len(np.unique(S)))
詳細信息
Test #1:
score: 0
Dangerous Syscalls
input:
3 1 2 5 3