Submission #3819264
Source Code Expand
import sys def solve(A, B, C): # Uncomment the following if you want to check the input. i = [A,B,C] if A == B and B == C: print(0) else: i.remove(max(A,B,C)) a,b=i[0],i[1] if a - b != 0: print(i[0]+i[1]+1) else: print(i[0]+1) def readQuestion(): ws = sys.stdin.readline().strip().split() A = int(ws[0]) B = int(ws[1]) C = int(ws[2]) return (A, B, C,) def main(): solve(*readQuestion()) # Uncomment before submission main()
Submission Info
Submission Time | |
---|---|
Task | A - Task Scheduling Problem |
User | floristkobayashi |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 557 Byte |
Status | WA |
Exec Time | 17 ms |
Memory | 3064 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01, sample_02, sample_03 |
All | 0_small_rand_0, 0_small_rand_1, 0_small_rand_2, 0_small_rand_3, 1_rand_0, 1_rand_1, 1_rand_2, 1_rand_3, 2_hand_0, 2_hand_1, sample_01, sample_02, sample_03 |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_small_rand_0 | WA | 17 ms | 3064 KB |
0_small_rand_1 | AC | 17 ms | 3064 KB |
0_small_rand_2 | WA | 17 ms | 3064 KB |
0_small_rand_3 | WA | 17 ms | 3064 KB |
1_rand_0 | WA | 17 ms | 3064 KB |
1_rand_1 | WA | 17 ms | 3064 KB |
1_rand_2 | WA | 17 ms | 3060 KB |
1_rand_3 | WA | 17 ms | 3064 KB |
2_hand_0 | AC | 17 ms | 3064 KB |
2_hand_1 | WA | 17 ms | 3064 KB |
sample_01 | AC | 17 ms | 3060 KB |
sample_02 | AC | 17 ms | 3064 KB |
sample_03 | AC | 17 ms | 3064 KB |