Would this be wrong on the exam?

This is regarding a simulation, the question doesn't really matter, more the format. I want to know if I were to submit my answer for a FAR simulation if it would be correct, since it isn't necessarily the "long way" Beckers Answer Simulation Solution Inventory $12,000 Accounts payable $12,000 Cost of sales $2,000 Accounts payable $2,000 My Answer Debit: Inventory 12000 Cost of Sales 2000 Credit - A/P 14000