《北史·列传·卷二十九》
卫玄的军队日渐困难，粮食也已吃完，便率全队决一死战，在北邙布下战阵，一天中两军十几次交仗。
玄军日蹙，粮又尽，乃悉众决战，阵于北邙，一日间战十余合。
Wei Xuan's army was becoming increasingly desperate, and their food had run out, so he led his entire army to fight a decisive battle, setting up a battle formation at Bei Mang, and the two armies fought several times over the course of a day.
<s>[INST] Translate the following Classical Chinese text into modern Chinese: 玄军日蹙，粮又尽，乃悉众决战，阵于北邙，一日间战十余合。 [/INST] 卫玄的军队日渐困难，粮食也已吃完，便率全队决一死战，在北邙布下战阵，一天中两军十几次交仗。</s>
Translate the following Classical Chinese text into modern Chinese: 玄军日蹙，粮又尽，乃悉众决战，阵于北邙，一日间战十余合。
user
卫玄的军队日渐困难，粮食也已吃完，便率全队决一死战，在北邙布下战阵，一天中两军十几次交仗。
assistant