結果

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

ソースコード

diff #

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