結果

問題 No.1708 Quality of Contest
ユーザー chineristAC
提出日時 2020-09-15 13:25:45
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 371 bytes
コンパイル時間 367 ms
コンパイル使用メモリ 82,228 KB
実行使用メモリ 106,108 KB
最終ジャッジ日時 2024-09-17 16:51:19
合計ジャッジ時間 4,262 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

input = sys.stdin.readline

N,M,X = map(int,input().split())
assert(1<=N<=2*10**5)
assert(1<=M<=2*10**5)
assert(0<=X<=10**7)

for i in range(N):
    v,g = map(int,input().split())
    assert(0<=v<=10**7)
    assert(1<=g<=M)

K = int(input())
assert(1<=K<=2*10**5)
p = list(map(int,input().split()))
assert(len(p)==K)
assert(all(0<=p[i]<=N for i in range(K)))
0