Submission #7370

#TimeUsernameProblemLanguageResultExecution timeMemory
7370ansol1111카드 (GA8_card)C++98
100 / 100
0 ms1088 KiB
#include<stdio.h> int n, a, sum, max; int main() { int i; scanf("%d",&n); for(i=1 ; i<=n ; i++) { scanf("%d ",&a); sum+=a; if(a>max) max=a; } sum-=max; printf("%d\n",sum); 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...