結果
| 問題 |
No.716 距離
|
| コンテスト | |
| ユーザー |
猫吉
|
| 提出日時 | 2018-09-11 23:25:04 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 544 bytes |
| コンパイル時間 | 180 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-06-24 10:07:09 |
| 合計ジャッジ時間 | 3,095 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 40 |
ソースコード
numberOfPoint = 0
point_array = []
point = 0
maxpoint = 0
minipoint = 0
while numberOfPoint < 2 or numberOfPoint > 1000:
numberOfPoint = input("点の数を入力してください")
while point_array.count < numberOfPoint:
point = input("点の座標を入力してください")
if point >= pow(10, -5) and point <= pow(10, 5):
point_array.append(point)
for p in point_array:
if p > maxpoint:
maxpoint = p
for p in point_array:
if p < minipoint:
minipoint = p
print(maxpoint)
print(minipoint)
猫吉