'commit'
This commit is contained in:
13
TangDou/LuoGuBook/P5718.cpp
Normal file
13
TangDou/LuoGuBook/P5718.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
const int INF = 0x3f3f3f3f;
|
||||
int n, x, Min = INF;
|
||||
|
||||
int main() {
|
||||
cin >> n;
|
||||
for (int i = 1; i <= n; i++)
|
||||
cin >> x, Min = min(x, Min);
|
||||
cout << Min << endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user