|
|
back to boardHint for this problem ! There are only one trick in this problem, it's the position of the first and last digit, the first position can be smaller 0 and the last position can be larger than the length, so you can consider the following segment of code: if(first<0 || last > 0) { //stop the code and print output } Re: Hint for this problem ! Posted by Trần Vũ 17 Oct 2012 21:00 Chào A!E mới hoc lập trình C.code mãi bài 1106. Two Teams mà vẫn con sai mấy trường họp...:(( a gui code cho e bài dấy dc ko thanks A! Email:phuongvut8@gmail.com Edited by author 17.10.2012 21:01 Edited by author 17.10.2012 21:01 |
|
|