I'm wondering how to find the number of distinct shortest paths in an undirected unweighted graph !!
any advice !! :D
These are some problems about Centroid Decomposition , you can learn this algorithm here .
Its complexity is O(nlogn)
I hope these problems would be useful for you :)
If there are another problems on CF please put it on comment !!
UPD : The list has been updated
Congratulations for Mhammad1 :D
UPD : kingofnumbers has just became one of the top 10 contributors
Recently I learned a new algorithm which is Centeroid decomposition , but I didn't find enough Information about it.
I didn't understand the usefulness of the algorithm , or when we use it !!
So would you please help and give me more information about it :D
Recently I have been searching for an online judge contains APIO problems , but I didn't find any thing !!
So could anybody help me and give an online judge contains APIO problems with subtasks judging.
Everyone are wondering about the story behind "Limak , the little polar bear".
So would anyone tell us about the story behind this famous polar bear
A few days a ago my friend suggested that I should start training using CMS that way I can have the test cases and the ability to judge solutions without the use of the internet (being in Syria makes the internet a luxury so I can't use that whenever I want) so I want to start using CMS by downloading the test cases and the problems but I have no idea how to do that.
I tried to google it but to no avail...it would be very nice if someone who uses CMS could show me how to set it up.
Thank you for reading...
Today I tried to solve problem 327E - Axis Walking , but I faced a problem with Time_limit
I kept getting TLE on tests between 7->10 , then I submitted my friend's solution 24099917 which got ACC
but I got TLE on test 11 24109427 , and when I test it on
CUSTOM INVOCATION it pass the test with 1372 MS
P.S.:the problem time_limit is 3000 MS
So can anybody help me and tell me the reason of getting TLE
Today I noticed that CF doesn't show you the recent blogs when you are logged in your account
These two pics for the recent actions and took at same moment
the first when I'm logged in my account , and the second when I'm not
these two blogs didn't appear in the first situation
Hello guys . I have an issue in dealing with problemes which depend on geometry and math . can you help by give me books or any thing which includes the basic mathematical laws that can help me in math and geometry problems . :D :D :D
Thanks for advice