結果
問題 | No.471 直列回転機 |
ユーザー |
![]() |
提出日時 | 2023-12-26 08:05:51 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 485 ms / 3,141 ms |
コード長 | 298 bytes |
コンパイル時間 | 142 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 34,136 KB |
平均クエリ数 | 19589.39 |
最終ジャッジ日時 | 2024-09-27 15:01:59 |
合計ジャッジ時間 | 17,780 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 58 |
ソースコード
M=int(input()) XY=[] for m in range(M): x,y=map(int,input().split()) XY.append((x,y)) print("?",0,0) a,b=map(int,input().split()) print("?",1,0) c,d=map(int,input().split()) print("?",0,1) e,f=map(int,input().split()) print("!") for x,y in XY: print(a+(c-a)*x+(e-a)*y,b+(d-b)*x+(f-b)*y)