Boudreaux and Thibodeaux are on the road again . . .
"Boudreaux, we have to get this shipment of mudbugs to Baton Rouge by tonight!"
"Don't worry, Thibodeaux, I already checked ahead. There are three underpasses and our 18-wheeler will fit through all of them, so just keep that motor running!"
"We're not going to make it, I say!"
So, which is it: will there be a very messy accident on Interstate 10, or is Thibodeaux just letting the sound of his own wheels drive him crazy?
他俩再次来到了路上。
B,我们在今晚得把这些货物送到那里。
不用担心,我已经检查过了,那里有3个地下通道,我们的车可以顺利的通过,放心开车吧。
我觉得不行。
所以,等下是否会有糟糕的事故(过不去)?或者是T是否会被他的车轮胎的巨大声音折磨(车子高度与地下通道刚好一样高)?
输入:
Input to this problem will consist of a single data set. The data set will be formatted according to the following description.
对于这个问题的输入是简单的数字集合,通过下述的描述,数字集合这样总述。
The data set will consist of a single line containing 3 numbers, separated by single spaces. Each number represents the height of a single underpass in inches. Each number will be between 0 and 300 inclusive.
数字集和包括三个数字,间隔一个空格。每个数字代表每个地下通道的高度,以英尺为单位,每个数字在0-300的范围内。
输出:
There will be exactly one line of output. This line will be:
NO CRASH
if the height of the 18-wheeler is less than the height of each of the underpasses, or:
CRASH X
otherwise, where X is the height of the first underpass in the data set that the 18-wheeler is unable to go under (which means its height is less than or equal to the height of the 18-wheeler).
The height of the 18-wheeler is 168 inches.
输出只有一行,这一行可能是 NO CRASH
如果18轮车的高度小于每个地下通道的高度,输出 CRASH X
另外,X是第一个地下通道的高度--18路不能通过地下通道数字集的第一个元素,意思是说<=18路的高度。18轮车的高度是168英尺。