QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#726583#2539. AnnouncementsmaspyRE 0ms0kbPython3473b2024-11-09 03:13:332024-11-09 03:13:35

Judging History

This is the latest submission verdict.

  • [2024-11-09 03:13:35]
  • Judged
  • Verdict: RE
  • Time: 0ms
  • Memory: 0kb
  • [2024-11-09 03:13:33]
  • Submitted

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

output:


result: