Submission #7489

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