結果
| 問題 | 
                            No.3184 Make Same
                             | 
                    
| コンテスト | |
| ユーザー | 
                             miztom
                         | 
                    
| 提出日時 | 2025-06-20 21:29:44 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 157 bytes | 
| コンパイル時間 | 161 ms | 
| コンパイル使用メモリ | 82,300 KB | 
| 実行使用メモリ | 121,116 KB | 
| 最終ジャッジ日時 | 2025-06-20 21:29:54 | 
| 合計ジャッジ時間 | 8,873 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 3 | 
| other | WA * 24 | 
ソースコード
n=int(input())
a=[*map(int,input().split())]
for i in range(30)[::-1]:
    l=1;r=0
    while r<n and a[r]&1<<i<1:a[r]|=1<<i;r+=1
    print(l,r,1<<i);a.sort()
            
            
            
        
            
miztom