結果

問題 No.202 1円玉投げ
ユーザー ohara_n
提出日時 2020-01-21 20:22:39
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 346 bytes
コンパイル時間 387 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 22,272 KB
最終ジャッジ日時 2024-12-22 11:47:38
合計ジャッジ時間 148,703 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 8 WA * 7 TLE * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
s = list(map(int,input().split()))
floor = []
floor.append(s)
for _ in range(n-1):
    x,y = map(int,input().split())
    flag = False
    for item in floor:
        if (x-item[0])**2 +(y-item[1])**2 >=400:
            flag = True
        else:
            break
    if flag == True:
        floor.append([x,y])
print(len(floor))
0