結果
| 問題 |
No.1137 Circles
|
| ユーザー |
|
| 提出日時 | 2022-10-20 17:56:19 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 303 bytes |
| コンパイル時間 | 85 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 57,080 KB |
| 最終ジャッジ日時 | 2024-06-30 09:59:40 |
| 合計ジャッジ時間 | 6,699 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 1 TLE * 1 -- * 20 |
ソースコード
import numpy as np
def main():
N = int(input())
grids = np.array([0 for _ in range(400001)])
for _ in range(N):
center, radius = map(int, input().split())
grids[200000+center-radius:200000+center+radius] += 1
print(max(grids))
if __name__ == "__main__":
main()