結果
| 問題 |
No.2124 Guess the Permutation
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-11-21 15:48:35 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 378 bytes |
| コンパイル時間 | 97 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 27,736 KB |
| 平均クエリ数 | 2.00 |
| 最終ジャッジ日時 | 2024-09-22 07:58:38 |
| 合計ジャッジ時間 | 1,433 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | AC * 1 WA * 8 |
ソースコード
def main():
N = int(input())
sums = []
# for upper in range(1, 2):
# print(f"? 1 {upper}")
# sum_ = int(input())
# sums.append(sum_)
print(f"? 1 {2}")
sum_ = int(input())
sums.append(sum_)
# print(f"? 1 {1}", flush=True)
# sums.append(int(input()))
print("! 1 2 3", flush=True)
if __name__ == "__main__":
main()