[algogeeks] HASHIT

2011-06-10 Thread KK
This is the link to the SPOJ problem HASHIT : http://www.spoj.pl/problems/HASHIT/ i donno whts the mistake... i keep getting wrong answer even though the Q is Straightforward :( #includeiostream #includestring using namespace std; int hash(string str) { int sum = 0; int len =

[algogeeks] HASHIT in spoj.

2009-07-10 Thread Amal
Is there anyone who has solved this problem https://www.spoj.pl/problems/HASHIT/ . Its not a tough problem but i am having lots of trouble getting it accepted. Can some one who has it accepted give some test cases. --~--~-~--~~~---~--~~ You received this message