結果
問題 |
No.2828 Remainder Game
|
ユーザー |
|
提出日時 | 2024-08-02 23:44:38 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 277 bytes |
コンパイル時間 | 290 ms |
コンパイル使用メモリ | 82,228 KB |
実行使用メモリ | 77,048 KB |
平均クエリ数 | 21.00 |
最終ジャッジ日時 | 2024-08-02 23:44:43 |
合計ジャッジ時間 | 4,615 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 20 |
ソースコード
import sys input = sys.stdin.readline N = int(input()) ans = 0 for i in range(1, 11): M = 2**i K = M//2 R = [] for j in range(K): R.append(M-j-1) print(M, K, flush=True) print(*R, flush=True) C = int(input()) ans += 2**(i-1)*C print(ans)