結果
| 問題 |
No.1137 Circles
|
| ユーザー |
|
| 提出日時 | 2022-10-20 17:43:39 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 323 bytes |
| コンパイル時間 | 174 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 59,308 KB |
| 最終ジャッジ日時 | 2024-06-30 09:52:03 |
| 合計ジャッジ時間 | 5,244 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 TLE * 1 -- * 20 |
ソースコード
from collections import defaultdict
def main():
N = int(input())
grid = defaultdict(int)
for _ in range(N):
center, radius = map(int, input().split())
for x in range(center-radius, center+radius):
grid[x] += 1
print(max(grid.values()))
if __name__ == "__main__":
main()