結果
| 問題 |
No.202 1円玉投げ
|
| コンテスト | |
| ユーザー |
ohara_n
|
| 提出日時 | 2020-01-21 20:24:56 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 346 bytes |
| コンパイル時間 | 305 ms |
| コンパイル使用メモリ | 82,264 KB |
| 実行使用メモリ | 156,296 KB |
| 最終ジャッジ日時 | 2024-12-22 11:49:54 |
| 合計ジャッジ時間 | 128,688 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 8 WA * 11 TLE * 19 |
ソースコード
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