• For the bonus part we need create our own checker that checks if our mandatory is correct and its should mimic the checker given in the subject
  • so first we must handle what should be displayed if some arguments isnt an integer non duplicatable
  • next we gotta insert that args in a stack
  • and take a copy of them in stack and sort them in that copy
  • then we read the instruction from the input using get_next_line and we check if its a real instruction if its we apply it to our stack
  • we do that for each output of get_next_line until the output is null
  • then we compare the stack_a after that instructions are applied in it with our sorted copy
  • if there’s a difference we print KO else we print OK