out of 9 testcases 2 are getting run error.
https://ide.codingblocks.com/s/458915.
Cb numbers run error
use Long.valueOf instead of integer.parseint llooking at the contraints
corrected code:
please mark your doubts as resolved 
1 Like
Thanks i forgot to check max String length while parsing
please mark your doubt as resolved
i am doing that but after refreshing again it is showing mark as resolved button.can u do it from your end?
ok sure, no problem 