結果
| 問題 |
No.1735 C#
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-11-09 11:23:19 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 457 bytes |
| コンパイル時間 | 492 ms |
| コンパイル使用メモリ | 63,360 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-09-26 00:06:09 |
| 合計ジャッジ時間 | 998 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 |
ソースコード
#include<iostream>
using namespace std;
int main(){
string str;
cin >> str;
if (str == "A"){
cout << "A#" << endl;
}else if (str == "C"){
cout << "C#" << endl;
}else if (str == "D"){
cout << "D#" << endl;
}else if (str == "F"){
cout << "F#" << endl;
}else if (str == "G"){
cout << "G#" << endl;
}else if (str == "E"){
cout << "F" << endl;
}else if (str == "B"){
cout << "C" << endl;
}
}