https://www.codechef.com/viewsolution/25443586
Getting WA even though my approach is the same as the one mentioned in the editorial.
AC: CodeChef: Practical coding for everyone
Change this: “memset(myset,false,sizeof(myset[0])*100001);”
To this: “memset(myset,false,sizeof(myset));”
1 Like