結果
| 問題 | No.785 色食い虫 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2022-06-25 17:03:10 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 39 ms / 2,000 ms | 
| コード長 | 326 bytes | 
| コンパイル時間 | 302 ms | 
| コンパイル使用メモリ | 82,228 KB | 
| 実行使用メモリ | 54,088 KB | 
| 最終ジャッジ日時 | 2024-11-14 16:19:59 | 
| 合計ジャッジ時間 | 2,762 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 28 | 
ソースコード
r = input()
g = input()
b = input()
num = [0]*3
if r == "NONE":
    num[0] = 16
else:
    num[0] = 16-(len(r)//2+1)
if g == "NONE":
    num[1] = 16
else:
    num[1] = 16-(len(g)//2+1)
if b == "NONE":
    num[2] = 16
else:
    num[2] = 16-(len(b)//2+1)
ans = 1
#print(num)
for i in range(3):
    ans *= num[i]**2
print(ans)
            
            
            
        