Submission #1676654
Source Code Expand
#include<bits/stdc++.h> using namespace std; string kenban="WBWBWWBWBWBWWBWBWWBWBWBWWBWBWWBWBWBWWBWBWWBWBWBWWBWBWWBWBWBWWBWBWWBWBWBW"; string ans[7]={"Do", "Re", "Mi", "Fa", "So", "La", "Si"}; int main(){ string s; cin>>s; for(int i=0;i<7;i++){ if(kenban[i]=='B'){ i--; continue; } if(s==kenban.substr(i, 20)){ cout<<ans[i]<<endl; } } return 0; }
Submission Info
Submission Time | |
---|---|
Task | C - ピアニスト高橋君 |
User | agony |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 547 Byte |
Status | TLE |
Exec Time | 2103 ms |
Memory | 256 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||
Status |
|
|
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 | TLE | 2103 ms | 256 KB |
handmade_0.txt | TLE | 2103 ms | 256 KB |
handmade_1.txt | TLE | 2103 ms | 256 KB |
handmade_2.txt | TLE | 2103 ms | 256 KB |
handmade_3.txt | TLE | 2103 ms | 256 KB |
handmade_4.txt | TLE | 2103 ms | 256 KB |
handmade_5.txt | TLE | 2103 ms | 256 KB |
handmade_6.txt | TLE | 2103 ms | 256 KB |