Problem collectmushrooms3
User bz
Submission Time 2024-06-19 17:57:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms3.cpp: In function ‘int main()’:
collectmushrooms3.cpp:112:14: error: request for member ‘first’ in ‘fi’, which is of pointer type ‘std::pair<long long int, long long int>*’ (maybe you meant to use ‘->’ ?)
112 | if (*(fi).first > y && x > 0) xpos--;
| ^~~~~