結果
問題 |
No.3184 Make Same
|
ユーザー |
![]() |
提出日時 | 2025-06-20 23:25:59 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 196 bytes |
コンパイル時間 | 471 ms |
コンパイル使用メモリ | 82,368 KB |
実行使用メモリ | 102,764 KB |
最終ジャッジ日時 | 2025-06-20 23:26:10 |
合計ジャッジ時間 | 9,215 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 2 WA * 22 |
ソースコード
n=int(input()) a=list(map(int,input().split())) print(30) for i in 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()