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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
No tests.
https://docs.codewars.com/languages/python/codewars-test
retired
I also fail so see the difference from single-case handling in the example solution. If the batch processing is a design choice, the example solution should showcase that difference.
retired
Duplicate of (at least) https://www.codewars.com/kata/52fe629e48970ad2bd0007e6
Noted! May you please provide any feedback on how to improve.
That would make sense if the additional performance were actually required, and mapping individual modpows over the list would timeout. Is it, and does it?
Good catch! I’ve now added a reference implementation of mod_power inside the test suite to avoid this error.
This internal function is only used to compute expected results and won’t affect user solutions.
You're absolutely right. This kata expects the user not to use pow() or **.
I'll make this restriction more explicit in the kata description, and update the tests if needed to catch such usage.
Loading more items...