結果
| 問題 |
No.224 文字列変更(easy)
|
| コンテスト | |
| ユーザー |
JunOnuma
|
| 提出日時 | 2017-06-12 16:26:45 |
| 言語 | Python2 (2.7.18) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 137 bytes |
| コンパイル時間 | 76 ms |
| コンパイル使用メモリ | 6,940 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-24 16:45:45 |
| 合計ジャッジ時間 | 956 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 22 |
ソースコード
n = int(raw_input())
l = sorted(map(int, raw_input().split()))
if n % 2 == 0:
print (l[n/2] + l[n/2-1]) / 2.0
else:
print l[n/2]
JunOnuma