Submission #1971823


Source Code Expand

w, a, b = map(int, input().split())
if b >=  a+w:
   print(b-a-w)
elif b+w<= a:
   print(a-b-w)
else:
   print(0)

Submission Info

Submission Time
Task B - Training Camp
User longhill
Language Python (3.4.3)
Score 0
Code Size 119 Byte
Status RE
Exec Time 17 ms
Memory 2940 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 200
Status
RE × 3
RE × 7
Set Name Test Cases
Sample 00_example_01.txt, 00_example_02.txt, 00_example_03.txt
All 00_example_01.txt, 00_example_02.txt, 00_example_03.txt, 01.txt, 02.txt, 03.txt, 04.txt
Case Name Status Exec Time Memory
00_example_01.txt RE 17 ms 2936 KB
00_example_02.txt RE 17 ms 2940 KB
00_example_03.txt RE 17 ms 2940 KB
01.txt RE 17 ms 2940 KB
02.txt RE 17 ms 2940 KB
03.txt RE 17 ms 2940 KB
04.txt RE 17 ms 2940 KB