結果
| 問題 | No.3184 Make Same |
| コンテスト | |
| ユーザー |
sasa8uyauya
|
| 提出日時 | 2025-06-20 23:26:58 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 135 ms / 2,000 ms |
| + 374µs | |
| コード長 | 206 bytes |
| 記録 | |
| コンパイル時間 | 255 ms |
| コンパイル使用メモリ | 95,468 KB |
| 実行使用メモリ | 138,228 KB |
| 最終ジャッジ日時 | 2026-07-12 16:09:28 |
| 合計ジャッジ時間 | 9,602 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 24 |
ソースコード
n=int(input()) a=list(map(int,input().split())) print(30) for i in reversed(range(30)): l=0 while l<n and (a[l]>>i)&1==0: l+=1 if l==0: l=n print(1,l,1<<i) for j in range(l): a[j]+=1<<i a.sort()
sasa8uyauya