第一题采果子100%通过 /*input 3 2 3 6 9 3 9 */ #include <bits> using namespace std; typedef long long ll; inline ll read() { char c = getchar(); ll x = 0, f = 1; while(c < '0' || c > '9') {if(c == '-') f = -1; c = getchar();} while(c >= '0' && c <= '9') x = x * 10 + c - '0', c = getchar(); return x * f; } const int inf=0x3f3f3f3f; const int maxn=1e5+50; int w[maxn]; int vis[maxn]; int main(){ int n,m; cin>>n>>m; for(int i=1;i<=n;i++){ cin>>w[i]; vis[w[i]]++; } while(m--){ int q; cin>>q; bool f=0; for(int i=1;i<=n;i++){ if(vis[w[i]+q]){ f=1; cout<</bits>