Submission #7524

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