# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
16786 | 2015-09-29T04:39:23 Z | kdh9949 | 카드 (GA8_card) | C++ | 0 ms | 0 KB |
#include<stdio.h> int k,m,n,sum; int main() { scanf("%d",&n); for(int i=0;i<n;i++){ scanf("%d",&k); m=m<k?k:m; s+=k; } printf("%d",s-m); }