結果
問題 |
No.1137 Circles
|
ユーザー |
|
提出日時 | 2024-10-04 18:30:20 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 112 ms / 2,000 ms |
コード長 | 217 bytes |
コンパイル時間 | 156 ms |
コンパイル使用メモリ | 82,492 KB |
実行使用メモリ | 82,860 KB |
最終ジャッジ日時 | 2024-10-04 18:30:23 |
合計ジャッジ時間 | 2,841 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 |
ソースコード
BASE = 2*10**5 N = int(input()) A = [0]*(4*BASE+1) for _ in range(N): x,r = map(int,input().split()) A[2*(x+BASE-r)+1] += 1 A[2*(x+BASE+r)] -= 1 for i in range(1,4*BASE+1): A[i] += A[i-1] print(max(A))