Problem - sort game

what does integar x denotes in this problem

hello @divyam_13

x is threshold in this problem.

please tell me the error