Problem | sos |
---|---|
User | Xiaoyang |
Submission Time | 2023-12-30 17:51:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sos.cpp: In function ‘int main()’:
sos.cpp:8:12: error: request for member ‘push_back’ in ‘ans’, which is of non-class type ‘ll’ {aka ‘long long int’}
8 | #define pb push_back
| ^~~~~~~~~
sos.cpp:28:7: note: in expansion of macro ‘pb’
28 | ans.pb(a[i]);
| ^~
sos.cpp:32:20: error: ‘SZ’ was not declared in this scope
32 | ans+=abs(x-alist[SZ(alist)/2]);
| ^~