Submission #123585


Source Code Expand

Copy
import sys
str1 = raw_input()
str2 = raw_input()
 
for i in range(0,len(str1)):
	if str1[i] != str2[i] :
		if str1[i] == '@' :
			if str2[i] != 'a' and str2[i] != 't' and str2[i] != 'c' and str2[i] != 'o' and str2[i] !='d' and str2[i] !='e' and str2[i] != 'r':
				print ("You will lose")
				sys.exit(1)
 
		elif str2[i] == '@':
			if str1[i] != 'a' and str1[i] != 't' and str1[i] != 'c' and str1[i] != 'o' and str1[i] !='d' and str1[i] !='e' and str1[i] != 'r':
				print ("You will lose")
				sys.exit(1)
		else:
			print ("You will lose")
			sys.exit(1)
 
print ("You can win")

Submission Info

Submission Time
Task A - AtCoder社の給料
User tanichi0711
Language Python (2.7.3)
Score 0
Code Size 600 Byte
Status RE
Exec Time 129 ms
Memory 8128 KB

Judge Result

Set Name All
Score / Max Score 0 / 100
Status
RE × 14
Set Name Test Cases
All 00_sample_01.txt, 00_sample_02.txt, test_100.txt, test_14.txt, test_29.txt, test_4.txt, test_42.txt, test_48.txt, test_54.txt, test_59.txt, test_71.txt, test_72.txt, test_84.txt, test_96.txt
Case Name Status Exec Time Memory
00_sample_01.txt RE 119 ms 8128 KB
00_sample_02.txt RE 124 ms 8124 KB
test_100.txt RE 114 ms 8104 KB
test_14.txt RE 115 ms 8116 KB
test_29.txt RE 121 ms 8124 KB
test_4.txt RE 114 ms 8116 KB
test_42.txt RE 121 ms 8072 KB
test_48.txt RE 120 ms 8116 KB
test_54.txt RE 126 ms 8120 KB
test_59.txt RE 120 ms 8112 KB
test_71.txt RE 120 ms 8116 KB
test_72.txt RE 129 ms 8128 KB
test_84.txt RE 116 ms 8112 KB
test_96.txt RE 127 ms 8120 KB