結果
問題 |
No.3216 Slightly Strong Fairies
|
ユーザー |
![]() |
提出日時 | 2025-08-01 21:24:35 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 246 bytes |
コンパイル時間 | 1,791 ms |
コンパイル使用メモリ | 87,944 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-08-01 21:24:39 |
合計ジャッジ時間 | 2,649 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
ソースコード
import std.stdio, std.algorithm, std.array, std.conv, std.typecons; alias Set = bool[3 * 10^^5]; void main() { readln; auto A = readln.split.to!(int[]); auto L = A.reduce!"a+b" / A.length; A.filter!(x => x >= L+100).array.length.writeln; }