結果

問題 No.471 直列回転機
ユーザー vwxyzvwxyz
提出日時 2023-12-26 08:05:51
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 472 ms / 3,141 ms
コード長 298 bytes
コンパイル時間 129 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 32,768 KB
平均クエリ数 19589.39
最終ジャッジ日時 2023-12-26 08:06:09
合計ジャッジ時間 17,312 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
25,992 KB
testcase_01 AC 55 ms
25,992 KB
testcase_02 AC 54 ms
25,992 KB
testcase_03 AC 52 ms
25,992 KB
testcase_04 AC 53 ms
25,992 KB
testcase_05 AC 55 ms
26,112 KB
testcase_06 AC 54 ms
26,112 KB
testcase_07 AC 55 ms
26,112 KB
testcase_08 AC 122 ms
26,760 KB
testcase_09 AC 102 ms
26,888 KB
testcase_10 AC 78 ms
26,504 KB
testcase_11 AC 205 ms
28,672 KB
testcase_12 AC 368 ms
31,496 KB
testcase_13 AC 368 ms
31,752 KB
testcase_14 AC 394 ms
32,264 KB
testcase_15 AC 472 ms
32,768 KB
testcase_16 AC 55 ms
26,120 KB
testcase_17 AC 51 ms
25,984 KB
testcase_18 AC 51 ms
25,984 KB
testcase_19 AC 52 ms
25,984 KB
testcase_20 AC 403 ms
32,648 KB
testcase_21 AC 137 ms
27,144 KB
testcase_22 AC 377 ms
31,624 KB
testcase_23 AC 357 ms
31,752 KB
testcase_24 AC 226 ms
29,192 KB
testcase_25 AC 116 ms
26,888 KB
testcase_26 AC 397 ms
32,648 KB
testcase_27 AC 223 ms
28,936 KB
testcase_28 AC 255 ms
29,832 KB
testcase_29 AC 282 ms
30,088 KB
testcase_30 AC 152 ms
27,400 KB
testcase_31 AC 395 ms
32,520 KB
testcase_32 AC 360 ms
31,368 KB
testcase_33 AC 281 ms
30,344 KB
testcase_34 AC 394 ms
32,392 KB
testcase_35 AC 140 ms
27,272 KB
testcase_36 AC 199 ms
28,552 KB
testcase_37 AC 93 ms
26,760 KB
testcase_38 AC 124 ms
27,144 KB
testcase_39 AC 180 ms
27,912 KB
testcase_40 AC 303 ms
30,472 KB
testcase_41 AC 416 ms
32,648 KB
testcase_42 AC 281 ms
30,216 KB
testcase_43 AC 367 ms
32,136 KB
testcase_44 AC 94 ms
26,504 KB
testcase_45 AC 267 ms
30,216 KB
testcase_46 AC 314 ms
30,600 KB
testcase_47 AC 372 ms
32,392 KB
testcase_48 AC 329 ms
31,240 KB
testcase_49 AC 319 ms
31,240 KB
testcase_50 AC 372 ms
32,136 KB
testcase_51 AC 189 ms
28,424 KB
testcase_52 AC 57 ms
26,120 KB
testcase_53 AC 58 ms
26,120 KB
testcase_54 AC 58 ms
26,248 KB
testcase_55 AC 150 ms
27,400 KB
testcase_56 AC 133 ms
27,016 KB
testcase_57 AC 108 ms
26,632 KB
testcase_58 AC 82 ms
26,504 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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)
0