結果

問題 No.1735 C#
ユーザー ShirotsumeShirotsume
提出日時 2021-10-13 03:22:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 189 bytes
コンパイル時間 281 ms
コンパイル使用メモリ 86,560 KB
実行使用メモリ 71,432 KB
最終ジャッジ日時 2023-08-16 20:40:27
合計ジャッジ時間 1,827 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,020 KB
testcase_01 AC 62 ms
71,076 KB
testcase_02 AC 64 ms
71,432 KB
testcase_03 AC 71 ms
71,148 KB
testcase_04 AC 64 ms
71,108 KB
testcase_05 AC 62 ms
70,988 KB
testcase_06 AC 63 ms
71,240 KB
testcase_07 AC 65 ms
71,052 KB
testcase_08 AC 63 ms
71,072 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