結果
問題 | No.476 正しくない平均 |
ユーザー | pekempey |
提出日時 | 2017-01-27 22:21:36 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 65 ms / 2,000 ms |
コード長 | 218 bytes |
コンパイル時間 | 16,382 ms |
コンパイル使用メモリ | 184,272 KB |
実行使用メモリ | 29,436 KB |
最終ジャッジ日時 | 2024-12-24 09:36:26 |
合計ジャッジ時間 | 19,100 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 26 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (384 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
open System let n, a = Console.ReadLine().Split() |> Array.map int64 |> fun a -> a.[0], a.[1] let x = Console.ReadLine().Split() |> Array.map int64 |> Array.sum Console.WriteLine(if n * a = x then "YES" else "NO")