Submission #2865129


Source Code Expand

Copy
c1, _a = raw_input().split()
c2, _b = raw_input().split()
a = int(_a)
if c1 == 'W':
  a = -a
b = int(_b)
if c2 == 'W':
  b = -b
print abs(a - b)/15

Submission Info

Submission Time
Task A - 時差
User naoya_t
Language Python2 (2.7.6)
Score 100
Code Size 155 Byte
Status
Exec Time 11 ms
Memory 2568 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt
All 100 / 100 in01.txt, in02.txt, in03.txt, in04.txt, in05.txt, in06.txt, in07.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
in01.txt 11 ms 2568 KB
in02.txt 11 ms 2568 KB
in03.txt 11 ms 2568 KB
in04.txt 11 ms 2568 KB
in05.txt 11 ms 2568 KB
in06.txt 11 ms 2568 KB
in07.txt 11 ms 2568 KB
sample_01.txt 10 ms 2568 KB
sample_02.txt 11 ms 2568 KB