设A货车为X辆,则B为8-X辆30X+50*(8-X)>=250 (1)50X+40*(8-X)>=370 (2)由1式得:X<=7.5;由(2)式得:X>=5即是:X只能为5,6,7 则B型车为3,2,1