# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
13897 | temp | 카드 (GA8_card) | C++98 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
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);}