結果
| 問題 | No.275 中央値を求めよ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-16 08:58:54 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 169 bytes |
| 記録 | |
| コンパイル時間 | 225 ms |
| コンパイル使用メモリ | 12,032 KB |
| 実行使用メモリ | 11,648 KB |
| 最終ジャッジ日時 | 2025-11-16 08:58:58 |
| 合計ジャッジ時間 | 3,687 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 RE * 2 |
| other | WA * 17 RE * 21 |
ソースコード
N = int(input()) num = list(map(int, input().split())) if (N % 2 == 0): half = N / 2 CH =(num[half] +num[half+1])/2 else: half = (N // 2) +1 CH = num[half] print(CH)