結果
| 問題 |
No.8109 GCD between Permutations
|
| コンテスト | |
| ユーザー |
とりゐ
|
| 提出日時 | 2024-04-01 23:20:02 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
QLE
|
| 実行時間 | - |
| コード長 | 178 bytes |
| コンパイル時間 | 359 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 93,920 KB |
| 平均クエリ数 | 1013.72 |
| 最終ジャッジ日時 | 2024-09-30 22:45:38 |
| 合計ジャッジ時間 | 5,208 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | QLE * 1 |
| other | AC * 1 QLE * 27 |
ソースコード
n=int(input())
for _ in range(3*n):
print('?',1,1,flush=True)
val=int(input())
if n==1:
print('! 1 1',flush=True)
elif n==2 and val==2:
print('! 2 1 2 1')
else:
exit()
とりゐ