|
|
back to boardDiscussion of Problem 1261. TipsAn AC problem that does NOT work. {584156 09:52:24 18 Apr 2004 Evil Cheater 1261 Pascal Accepted 0.031 373Kb} Begin writeln(output,'14348908 14348907'); End. I think the judge must chech this things: 1.- pay > check. 2.- pay and tip must be only 1 and 0 in base 3. 3.- pay = check + tip. Maybe the judge checks 1 and 2, but not 3. Re: An AC problem that does NOT work. Posted by 黄源河 22 Apr 2004 18:38 {584156 09:52:24 18 Apr 2004 Evil Cheater 1261 Pascal Accepted 0.031 373Kb} Begin writeln(output,'14348908 14348907'); End. I think the judge must chech this things: 1.- pay > check. 2.- pay and tip must be only 1 and 0 in base 3. 3.- pay = check + tip. Maybe the judge checks 1 and 2, but not 3. The method is wrong,but gamble!!! Why must tip be all 1 and 0 in base 3? |
|
|