結果
| 問題 | No.476 正しくない平均 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-01-27 22:26:21 |
| 言語 | F# (F# 10.0) |
| 結果 |
AC
|
| 実行時間 | 46 ms / 2,000 ms |
| コード長 | 316 bytes |
| 記録 | |
| コンパイル時間 | 11,104 ms |
| コンパイル使用メモリ | 207,032 KB |
| 実行使用メモリ | 32,528 KB |
| 最終ジャッジ日時 | 2026-05-30 06:05:50 |
| 合計ジャッジ時間 | 10,074 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (207 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
let () =
let _, a = stdin.ReadLine().Split()
|> Array.map decimal
|> fun arr -> arr.[0], arr.[1]
let avg = stdin.ReadLine().Split()
|> Array.map decimal
|> Array.average
a = avg
|> function | true -> "YES" | false -> "NO"
|> printfn "%s"