If Bill can complete the trip, give coordinates at which he may enter and leave the field. Print every coordinates to exactly 2 decimal places, rounded half to even. If Bill may enter and leave at several places, give the most northerly, that the lexicographical order is last among all possible pairs. Refer the Example Output for the accurate output format. If there is no such pair of positions, print "Bill will be bitten."
Additional Note: The rounding method is also called Banker's rounding. C++/C => printf("%.2lf", x) or Python => round(x,2) will do the trick.
pentagon03 2년 전
Output 섹션을 다음과 같이 수정해주세요. 추가한 부분은 볼드체 했습니다.
If Bill can complete the trip, give coordinates at which he may enter and leave the field. Print every coordinates to exactly 2 decimal places, rounded half to even. If Bill may enter and leave at several places, give the most northerly, that the lexicographical order is last among all possible pairs. Refer the Example Output for the accurate output format. If there is no such pair of positions, print "Bill will be bitten."
Additional Note: The rounding method is also called Banker's rounding. C++/C => printf("%.2lf", x) or Python => round(x,2) will do the trick.