After going back and forth over this code for it seems like an eternity (about an hour) I finally got an accepted solution. The problem turned out to be a small typo.
Here it is, my solution to http://www.spoj.pl/problems/HASHIT/ in C#.
After going back and forth over this code for it seems like an eternity (about an hour) I finally got an accepted solution. The problem turned out to be a small typo.
Here it is, my solution to http://www.spoj.pl/problems/HASHIT/ in C#.