Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
What is this?????????????????????????????????????????????????????
OP solved it, closing
How the hell is it too simple?π΅π΅π΅π΅π΅
Please EXPLAIN!
Was that SARCASAM?ππππππ
First read the task (a few times!) and missed that
p
is given, thought it was a much harder problem than it was :)Using a faster algorithm. Why the second loop?
My code is correct. But I'm running out of time.
My code passes small test cases. But it fails BIG test cases.
How can I fix this problem?
Please! If anyone can help me!
Thank You ππππ
The kata is great.
Hint: Look at the series carefuly (Especially look at divisors, how it changes)
yes, it's there for custom testing. I think he wrote it in his text editor, then copied there
Use spoiler flag next time please. Your post was visible in the homepage.
This comment is hidden because it contains spoiler information about the solution
Assalamualaikum DrontHD!
I just don't understand why main() function was written. Is it to test the problem?