結果

問題 No.1735 C#
ユーザー warm4C0
提出日時 2021-11-17 21:35:13
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 357 bytes
コンパイル時間 1,458 ms
コンパイル使用メモリ 160,460 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-24 03:58:30
合計ジャッジ時間 2,154 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 6 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

string up(string x) {
    if (x == "C") return "C#";
    if (x == "D") return "D#";
    if (x == "E") return "F";
    if (x == "G") return "G#";
    if (x == "A") return "A#";
    if (x == "B") return "C";
    return "";
}

int main() {
    string s;
    cin >> s;

    cout << up(s) << endl;

    return 0;
}
0