第一题: #include <iostream> #include <stdlib.h> #include <vector> using namespace std; int main() { int n; cin >> n; long long sum = 0; vector<long long> v(n, 0); for (int i = 0; i < n; i++) { cin >> v[i]; } long long minvalue = v[0]; for (int i = 0; ...