Submission #7522

#TimeUsernameProblemLanguageResultExecution timeMemory
7522tncks0121카드 (GA8_card)C++98
100 / 100
0 ms1088 KiB
#include <stdio.h> int main() { int n, s = 0, m = -1; scanf("%d", &n); while(n--) { int x; scanf("%d", &x); s += x; if(x > m) m = x; } printf("%d\n", s-m); 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...