Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
sweet
Holy...
Clever, but certainly not best practice. This code is unreadable and unadaptable.
You know it doesn't kill to have a few more lines? Bad practice.
How will this work in ticket(25,25,50,50,100)?? In this/similar case any of the 'e==100' condition will render n25 < 0 which is not possible as currency can't go -ive.
This is quite and interesting solution!
The formatting is definitely not the best practice :/
测试没有给出具体测试实例,很多时间花在调试上了
This comment is hidden because it contains spoiler information about the solution
Can you please explain this?