結果
| 問題 | No.785 色食い虫 | 
| コンテスト | |
| ユーザー |  c-yan | 
| 提出日時 | 2020-08-09 13:00:15 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 29 ms / 2,000 ms | 
| コード長 | 458 bytes | 
| コンパイル時間 | 78 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-10-04 11:01:36 | 
| 合計ジャッジ時間 | 1,817 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 28 | 
ソースコード
r = ['%02X' % i for i in range(256)]
R = input()
if R != 'NONE':
    R = R.split(',')
    r = [e for e in r if all([x not in R for x in e])]
g = ['%02X' % i for i in range(256)]
G = input()
if G != 'NONE':
    G = G.split(',')
    g = [e for e in g if all([x not in G for x in e])]
b = ['%02X' % i for i in range(256)]
B = input()
if B != 'NONE':
    B = B.split(',')
    b = [e for e in b if all([x not in B for x in e])]
print(len(r) * len(g) * len(b))
            
            
            
        