Submission #1518743


Source Code Expand

S = gets.chomp
 
R = "WBWBWWBWBWBW" * 10
X = %w(Do Do# Re Re# Mi Fa Fa# So So# La La# Si)
i = /#{S}/ =~ R
puts X[i]

Submission Info

Submission Time
Task C - ピアニスト高橋君
User ayataka555
Language Ruby (2.3.3)
Score 100
Code Size 120 Byte
Status AC
Exec Time 7 ms
Memory 1788 KB

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 7 ms 1788 KB
handmade_0.txt AC 7 ms 1788 KB
handmade_1.txt AC 7 ms 1788 KB
handmade_2.txt AC 7 ms 1788 KB
handmade_3.txt AC 7 ms 1788 KB
handmade_4.txt AC 7 ms 1788 KB
handmade_5.txt AC 7 ms 1788 KB
handmade_6.txt AC 7 ms 1788 KB