Problem Link: http://www.spoj.com/problems/MFLAR10/
Finally got one on tokenizing the string...
Used Strtok() function to tokenize the string..
And rest is simple :D
Just make first letters of each word either in uppercase or in lowercase and then just compare it out!!!
code : http://pastebin.com/DGRC5WCU
Finally got one on tokenizing the string...
Used Strtok() function to tokenize the string..
And rest is simple :D
Just make first letters of each word either in uppercase or in lowercase and then just compare it out!!!
code : http://pastebin.com/DGRC5WCU
No comments:
Post a Comment