Problem touchinggrass
User Pan
Submission Time 2023-12-24 12:32:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

touchinggrass.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
touchinggrass.cpp:12:9: error: ‘pair’ does not name a type
12 | typedef pair<ll, ll> pi;
| ^~~~
touchinggrass.cpp:15:7: error: ‘vector’ was not declared in this scope
15 | ll ps(vector<ll>& fenwick, ll i)
| ^~~~~~
touchinggrass.cpp:15:16: error: expected primary-expression before ‘>’ token
15 | ll ps(vector<ll>& fenwick, ll i)
| ^
touchinggrass.cpp:15:19: error: ‘fenwick’ was not declared in this scope
15 | ll ps(vector<ll>& fenwick, ll i)
| ^~~~~~~
touchinggrass.cpp:15:31: error: expected primary-expression before ‘i’
15 | ll ps(vector<ll>& fenwick, ll i)
| ^
touchinggrass.cpp:15:32: error: expression list treated as compound expression in initializer [-fpermissive]<