結果

問題 No.1735 C#
ユーザー kapoon
提出日時 2024-01-15 16:32:51
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 449 bytes
コンパイル時間 509 ms
コンパイル使用メモリ 62,464 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-28 02:22:11
合計ジャッジ時間 1,141 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 6 WA * 1
権限があれば一括ダウンロードができます

ソースコード

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