結果
| 問題 | No.2828 Remainder Game |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-05-21 20:11:44 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 223 bytes |
| 記録 | |
| コンパイル時間 | 301 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 95,128 KB |
| 平均クエリ数 | 28.00 |
| 最終ジャッジ日時 | 2026-05-27 15:40:55 |
| 合計ジャッジ時間 | 4,457 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 20 |
ソースコード
N=int(input())
ans=0
for i in range(15):
M=2**(i+1)
R=[]
for j in range(M):
if j&(2**i)!=0:
R.append(j)
print(M,len(R))
print(*R)
cnt=int(input())
ans+=(2**i)*cnt
print(0,1)
print(ans)