提出 #55509351


ソースコード 拡げる

#s = input()
#n = int(input())
#a = list(map(int, input().split()))
#a, b = map(int, input().split())
R,G,B = map(int, input().split())
C = input()
if C == "R":
    print(min(G,B))
elif C == "G":
    print(min(R,B))
else:
    print(min(R,G))

提出情報

提出日時
問題 A - Buy a Pen
ユーザ kanam33
言語 Python (PyPy 3.10-v7.3.12)
得点 0
コード長 252 Byte
結果 WA
実行時間 55 ms
メモリ 76744 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 0 / 100
結果
AC × 3
AC × 10
WA × 6
セット名 テストケース
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 01_random_10.txt, 01_random_11.txt, 01_random_12.txt
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 54 ms 76292 KiB
00_sample_01.txt AC 54 ms 76680 KiB
00_sample_02.txt AC 54 ms 76412 KiB
01_random_00.txt WA 54 ms 76288 KiB
01_random_01.txt WA 54 ms 76560 KiB
01_random_02.txt WA 55 ms 76432 KiB
01_random_03.txt WA 54 ms 76144 KiB
01_random_04.txt AC 54 ms 76652 KiB
01_random_05.txt AC 54 ms 76316 KiB
01_random_06.txt AC 54 ms 76220 KiB
01_random_07.txt AC 54 ms 76204 KiB
01_random_08.txt AC 53 ms 76744 KiB
01_random_09.txt AC 54 ms 76424 KiB
01_random_10.txt WA 54 ms 76540 KiB
01_random_11.txt WA 54 ms 76208 KiB
01_random_12.txt AC 54 ms 76324 KiB