結果

問題 No.785 色食い虫
ユーザー x2357
提出日時 2019-02-16 17:34:58
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 29 ms / 2,000 ms
コード長 216 bytes
コンパイル時間 214 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-22 15:26:02
合計ジャッジ時間 2,007 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

r = input().split(',')
g = input().split(',')
b = input().split(',')
if r[0] == 'NONE':
    r = []
if g[0] == 'NONE':
    g = []
if b[0] == 'NONE':
    b = []
print(((16-len(r))**2)*((16-len(g))**2)*((16-len(b))**2))
0