Of course it is always better to get your work done for you than to bust your ***. If you can do that, you will be rich at the expense of your more skilled peers.
Read carefully the contract with the world that sscanf has. Duplicate that. You will probably get a good grade. The alternative is to hire it done, but ZERO is a very low bid.