結果

問題 No.3372 Suitable Constraint
コンテスト
ユーザー Loc Nguyen Hoang Trong
提出日時 2026-02-11 02:12:19
言語 C++17
(gcc 15.2.0 + boost 1.89.0)
結果
WA  
実行時間 -
コード長 406 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 1,967 ms
コンパイル使用メモリ 210,736 KB
実行使用メモリ 7,976 KB
最終ジャッジ日時 2026-02-11 02:12:25
合計ジャッジ時間 5,594 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other AC * 1 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <bits/stdc++.h>
using namespace std;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);

    int T;
    cin >> T;
    while (T--) {
        int N;
        cin >> N;

        long long ans = LLONG_MAX;
        for (int i = 0; i < N; i++) {
            long long x;
            cin >> x;
            ans = min(ans, x);
        }

        cout << ans << '\n';
    }
    return 0;
}
0