結果
| 問題 | 
                            No.1137 Circles
                             | 
                    
| ユーザー | 
                             zaki_chemtech
                         | 
                    
| 提出日時 | 2020-07-30 16:09:10 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 275 bytes | 
| コンパイル時間 | 311 ms | 
| コンパイル使用メモリ | 82,104 KB | 
| 実行使用メモリ | 68,456 KB | 
| 最終ジャッジ日時 | 2024-07-04 02:53:56 | 
| 合計ジャッジ時間 | 2,411 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 1 WA * 1 RE * 20 | 
ソースコード
n=int(input())
x_online_file = [0]*(200005)
for _ in range(n):
    x, r = (int(a) for a in input().split())
    x_online_file[x-r+100000] += 1
    x_online_file[x+r+1+100000] -= 1
for i in range(1,200005):
    x_online_file[i] += x_online_file[i-1]
print(max(x_online_file))
            
            
            
        
            
zaki_chemtech