Submission #3434711
Source Code Expand
a,b = map(int,input().split()) c = (a+b)/2 if (c-int(c))*10 >=5: print(int(c)+1) else: print(int(c))
Submission Info
Submission Time | |
---|---|
Task | A - Round Up the Mean |
User | Laplace |
Language | Python (3.4.3) |
Score | 100 |
Code Size | 111 Byte |
Status | AC |
Exec Time | 18 ms |
Memory | 2940 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_00.txt, 0_01.txt, 0_02.txt |
All | 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_00.txt | AC | 16 ms | 2940 KB |
0_01.txt | AC | 17 ms | 2940 KB |
0_02.txt | AC | 17 ms | 2940 KB |
1_00.txt | AC | 17 ms | 2940 KB |
1_01.txt | AC | 17 ms | 2940 KB |
1_02.txt | AC | 18 ms | 2940 KB |
1_03.txt | AC | 17 ms | 2940 KB |