Submission #7326

#TimeUsernameProblemLanguageResultExecution timeMemory
7326paulsohn카드 (GA8_card)C11
100 / 100
0 ms1088 KiB
#include <stdio.h> int n, c, max=0, sum=0; int main(void) { int i; scanf("%d", &n); for(i=0;i<n;++i){ scanf("%d", &c); if(max<c) max=c; sum+=c; } printf("%d\n", sum-max); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...