Submission #16260

#TimeUsernameProblemLanguageResultExecution timeMemory
16260eaststar카드 (GA8_card)C++14
100 / 100
0 ms1084 KiB
#include <stdio.h> int main(){ int i,n,c,s=0,mx=0; scanf("%d",&n); for(i=1;i<=n;++i){ scanf("%d",&c); s+=c; if(mx<c)mx=c; } printf("%d",s-mx); 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...