Submission #763481


Source Code Expand

s = input()
l = s.find("BWBWB")

if l == 6:
    print("Do")
elif l == 4:
    print("Re")
elif l == 2:
    print("Mi")
elif l == 1:
    print("Fa")
elif l == 11:
    print("So")
elif l == 9:
    print("La")
elif l == 7:
    print("Si")
else:
    print("Error")

Submission Info

Submission Time
Task C - ピアニスト高橋君
User torano
Language Python (3.4.3)
Score 100
Code Size 277 Byte
Status AC
Exec Time 37 ms
Memory 3064 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 1
AC × 8
Set Name Test Cases
Sample example_0.txt
All example_0.txt, handmade_0.txt, handmade_1.txt, handmade_2.txt, handmade_3.txt, handmade_4.txt, handmade_5.txt, handmade_6.txt
Case Name Status Exec Time Memory
example_0.txt AC 36 ms 3064 KiB
handmade_0.txt AC 36 ms 3064 KiB
handmade_1.txt AC 36 ms 3064 KiB
handmade_2.txt AC 36 ms 3064 KiB
handmade_3.txt AC 36 ms 3064 KiB
handmade_4.txt AC 37 ms 3064 KiB
handmade_5.txt AC 36 ms 3064 KiB
handmade_6.txt AC 36 ms 3064 KiB