結果

問題 No.1354 Sambo's Treasure
ユーザー KoD
提出日時 2021-01-15 18:53:32
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 430 bytes
コンパイル時間 121 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-11-29 13:14:34
合計ジャッジ時間 10,790 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 61
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M, L, K = map(int, input().split())

assert(1 <= N and N <= 2 * 100000)
assert(0 <= M and M <= min(N - 1, 100000))
assert(0 <= L and L <= min((N + 1) * (N + 1), 100))
assert(0 <= K and K <= 100000)

for _ in range(M):
    x, y = map(int, input().split())
    assert(0 < x and x < N)
    assert(0 < y and y < N)

for _ in range(L):
    x, y = map(int, input().split())
    assert(0 <= x and x <= N)
    assert(0 <= y and y <= N)
0