Submission #13893

#TimeUsernameProblemLanguageResultExecution timeMemory
13893kipa00카드 (GA8_card)C++98
100 / 100
0 ms1084 KiB
#include <cstdio> int main() { int max = -1, s = 0; int n; scanf("%d", &n); while (n--) { int temp; scanf("%d", &temp); s += temp; if (max < temp) { max = temp; } } printf("%d\n", s - max); 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...