0_0_37910521_20227.cpp: In function 'int main()':
0_0_37910521_20227.cpp:49:17: error: 'll' was not declared in this scope
vector<ll> ans;
^
0_0_37910521_20227.cpp:49:19: error: template argument 1 is invalid
vector<ll> ans;
^
0_0_37910521_20227.cpp:49:19: error: template argument 2 is invalid
0_0_37910521_20227.cpp:49:24: error: invalid type in declaration before ';' token
vector<ll> ans;
^
0_0_37910521_20227.cpp:53:24: error: expected ';' before 'ret'
ll ret = solve(L, a, b, X);
^
0_0_37910521_20227.cpp:54:25: error: 'ret' was not declared in this scope
if (ret != -1) ans.push_back(ret);
^
0_0_37910521_20227.cpp:54:40: error: request for member 'push_back' in 'ans', which is of non-class type 'int'
if (ret != -1) ans.push_back(ret);
^
0_0_37910521_20227.cpp:58:18: error: request for member 'begin' in 'ans', which is of non-class type 'int'
sort(ans.begin(), ans.end());
^
0_0_37910521_20227.cpp:58:31: error: request for member 'end' in 'ans', which is of non-class type 'int'
sort(ans.begin(), ans.end());
^
0_0_37910521_20227.cpp:61:22: error: request for member 'size' in 'ans', which is of non-class type 'int'
cout << ans.size() << endl;
^
0_0_37910521_20227.cpp:62:18: error: request for member 'size' in 'ans', which is of non-class type 'int'
if (ans.size()) {
^
0_0_37910521_20227.cpp:63:40: error: request for member 'size' in 'ans', which is of non-class type 'int'
for ( int i = 0; i < ans.size()-1; i ++) {
^
0_0_37910521_20227.cpp:64:42: error: invalid types 'int[int]' for array subscript
printf ( "%I64d " , ans[i]);
^
0_0_37910521_20227.cpp:66:39: error: request for member 'size' in 'ans', which is of non-class type 'int'
printf("%I64d\n", ans[ans.size()-1]);
^
|