結果
問題 | No.1735 C# |
ユーザー |
![]() |
提出日時 | 2021-11-12 21:27:24 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 459 bytes |
コンパイル時間 | 1,621 ms |
コンパイル使用メモリ | 166,860 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-25 12:03:03 |
合計ジャッジ時間 | 2,172 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string S; cin >> S; if (S == "A"){ cout << "A#" <<endl; } else if (S == "B"){ cout << "C" <<endl; } else if (S == "C"){ cout << "C#" <<endl; } else if (S == "D"){ cout << "D#" <<endl; } else if (S == "E"){ cout << "F" <<endl; } else if (S == "F"){ cout << "F#" <<endl; } else if (S == "G"){ cout << "G#" <<endl; } }