結果
| 問題 | No.202 1円玉投げ |
| コンテスト | |
| ユーザー |
ohara_n
|
| 提出日時 | 2020-01-21 20:22:39 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
TLE
不安定
|
| 実行時間 | - |
| コード長 | 346 bytes |
| 記録 | |
| コンパイル時間 | 54 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 12,160 KB |
| 最終ジャッジ日時 | 2026-10-05 23:51:35 |
| 合計ジャッジ時間 | 17,135 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | -- * 3 |
| other | TLE * 1 -- * 37 |
ソースコード
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))
ohara_n