結果
問題 |
No.2815 Smaller than all
|
ユーザー |
![]() |
提出日時 | 2024-07-19 23:18:25 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 330 bytes |
コンパイル時間 | 3,265 ms |
コンパイル使用メモリ | 250,724 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-20 00:08:08 |
合計ジャッジ時間 | 4,919 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 30 WA * 1 |
ソースコード
#include <bits/stdc++.h> using Int = int64_t; void Solve() { Int n; std::cin >> n; std::vector<Int> a(n); for (Int i = 0; i < n; ++i) { std::cin >> a[i]; } std::cout << std::ranges::count(a, std::ranges::min(a)) << '\n'; } int main() { std::ios::sync_with_stdio(false); std::cin.tie(nullptr); Solve(); }