The Loop in checker
starts with i=0
, i.e. you do a% 0
which will result in a divide by zero exception.
solved Why will this code crash? (I am new to C++)
The Loop in checker
starts with i=0
, i.e. you do a% 0
which will result in a divide by zero exception.
solved Why will this code crash? (I am new to C++)