結果
問題 | No.476 正しくない平均 |
ユーザー |
![]() |
提出日時 | 2017-06-22 03:59:14 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 203 bytes |
コンパイル時間 | 3,181 ms |
コンパイル使用メモリ | 65,280 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-30 01:28:44 |
合計ジャッジ時間 | 4,054 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 26 |
ソースコード
import strutils, sequtils, math let input = stdin.readline.split.map(parseBiggestInt) (N, A) = (input[0], input[1]) echo(if N * A == stdin.readline.split.map(parseBiggestInt).sum: "YES" else: "NO")