結果

問題 No.785 色食い虫
コンテスト
ユーザー gram506
提出日時 2019-02-26 23:42:16
言語 Python3
(3.14.3 + numpy 2.4.2 + scipy 1.17.0)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
WA  
実行時間 -
コード長 339 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 358 ms
コンパイル使用メモリ 20,828 KB
実行使用メモリ 15,616 KB
最終ジャッジ日時 2026-03-07 19:33:15
合計ジャッジ時間 3,993 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

code = [str(i) for i in range(10)] + ["A", "B", "C", "D", "E", "F"]
r = input().split(",")
rcode = [i for i in code if i not in r]
g = input().split(",")
gcode = [i for i in code if i not in g]
b = input().split(",")
bcode = [i for i in code if i not in b]
ans = len(rcode)**2 * len(gcode)**2 * len(bcode)**2
print(["NONE", ans][ans != 0])
0