用unsigned long long也会爆🙄
#include <stdio.h>
#define scan(x) scanf("%lf", &x)
#define f(i, a, b) for (int i = a; i <= b; i++)
#define pn(x) printf("%.0lf", x)
#define IN freopen("in.txt", "r", stdin)
#define OUT freopen("out.txt&quo
数组
int firstMissingPositive(int* nums, int numsSize){
int a[10000001]={0};
while(numsSize--){
if(nums[numsSize]<=0||nums[numsSize]>=10000000)
continue;
else if(a[nums[numsSize]]==0)
a[nums[numsSize]]=1;
}
int x=0;
whil