結果
問題 | No.1735 C# |
ユーザー |
![]() |
提出日時 | 2021-11-12 21:23:23 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 122 ms / 2,000 ms |
コード長 | 776 bytes |
コンパイル時間 | 792 ms |
コンパイル使用メモリ | 82,244 KB |
実行使用メモリ | 87,080 KB |
最終ジャッジ日時 | 2024-11-25 11:53:59 |
合計ジャッジ時間 | 2,534 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 |
ソースコード
import itertools as iterimport collections as collimport heapq as hqimport bisect as bisfrom decimal import Decimal as decfrom copy import deepcopy as dcopyimport mathimport syssys.setrecursionlimit(10**6)def input():return sys.stdin.readline().rstrip()def getN():return int(sys.stdin.readline())def getNs():return map(int,sys.stdin.readline().split())def getList():return list(map(int,sys.stdin.readline().split()))def strinps(n):return [sys.stdin.readline().rstrip() for _ in range(n)]pi = 3.141592653589793mod = 10**9+7MOD = 998244353INF = math.infdx = [1,0,-1,0]; dy = [0,1,0,-1]"""Main Code"""w = ["C","C#","D","D#","E","F","F#","G","G#","A","A#","B","C"]s = input()for i in range(len(w)):if(s == w[i]):print(w[i+1])exit(0)