Submission #523226


Source Code Expand

Copy
strs = raw_input().split()
ans = []
for s in strs:
	if s == 'Left':
		ans.append('<')
	elif s == 'Right':
		ans.append('>')
	else:
		ans.append('A')

ans = ' '.join(ans)
print ans

Submission Info

Submission Time
Task A - スペース高橋君
User xumpei
Language Python (2.7.3)
Score 100
Code Size 192 Byte
Status
Exec Time 58 ms
Memory 3400 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
× 3
× 14
Set Name Test Cases
Sample example_0.txt, example_1.txt, example_2.txt
All corner_0.txt, corner_1.txt, corner_2.txt, example_0.txt, example_1.txt, example_2.txt, maxrand_0.txt, maxrand_1.txt, maxrand_2.txt, random_0.txt, random_1.txt, random_2.txt, random_3.txt, random_4.txt
Case Name Status Exec Time Memory
corner_0.txt 58 ms 3320 KB
corner_1.txt 57 ms 3392 KB
corner_2.txt 57 ms 3380 KB
example_0.txt 57 ms 3380 KB
example_1.txt 57 ms 3384 KB
example_2.txt 54 ms 3380 KB
maxrand_0.txt 55 ms 3400 KB
maxrand_1.txt 54 ms 3308 KB
maxrand_2.txt 54 ms 3376 KB
random_0.txt 54 ms 3212 KB
random_1.txt 55 ms 3380 KB
random_2.txt 55 ms 3384 KB
random_3.txt 54 ms 3384 KB
random_4.txt 54 ms 3384 KB