Submission #3423508


Source Code Expand

s = input()

for i in range(len(s)):
    if i == 0:
        if s[i] == 'A':
            continue
        else:
            print("WA")
            break
    elif i == 2:
        if s[i] == 'C':
            continue
        else:
            print("WA")
            break
    elif i == len(s)-1:
        if s[i] != 'C':
            continue
        else:
            print("WA")
            break
    else:
        if s[i].islower():
            continue
        else:
            print("WA")
            break
else:
    print("AC")

Submission Info

Submission Time
Task B - AcCepted
User rosupo
Language Python (3.4.3)
Score 0
Code Size 559 Byte
Status WA
Exec Time 19 ms
Memory 3188 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 200
Status
AC × 5
AC × 14
WA × 2
Set Name Test Cases
Sample a01, a02, a03, a04, a05
All a01, a02, a03, a04, a05, b06, b07, b08, b09, b10, b11, b12, b13, b14, b15, b16
Case Name Status Exec Time Memory
a01 AC 17 ms 3060 KB
a02 AC 17 ms 3064 KB
a03 AC 17 ms 3060 KB
a04 AC 17 ms 3060 KB
a05 AC 17 ms 2940 KB
b06 AC 17 ms 3060 KB
b07 WA 17 ms 3060 KB
b08 AC 17 ms 3060 KB
b09 WA 17 ms 3064 KB
b10 AC 17 ms 3060 KB
b11 AC 17 ms 3060 KB
b12 AC 17 ms 3064 KB
b13 AC 17 ms 3064 KB
b14 AC 17 ms 2940 KB
b15 AC 17 ms 3060 KB
b16 AC 19 ms 3188 KB