##输入格式## 第一行,一个整数,表示箱子容量; 第二行,一个整数,表示有n个物品; 接下来n行,分别表示这n个物品的各自体积。
##输出格式## 一个整数,表示箱子剩余空间。
By signing up a OPS universal account, you can submit code and join discussions in all online judging services provided by us.
Using your OPS universal account