分析:大于总和输出1
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
typedef long long LL;
const int N = 1e5+;
int ret[N],T,n,m;
int main(){
scanf("%d",&T);
while(T--){
scanf("%d%d",&n,&m);
LL sum=;
for(int i=;i<=n;++i){
LL x;scanf("%I64d",&x);
sum+=x;
}
for(int i=;i<=m;++i){
LL x;scanf("%I64d",&x);
if(x>sum)printf("");
else printf("");
}
printf("\n");
}
return ;
}