0_0_28916353_29337.cpp:5:12: error: 'longlong' was not declared in this scope
#define ll longlong
^
0_0_28916353_29337.cpp:6:8: note: in expansion of macro 'll'
vector<ll> vt;
^
0_0_28916353_29337.cpp:6:10: error: template argument 1 is invalid
vector<ll> vt;
^
0_0_28916353_29337.cpp:6:10: error: template argument 2 is invalid
0_0_28916353_29337.cpp:6:14: error: invalid type in declaration before ';' token
vector<ll> vt;
^
0_0_28916353_29337.cpp: In function 'int main()':
0_0_28916353_29337.cpp:5:12: error: 'longlong' was not declared in this scope
#define ll longlong
^
0_0_28916353_29337.cpp:9:2: note: in expansion of macro 'll'
ll n,m,x,i,l;
^
0_0_28916353_29337.cpp:10:7: error: 'n' was not declared in this scope
cin>>n;
^
0_0_28916353_29337.cpp:13:3: error: 'l' was not declared in this scope
l=0;
^
0_0_28916353_29337.cpp:14:8: error: 'm' was not declared in this scope
cin>>m;
^
0_0_28916353_29337.cpp:15:6: error: request for member 'clear' in 'vt', which is of non-class type 'int'
vt.clear();
^
0_0_28916353_29337.cpp:18:9: error: 'x' was not declared in this scope
cin>>x;
^
0_0_28916353_29337.cpp:19:7: error: request for member 'push_back' in 'vt', which is of non-class type 'int'
vt.push_back(x);
^
0_0_28916353_29337.cpp:21:11: error: request for member 'begin' in 'vt', which is of non-class type 'int'
sort(vt.begin(),vt.end());
^
0_0_28916353_29337.cpp:21:22: error: request for member 'end' in 'vt', which is of non-class type 'int'
sort(vt.begin(),vt.end());
^
0_0_28916353_29337.cpp:22:7: error: 'i' was not declared in this scope
for(i=0;i<vt.size()-1;i++)
^
0_0_28916353_29337.cpp:22:16: error: request for member 'size' in 'vt', which is of non-class type 'int'
for(i=0;i<vt.size()-1;i++)
^
0_0_28916353_29337.cpp:26:16: error: request for member 'size' in 'vt', which is of non-class type 'int'
if(l+1<vt[vt.size()-1]) cout<<"No"<<endl;
^
|