This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <stdio.h>
int N, Ans, Max;
int main(void)
{
int i, temp;
scanf("%d",&N);
for(i=1 ; i<=N ; i++)
{
scanf("%d",&temp);
Ans+=temp;
if(Max<temp)
Max=temp;
}
Ans-=Max;
printf("%d",Ans);
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |