Submission #16787

#TimeUsernameProblemLanguageResultExecution timeMemory
16787kdh9949카드 (GA8_card)C++98
100 / 100
0 ms1084 KiB
#include<stdio.h> int k,m,n,s; int main() { scanf("%d",&n); for(int i=0;i<n;i++){ scanf("%d",&k); m=m<k?k:m; s+=k; } printf("%d",s-m); }
#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...