Submission #7223

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