結果
問題 |
No.2242 Cities and Teleporters
|
ユーザー |
![]() |
提出日時 | 2023-03-08 06:38:21 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 371 bytes |
コンパイル時間 | 214 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 132,472 KB |
最終ジャッジ日時 | 2024-09-18 03:26:40 |
合計ジャッジ時間 | 7,948 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 26 |
ソースコード
n = int(input()) assert 2 <= n <= 2 * 10 ** 5 h = list(map(int,input().split())) for i in range(n): assert 1 <= h[i] <= 10 ** 9 t = list(map(int,input().split())) for i in range(n): assert 1 <= t[i] <= 10 ** 9 q = int(input()) assert 1 <= q <= 2 * 10 ** 5 for i in range(q): a, b = map(int,input().split()) assert 1 <= a <= n assert 1 <= b <= n assert a != b