結果
| 問題 | No.3598 Queen vs. King |
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2026-07-30 01:37:08 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 572 bytes |
| 記録 | |
| コンパイル時間 | 296 ms |
| コンパイル使用メモリ | 21,280 KB |
| 実行使用メモリ | 20,604 KB |
| 平均クエリ数 | 3.67 |
| 最終ジャッジ日時 | 2026-07-30 01:37:15 |
| 合計ジャッジ時間 | 4,313 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 RE * 1 |
| other | RE * 10 |
ソースコード
import sys
input = sys.stdin.readline
T=int(input())
for tests in range(T):
H,W=list(map(int,input().split()))
x,y=list(map(int,input().split()))
if x==0 and y==0:
continue
print(x-1,1,flush=True)
a=x-1
b=1
x,y=list(map(int,input().split()))
if x==0 and y==0:
continue
print(a,y,flush=True)
b=y
x,y=list(map(int,input().split()))
if x==0 and y==0:
continue
print(x+1,y,flush=True)
x,y=list(map(int,input().split()))
if x==0 and y==0:
continue
titia