Help_ramu_assignment

https://ide.codingblocks.com/s/53219
why it is not running,showing no output.
help please.

Mention problem link pls

@manu422sharma

your logic and code is correct except two errors:

  • In question you have different test cases, but you are not taking that in account, you have to run the code on different test cases
  • cin>>m,n // you are making this error it should be cin>>m>>n.

Check the correct code here :
https://ide.codingblocks.com/s/53324

Hit like if you get it
Happy coding
Cheers.

Thank you tushar it was silly😆

hahaha yeah XD
Hit like if you get it
Happy coding
Cheers.

https://ide.codingblocks.com/s/53219

my final answer but it is saying wrong answer when i am submitting the code

See this solution
https://ide.codingblocks.com/s/53456