結果
問題 | No.1735 C# |
ユーザー |
![]() |
提出日時 | 2021-11-13 07:13:20 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 441 bytes |
コンパイル時間 | 851 ms |
コンパイル使用メモリ | 93,916 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-26 17:26:21 |
合計ジャッジ時間 | 1,465 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 |
ソースコード
#include <iostream>#include <vector>#include <algorithm>#include <functional>#include <queue>#include <map>#include <cmath>#include <iomanip>#include <set>#include <cstdio>using namespace std;string v[] = {"C","C#","D","D#","E","F","F#","G","G#","A","A#","B","C"};int main() {string s;cin >> s;for (int i = 0; i < 13; i++) {if (v[i] == s) {cout << v[i + 1] << endl;return 0;}}return 0;}