結果
問題 | No.2124 Guess the Permutation |
ユーザー | ytft |
提出日時 | 2022-11-24 17:55:53 |
言語 | PyPy3 (7.3.13) |
結果 |
RE
|
実行時間 | - |
コード長 | 200 bytes |
コンパイル時間 | 349 ms |
コンパイル使用メモリ | 87,092 KB |
実行使用メモリ | 95,660 KB |
平均クエリ数 | 1.00 |
最終ジャッジ日時 | 2023-07-24 12:32:10 |
合計ジャッジ時間 | 3,817 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge14 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | RE | - |
testcase_09 | RE | - |
ソースコード
import sys input=lambda:sys.stdin.readline().rstrip() N=int(input()) A=[0 for i in range(N)] for i in range(1,N): print('?',i+1,i+1,flush=True) A[i]=int(input()) A[0]=N*(N+1)//2-sum(A) print('!',*A)