# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
13897 | 2015-04-17T00:37:56 Z | temp | 카드 (GA8_card) | C++ | 0 ms | 0 KB |
main(n,a,m){m=-1;int s=0; scanf("%d",&n);while(n--){ scanf("%d",&a);if(m<a)m=a;s+=a; }printf("%d",s-m);}