foo.cc:3:7: error: expected nested-name-specifier before ‘long’
3 | using long long =ll;
| ^~~~
foo.cc:4:1: error: ‘ll’ does not name a type
4 | ll n,ans[12];
| ^~
foo.cc: In function ‘int main()’:
foo.cc:7:14: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | cin>>n>>x;
| ^
| yn
foo.cc:8:13: error: ‘ll’ was not declared in this scope
8 | for(ll i=1;i<=n;i++){
| ^~
foo.cc:8:20: error: ‘i’ was not declared in this scope
8 | for(ll i=1;i<=n;i++){
| ^
foo.cc:12:17: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
12 | ans[m]++;
| ^~~
| abs
foo.cc:16:15: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
16 | cout<<ans[x]<<endl;
| ^~~
| abs