Submission #122476


Source Code Expand

import sys
a, b = sys.stdin.read().split()
num = len(a)
for i in range(num):
    if a[i] == b[i]:
        if i == num:
            print('You can win')
            break
        else:
            continue
    elif a[i] == '@':
        if b[i] == 'a' or 't' or 'c' or 'o' or 'd' or 'e' or 'r':
            continue
        else:
            print('You will lose')
            break
    elif b[i] == '@':
        if a[i] == 'a' or 't' or 'c' or 'o' or 'd' or 'e' or 'r':
            continue
        else:
            print('You will lose')
            break
    else:
        print('You will lose')
        break

Submission Info

Submission Time
Task A - AtCoder社の給料
User toshibablack
Language Python (3.2.3)
Score 0
Code Size 637 Byte
Status RE
Exec Time 192 ms
Memory 8364 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 192 ms 8272 KB
00_sample_02.txt RE 169 ms 8356 KB
test_100.txt RE 130 ms 8272 KB
test_14.txt RE 139 ms 8344 KB
test_29.txt RE 137 ms 8352 KB
test_4.txt RE 140 ms 8344 KB
test_42.txt RE 134 ms 8344 KB
test_48.txt RE 138 ms 8344 KB
test_54.txt RE 135 ms 8336 KB
test_59.txt RE 138 ms 8364 KB
test_71.txt RE 137 ms 8340 KB
test_72.txt RE 149 ms 8296 KB
test_84.txt RE 139 ms 8340 KB
test_96.txt RE 138 ms 8344 KB