Submission #10373862


Source Code Expand

Copy
s,t=input().split()
a,b=map(int,input().split())
u=input()
if u==s:
    a=a-1
if u==t:
    b=b-1
print(a,b)

Submission Info

Submission Time
Task A - Remaining Balls
User mankiw54
Language Python3 (3.4.3)
Score 100
Code Size 116 Byte
Status
Exec Time 17 ms
Memory 2940 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt
All 100 / 100 hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, hand_06.txt, hand_07.txt, hand_08.txt, hand_09.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
hand_01.txt 17 ms 2940 KB
hand_02.txt 17 ms 2940 KB
hand_03.txt 17 ms 2940 KB
hand_04.txt 17 ms 2940 KB
hand_05.txt 17 ms 2940 KB
hand_06.txt 16 ms 2940 KB
hand_07.txt 17 ms 2940 KB
hand_08.txt 17 ms 2940 KB
hand_09.txt 16 ms 2940 KB
sample_01.txt 17 ms 2940 KB
sample_02.txt 17 ms 2940 KB