Submission #2459285
Source Code Expand
a,b,c = map(int,input().split()) n = int(input()) u = max(a,b,c) e = a+b+c-max(a,b,c) for i in range(n): u *= 2 print(e + u)
Submission Info
Submission Time | |
---|---|
Task | B - Maximum Sum |
User | tako0218 |
Language | Python (3.4.3) |
Score | 200 |
Code Size | 134 Byte |
Status | AC |
Exec Time | 17 ms |
Memory | 3068 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 200 / 200 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt |
All | in01.txt, in02.txt, in03.txt, in04.txt, sample_01.txt, sample_02.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
in01.txt | AC | 17 ms | 2940 KB |
in02.txt | AC | 17 ms | 3068 KB |
in03.txt | AC | 17 ms | 2940 KB |
in04.txt | AC | 17 ms | 2940 KB |
sample_01.txt | AC | 17 ms | 2940 KB |
sample_02.txt | AC | 17 ms | 2940 KB |