結果
問題 |
No.2502 Optimization in the Dark
|
ユーザー |
![]() |
提出日時 | 2024-01-01 22:19:07 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 306 bytes |
コンパイル時間 | 191 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 27,848 KB |
平均クエリ数 | 3.21 |
最終ジャッジ日時 | 2024-09-27 17:34:14 |
合計ジャッジ時間 | 5,138 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 26 RE * 17 |
ソースコード
N=int(input()) print("?",1,2*N,2,2*N) S=input() if S=="Yes": i=2 else: i=1 j=3 print("?",i,2*N,j,2*N) S=input() if S=="Yes": i,j=j,i j,k=[a for a in range(3) if i!=a] print("?",j,2*N-1,k,2*N-1) if S=="No": j,k=k,j ans_lst=[] for i in range(N): ans_lst+=[i,k,i,j,j,k] print("!",*ans_lst)