結果
| 問題 | No.2815 Smaller than all |
| コンテスト | |
| ユーザー |
risujiroh
|
| 提出日時 | 2024-07-19 23:18:25 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 330 bytes |
| 記録 | |
| コンパイル時間 | 1,932 ms |
| コンパイル使用メモリ | 337,180 KB |
| 実行使用メモリ | 345,148 KB |
| 最終ジャッジ日時 | 2026-04-02 19:01:45 |
| 合計ジャッジ時間 | 3,310 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 30 WA * 3 |
ソースコード
#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();
}
risujiroh