結果
| 問題 |
No.1735 C#
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-11 22:28:28 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 2,000 ms |
| コード長 | 200 bytes |
| コンパイル時間 | 205 ms |
| コンパイル使用メモリ | 81,836 KB |
| 実行使用メモリ | 52,352 KB |
| 最終ジャッジ日時 | 2024-07-19 08:13:04 |
| 合計ジャッジ時間 | 1,068 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 |
ソースコード
note_list = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"] note = input() idx = note_list.index(note) if idx == len(note_list) - 1: idx = 0 else: idx += 1 print(note_list[idx])