結果
問題 |
No.2124 Guess the Permutation
|
ユーザー |
![]() |
提出日時 | 2022-12-02 16:00:40 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 172 bytes |
コンパイル時間 | 429 ms |
コンパイル使用メモリ | 82,188 KB |
実行使用メモリ | 94,916 KB |
平均クエリ数 | 373.60 |
最終ジャッジ日時 | 2024-10-09 17:48:29 |
合計ジャッジ時間 | 2,642 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 1 |
other | RE * 9 |
ソースコード
N = int(input()) S = (N * (N+1))//2 ANS = [] for l in range(2,N+1): print('?',l,N) s = int(input()) ANS.append(S-s) S-=ANS[-1] ANS.append(S) print('!',*ANS)