Dry run problem facing not same as macine o/p produced

http://discuss.codingblocks.com/t/https-hack-codingblocks-com-app-dcb-1037-maximumpoints-on-a-line/47415 @ishitagambhir please help am i asking too many questions or its normal to ask everbody ask’s like this or not

@AyushKumar9032 please ask your doubts through the ask doubt section

okay…

1 Like

https://ide.codingblocks.com/s/223606 this is my solution i understood the code but its not running for many test cases