Submission #1174858


Source Code Expand

#include<iostream>
#include<string>
using namespace std;
int main(){
	string s; cin >> s;
	if (s == "WBWBWWBWBWBWWBWBWWBW")cout << "Do\n";
	else if (s == "WBWWBWBWBWWBWBWWBWWB")cout << "Re\n";
	else if (s == "WWBWBWBWWBWBWWBWWBWB")cout << "Mi\n";
	else if (s == "WBWBWBWWBWBWWBWWBWBW")cout << "Fa\n";
	else if (s == "WBWBWWBWBWWBWWBWBWWB")cout << "So\n";
	else if (s == "WBWWBWBWWBWWBWBWWBWB")cout << "La\n";
	else if (s == "WWBWBWWBWWBWBWWBWBWB")cout << "Si\n";
}

Submission Info

Submission Time
Task C - ピアニスト高橋君
User th90tk297
Language C++14 (GCC 5.4.1)
Score 0
Code Size 476 Byte
Status WA
Exec Time 1 ms
Memory 256 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
AC × 1
AC × 2
WA × 6
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 1 ms 256 KB
handmade_0.txt AC 1 ms 256 KB
handmade_1.txt WA 1 ms 256 KB
handmade_2.txt WA 1 ms 256 KB
handmade_3.txt WA 1 ms 256 KB
handmade_4.txt WA 1 ms 256 KB
handmade_5.txt WA 1 ms 256 KB
handmade_6.txt WA 1 ms 256 KB