結果

問題 No.2828 Remainder Game
ユーザー rin204
提出日時 2024-08-02 21:32:20
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 227 bytes
コンパイル時間 288 ms
コンパイル使用メモリ 82,352 KB
実行使用メモリ 83,460 KB
平均クエリ数 21.00
最終ジャッジ日時 2024-08-02 21:32:26
合計ジャッジ時間 5,114 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

ans = 0
for i in range(10):
    m = 1024
    k = m // 2
    A = [j for j in range(m) if j >> i & 1]
    print(m, k, flush=True)
    print(*A, flush=True)
    res = int(input())
    ans += res << i

print(ans)
0