#include <bits/stdc++.h> using namespace std; int a[15], cnt;
bool cmp(int x, int y) { return x < y; }
int main() { for (int i = 1; i <= 9; i++) { cin >> a[i]; } sort(a + 1, a + 9 + 1, cmp); if(a[1]==0) cout<<1; else cout<<a[1]; return 0; }
脖子右拧
使用您的 蒙青创OJ 通用账户