0_0_30384343_24214.cpp:4:2: error: stray '#' in program
}#include<bits/stdc++.h>
^
0_0_30384343_24214.cpp:1:1: error: 'll' does not name a type
ll jdz(ll a)
^
0_0_30384343_24214.cpp:4:3: error: 'include' does not name a type
}#include<bits/stdc++.h>
^
0_0_30384343_24214.cpp: In function 'int main()':
0_0_30384343_24214.cpp:15:15: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_30384343_24214.cpp:18:3: error: 'multiset' was not declared in this scope
multiset<ll>s1;
^
0_0_30384343_24214.cpp:18:14: error: expected primary-expression before '>' token
multiset<ll>s1;
^
0_0_30384343_24214.cpp:18:15: error: 's1' was not declared in this scope
multiset<ll>s1;
^
0_0_30384343_24214.cpp:19:14: error: expected primary-expression before '>' token
multiset<ll>s2;
^
0_0_30384343_24214.cpp:19:15: error: 's2' was not declared in this scope
multiset<ll>s2;
^
0_0_30384343_24214.cpp:23:17: error: 'sort' was not declared in this scope
sort(a,a+n,cmp);
^
0_0_30384343_24214.cpp:28:40: error: 'abs' was not declared in this scope
ans=min(ans,abs(*s1.rbegin()-a[i].x));
^
0_0_30384343_24214.cpp:28:41: error: 'min' was not declared in this scope
ans=min(ans,abs(*s1.rbegin()-a[i].x));
^
0_0_30384343_24214.cpp:33:26: error: 'abs' was not declared in this scope
ll tmp=abs(*it-a[i].x);
^
0_0_30384343_24214.cpp:45:3: error: 'cout' was not declared in this scope
cout<<ans<<"\n";
^
|