結果

問題 No.1041 直線大学
ユーザー googol_S0
提出日時 2020-05-01 21:29:50
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 132 bytes
コンパイル時間 340 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-12-24 22:02:34
合計ジャッジ時間 2,357 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 13 WA * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=0,0
N=int(input())
L=[0]*201
M=[0]*201
for i in range(N):
  A,B=map(int,input().split())
  L[A-B]+=1
  M[A+B]+=1
print(max(L+M))
0