Main.cc: In function ‘void init()’: Main.cc:41:29: error: array must be initialized with a brace-enclosed initializer for(int i=1,vis[cnt[i]]=true;i<=m;i++,vis[cnt[i]]=true)if(cnt[i]>B)stk[++top]=i; ^~~~