結果

問題 No.1735 C#
ユーザー zerof
提出日時 2022-05-11 22:27:37
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 194 bytes
コンパイル時間 204 ms
コンパイル使用メモリ 82,816 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-07-19 08:12:05
合計ジャッジ時間 1,096 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 6 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

note_list = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "B"]
note = input()

idx = note_list.index(note)
if idx == len(note_list) - 1:
  idx = 0
else:
  idx += 1
print(note_list[idx])
0