题解

ykj21 大师球 2023-10-05 11:30:26 2023-10-05 11:30:39 11

无聊·入门题·60秒极限作答:

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

int main() {
    int n, a[210], min = 10000;
    cin >> n;
    for (int i = 1; i <= n; i++) {
        cin >> a[i];
        if (a[i] < min)
            min = a[i];
    }
    cout << min;
    return 0;
}
{{ vote && vote.total.up }}