9 solutions

  • 0
    @ 2024-11-23 19:43:27

    #include <stdio.h> int main() { int n,i; int str[10000]; scanf("%d",&n); for(i=0;i<n;i++) { scanf("%d ",&str[i]); } … { if(str[i]<min) min=str[i]; } printf("%d %d",min,max); return 0; }

    Information

    ID
    29
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    7
    Tags
    # Submissions
    7762
    Accepted
    1877
    Uploaded By