Submission #7669

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