Submission #8190

#TimeUsernameProblemLanguageResultExecution timeMemory
8190tncks0121카드 (GA8_card)C++98
100 / 100
240 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); for(int x = 40000000; x > 0; x = (x-1) % 40000000); 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...