Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138592 李昱龙 13求n个数的最小值 C++ Runtime Error 0 MS 256 KB 237 2025-11-28 22:16:17

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n; scanf("%d",&n); int f,u; scanf("%d",&f); for(int i = 1;i<n;i++){ scanf("%d",u); if(u<f){ u=f; } } printf("%d",u); return 0; }


Run Info:

Runtime Error:Segmentation fault