2011: Mex Query

  • Post author:
  • Post category:其他


2011: Mex Query



描述
题目描述:

Give


n








n




non-negative integers, please find the least non-negative integer that doesn’t occur in the


n








n




numbers.

输入:

The first line is an integer


T








T




, representing t



版权声明:本文为HEBAU_LC原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。