Submission #7362

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