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.
alternatively you could mod by 1e9 + 7. https://www.geeksforgeeks.org/modulo-1097-1000000007/
this looks like some hard graph theory
I have specified
2 <= n, m <= 1000
and0 <= x, y <= n, m
and also raised the constraints.
This comment is hidden because it contains spoiler information about the solution
updated description
i will specify a few things
a - z
The check for palindromes function reveals part of the solution. Im not sure how to import it into the example test cases without being accessable
.
nice solution :)
how are you so fast 0-0. anyway, fixed
floor division. ex. 800 / 400 will return 2.0, which is a float number
This comment is hidden because it contains spoiler information about the solution
sorry. what?
Loading more items...