結果

問題 No.1137 Circles
ユーザー zaki_chemtech
提出日時 2020-07-30 16:08:19
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
RE  
実行時間 -
コード長 275 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 247 ms
コンパイル使用メモリ 85,248 KB
実行使用メモリ 66,688 KB
最終ジャッジ日時 2026-03-25 11:15:04
合計ジャッジ時間 3,130 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 1 RE * 20
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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))
0