結果
| 問題 | No.471 直列回転機 | 
| コンテスト | |
| ユーザー |  maspy | 
| 提出日時 | 2020-03-06 17:28:40 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                RE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 567 bytes | 
| コンパイル時間 | 249 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 45,528 KB | 
| 平均クエリ数 | 4.00 | 
| 最終ジャッジ日時 | 2024-07-16 20:34:26 | 
| 合計ジャッジ時間 | 21,198 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | RE * 1 | 
| other | RE * 58 | 
ソースコード
#!/usr/bin/env python3
# %%
import sys
readline = sys.stdin.readline
# %%
M = int(readline())
XY = [tuple(map(int, readline().split()) for _ in range(M))]
# %%
def question(*args, offset='?'):
    if offset is None:
        print(*args, flush=True)
    else:
        print(offset, *args, flush=True)
    return readline()
# %%
a, b = map(int, question(0, 0).split())
c, d = map(int, question(1, 0).split())
e, f = map(int, question(0, 1).split())
c -= a
e -= a
d -= b
f -= b
print('!')
for x, y in XY:
    print(a + c * x + e * y, b + d * x + f * y, flush=True)
            
            
            
        