結果

問題 No.785 色食い虫
ユーザー htkb
提出日時 2019-02-08 21:35:37
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 28 ms / 2,000 ms
コード長 230 bytes
コンパイル時間 169 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-06-28 18:36:33
合計ジャッジ時間 1,684 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

r = list(input().split(","))
g = list(input().split(","))
b = list(input().split(","))

if r[0] == "NONE":
    r = []
if g[0] == "NONE":
    g = []
if b[0] == "NONE":
    b = []

print(((16-len(r)) * (16-len(g)) * (16-len(b)))**2)
0