Submission #7595

#TimeUsernameProblemLanguageResultExecution timeMemory
7595jihoon카드 (GA8_card)C++98
100 / 100
0 ms1088 KiB
#include<cstdio> #include<algorithm> using namespace std; int mx=0,n,sum=0; int main(){ int i,ia; scanf("%d",&n); for(i=0;i<n;i++){ scanf("%d",&ia); mx=max(mx,ia); sum+=ia; } printf("%d",sum-mx); }
#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...