# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|
13893 | | kipa00 | 카드 (GA8_card) | C++98 | | 0 ms | 1084 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.
#include <cstdio>
int main() {
int max = -1, s = 0;
int n;
scanf("%d", &n);
while (n--) {
int temp;
scanf("%d", &temp);
s += temp;
if (max < temp) {
max = temp;
}
}
printf("%d\n", s - max);
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |