結果
問題 |
No.785 色食い虫
|
ユーザー |
![]() |
提出日時 | 2020-08-09 12:56:33 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 453 bytes |
コンパイル時間 | 233 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-10-04 10:48:24 |
合計ジャッジ時間 | 1,997 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 28 |
ソースコード
r = ['%X' % 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 = ['%X' % 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 = ['%X' % 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) * leng(b))