Where am i going wrong in this ultra fast mathematician problem?
Hi @itismohiton
As length of input is upto 100, take both input as string and work upon them as strings only.
I am having problem in taking input as string. How to take two different string as input in one line?
just declare two strings as s1,s2;
then just write cin >> s1 >> s2;
doubt resolved. Thank you very much.