結果
問題 | No.785 色食い虫 |
ユーザー |
|
提出日時 | 2020-02-10 18:10:35 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 33 ms / 2,000 ms |
コード長 | 306 bytes |
コンパイル時間 | 85 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-10-01 06:28:05 |
合計ジャッジ時間 | 1,933 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 28 |
ソースコード
R_l = list(map(str, input().split(","))) G_l = list(map(str, input().split(","))) B_l = list(map(str, input().split(","))) R = 16 - len(R_l) G = 16 - len(G_l) B = 16 - len(B_l) if R_l[0] == "NONE": R = 16 if G_l[0] == "NONE": G = 16 if B_l[0] == "NONE": B = 16 print(R * R * G * G *B * B)