i want to know that some programmer use assert in their program , is there any advantage of using assert while running the program on judge where all the constraints are defined and are guaranteed that variables follow these constrains ??
like this program PRETNUM tester1 solution.in this solution tester uses assert for all the constraints.
↧
advantage of using assert in program
↧