Problem duckhunt
User G
Submission Time 2025-02-27 12:14:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt.cpp: In function ‘int main()’:
duckhunt.cpp:8:26: error: expected initializer before ‘:’ token
8 | vector<pair<ll,ll>> grid:
| ^
duckhunt.cpp:9:13: error: ‘i’ was not declared in this scope
9 | for(ll i=0;i<n;i++){
| ^
duckhunt.cpp:13:7: error: ‘grid’ was not declared in this scope
13 | sort(grid.begin(),grid.end());
| ^~~~