結果
| 問題 | No.1137 Circles |
| ユーザー |
|
| 提出日時 | 2024-10-04 18:30:20 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 86 ms / 2,000 ms |
| + 789µs | |
| コード長 | 217 bytes |
| 記録 | |
| コンパイル時間 | 78 ms |
| コンパイル使用メモリ | 64,960 KB |
| 実行使用メモリ | 66,172 KB |
| 最終ジャッジ日時 | 2026-10-21 03:14:25 |
| 合計ジャッジ時間 | 4,579 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
ソースコード
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))