0_0_37291156_26926.cpp:6:8: error: 'LL' was not declared in this scope
vector<LL>a[10];
^
0_0_37291156_26926.cpp:6:10: error: template argument 1 is invalid
vector<LL>a[10];
^
0_0_37291156_26926.cpp:6:10: error: template argument 2 is invalid
0_0_37291156_26926.cpp:6:16: error: invalid type in declaration before ';' token
vector<LL>a[10];
^
0_0_37291156_26926.cpp: In function 'int main()':
0_0_37291156_26926.cpp:11:36: error: request for member 'clear' in 'a[i]', which is of non-class type 'int'
for(int i=0;i<10;i++) a[i].clear();
^
0_0_37291156_26926.cpp:14:13: error: 'LL' was not declared in this scope
LL x;
^
0_0_37291156_26926.cpp:15:27: error: 'x' was not declared in this scope
scanf("%lld",&x);
^
0_0_37291156_26926.cpp:18:39: error: request for member 'size' in 'a[i]', which is of non-class type 'int'
for(int i=0;i<10;i++) if(a[i].size()) sort(a[i].begin(), a[i].end());
^
0_0_37291156_26926.cpp:18:57: error: request for member 'begin' in 'a[i]', which is of non-class type 'int'
for(int i=0;i<10;i++) if(a[i].size()) sort(a[i].begin(), a[i].end());
^
0_0_37291156_26926.cpp:18:71: error: request for member 'end' in 'a[i]', which is of non-class type 'int'
for(int i=0;i<10;i++) if(a[i].size()) sort(a[i].begin(), a[i].end());
^
0_0_37291156_26926.cpp:22:22: error: request for member 'size' in 'a[i]', which is of non-class type 'int'
if(!a[i].size()) continue;
^
0_0_37291156_26926.cpp:23:32: error: request for member 'size' in 'a[i]', which is of non-class type 'int'
for(int j=0;j<a[i].size();j++)
^
0_0_37291156_26926.cpp:25:30: error: invalid types 'int[int]' for array subscript
sum += a[i][j] / 9 - j;
^
|