結果
| 問題 | No.785 色食い虫 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-16 12:26:13 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 157 ms / 2,000 ms |
| コード長 | 282 bytes |
| 記録 | |
| コンパイル時間 | 531 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-03-06 03:32:36 |
| 合計ジャッジ時間 | 6,599 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
r = list(input().split(","))
g = list(input().split(","))
b = list(input().split(","))
if r[0] == "NONE":
rr = 0
else:
rr = len(r)
if g[0] == "NONE":
gg = 0
else:
gg = len(g)
if b[0] == "NONE":
bb = 0
else:
bb = len(b)
print(((16-rr)*(16-gg)*(16-bb))**2)