Submission #7575

#TimeUsernameProblemLanguageResultExecution timeMemory
7575dohyun0324카드 (GA8_card)C++98
100 / 100
0 ms1096 KiB
#include<stdio.h> int n,a[2500],i,big,sum; int main() { int i; scanf("%d",&n); for(i=1;i<=n;i++) { scanf("%d",&a[i]); if(big<a[i]) big=a[i]; sum+=a[i]; } printf("%d",sum-big); 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...