結果
問題 | No.1137 Circles |
ユーザー |
|
提出日時 | 2024-10-04 18:16:24 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 209 bytes |
コンパイル時間 | 579 ms |
コンパイル使用メモリ | 81,996 KB |
実行使用メモリ | 79,720 KB |
最終ジャッジ日時 | 2024-10-04 18:16:29 |
合計ジャッジ時間 | 4,695 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 17 WA * 5 |
ソースコード
BASE = 2*10**5 N = int(input()) A = [0]*(2*BASE+2) for _ in range(N): x,r = map(int,input().split()) A[x+BASE-r] += 1 A[x+BASE+r+1] -= 1 for i in range(1,2*BASE+2): A[i] += A[i-1] print(max(A))