結果

問題 No.785 色食い虫
ユーザー mlihua09mlihua09
提出日時 2020-09-16 02:30:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 80 ms / 2,000 ms
コード長 233 bytes
コンパイル時間 621 ms
コンパイル使用メモリ 87,200 KB
実行使用メモリ 71,436 KB
最終ジャッジ日時 2023-09-04 03:14:34
合計ジャッジ時間 4,855 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,404 KB
testcase_01 AC 77 ms
71,256 KB
testcase_02 AC 78 ms
71,248 KB
testcase_03 AC 77 ms
71,172 KB
testcase_04 AC 77 ms
71,432 KB
testcase_05 AC 79 ms
71,412 KB
testcase_06 AC 80 ms
71,148 KB
testcase_07 AC 80 ms
71,124 KB
testcase_08 AC 78 ms
71,048 KB
testcase_09 AC 77 ms
71,332 KB
testcase_10 AC 76 ms
71,304 KB
testcase_11 AC 76 ms
71,436 KB
testcase_12 AC 77 ms
71,368 KB
testcase_13 AC 76 ms
71,240 KB
testcase_14 AC 76 ms
71,244 KB
testcase_15 AC 77 ms
71,244 KB
testcase_16 AC 77 ms
71,244 KB
testcase_17 AC 76 ms
71,416 KB
testcase_18 AC 76 ms
71,336 KB
testcase_19 AC 78 ms
71,248 KB
testcase_20 AC 78 ms
71,044 KB
testcase_21 AC 78 ms
71,124 KB
testcase_22 AC 77 ms
71,224 KB
testcase_23 AC 78 ms
71,048 KB
testcase_24 AC 77 ms
71,136 KB
testcase_25 AC 78 ms
71,432 KB
testcase_26 AC 77 ms
71,352 KB
testcase_27 AC 77 ms
71,136 KB
testcase_28 AC 77 ms
71,252 KB
testcase_29 AC 79 ms
71,428 KB
testcase_30 AC 79 ms
71,244 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'}

R = len(s - set(input().split(',')))

G = len(s - set(input().split(',')))

B = len(s - set(input().split(',')))

print(R ** 2 * G ** 2 * B ** 2)
0