結果
問題 | No.785 色食い虫 |
ユーザー |
|
提出日時 | 2024-06-16 12:26:13 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 43 ms / 2,000 ms |
コード長 | 282 bytes |
コンパイル時間 | 857 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-16 12:26:17 |
合計ジャッジ時間 | 3,123 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 28 |
ソースコード
r = list(input().split(","))g = list(input().split(","))b = list(input().split(","))if r[0] == "NONE":rr = 0else:rr = len(r)if g[0] == "NONE":gg = 0else:gg = len(g)if b[0] == "NONE":bb = 0else:bb = len(b)print(((16-rr)*(16-gg)*(16-bb))**2)