Checkout
Start free trial
Take Naologic for a spin today, no credit card needed and no obligations.
Start free trial
Question

Constraint Programming - What is constraints in competitive programming?

Answer

Constraints denote the lower and upper bound of the values of variables . Test cases are number of inputs which your algorithm will be tested against. eg - the max value in the linked problem of A and B will be 10^5 and min value would be 0.