結果

問題 No.1735 C#
ユーザー kapoonkapoon
提出日時 2024-01-15 16:32:51
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 449 bytes
コンパイル時間 600 ms
コンパイル使用メモリ 62,996 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2024-01-15 16:32:53
合計ジャッジ時間 1,401 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
6,676 KB
testcase_01 WA -
testcase_02 AC 2 ms
6,676 KB
testcase_03 AC 2 ms
6,676 KB
testcase_04 AC 2 ms
6,676 KB
testcase_05 AC 2 ms
6,676 KB
testcase_06 WA -
testcase_07 AC 2 ms
6,676 KB
testcase_08 AC 2 ms
6,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
using namespace std;
int main(void){
    char s;
    cin>>s;
    if(s=='A'){
        cout<<"A#"<<endl;
    }else if(s=='C'){
        cout<<"C#"<<endl;
    }else if(s=='D'){
        cout<<"D#"<<endl;
    }else if(s=='F'){
        cout<<"F#"<<endl;
    }else if(s=='G'){
        cout<<"G#"<<endl;
    }else if(s=='E'){
        cout<<"G"<<endl;
    }else if(s=='B'){
        cout<<"C"<<endl;
    }
    return 0;
}
0