結果

問題 No.1735 C#
ユーザー ShirotsumeShirotsume
提出日時 2021-10-13 03:22:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 189 bytes
コンパイル時間 227 ms
コンパイル使用メモリ 82,152 KB
実行使用メモリ 53,408 KB
最終ジャッジ日時 2024-05-04 04:05:55
合計ジャッジ時間 1,252 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
52,128 KB
testcase_01 AC 39 ms
52,024 KB
testcase_02 AC 40 ms
51,692 KB
testcase_03 AC 39 ms
53,240 KB
testcase_04 AC 40 ms
51,896 KB
testcase_05 AC 39 ms
52,432 KB
testcase_06 AC 41 ms
53,408 KB
testcase_07 AC 44 ms
52,144 KB
testcase_08 AC 40 ms
52,412 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def solve(s):
    if s in ['A', 'C', 'D', 'F', 'G']:
        return s + '#'
    else:
        if s == 'B':
            return 'C'
        else:
            return 'F'

print(solve(input()))
0