Submission #7601

#TimeUsernameProblemLanguageResultExecution timeMemory
7601gs13031카드 (GA8_card)C++98
100 / 100
0 ms1100 KiB
#include<stdio.h> int a[3010], s; int main() { int i, n, ma=-2147483648; scanf("%d", &n); for(i=1; i<=n; ++i) { scanf("%d", &a[i]); s+=a[i]; ma=ma>a[i]?ma:a[i]; } printf("%d", s-ma); 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...