Brute force passed [CHEFQUER] | Codechef june 2021 Starters

if possible never use pow simply multiply

1 Like

@nikhli0203 ABEE CHUP REH NA CHEATER ,KITNA JHOOT BOLEGA ,AATA TO KUCH HAI NAHI …

@admin Please ban his account ,

His solution BNSONSTR of june cook off :CodeChef: Practical coding for everyone

MATCHES WITH MOST VIRAL YOUTUBE SOLUTION CodeChef: Practical coding for everyone ,just he has changed few variable names.

Coparing by images side by side

3 Likes

@nikhli0203 ABEE CHUP REH NA CHEATER ,KITNA JHOOT BOLEGA ,AATA TO KUCH HAI NAHI …

@admin Please ban his account ,

His solution BNSONSTR of june cook off :CodeChef: Practical coding for everyone

MATCHES WITH MOST VIRAL YOUTUBE SOLUTION CodeChef: Practical coding for everyone ,just he has changed few variable names

Coparing by images side by side

2 Likes

Yes, our test data ended up being weak for this problem. Apologies for the mistake. We’ll be adding stronger data in Practice, but the contest submissions will remain as they are. No changes in that.

https://stackoverflow.com/questions/41072787/why-is-powint-int-so-slow

I think this should help.

1 Like