Problem spotlights
User Pan
Submission Time 2024-07-30 20:21:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

spotlights.cpp: In function ‘pi inter(pi, pi)’:
spotlights.cpp:43:7: error: ‘pi’ {aka ‘struct std::pair<long long int, long long int>’} has no member named ‘fi’
43 | if(a.fi <= b.fi && a.se >= b.se)return b;
| ^~
spotlights.cpp:43:15: error: ‘pi’ {aka ‘struct std::pair<long long int, long long int>’} has no member named ‘fi’
43 | if(a.fi <= b.fi && a.se >= b.se)return b;
| ^~
spotlights.cpp:43:23: error: ‘pi’ {aka ‘struct std::pair<long long int, long long int>’} has no member named ‘se’
43 | if(a.fi <= b.fi && a.se >= b.se)return b;
| ^~
spotlights.cpp:43:31: error: ‘pi’ {aka ‘struct std::pair<long long int, long long int>’} has no member named ‘se’
43 | if(a.fi <= b.fi && a.se >= b.se)return b;
| ^~
spotlights.cpp:44:7: error: ‘pi’ {aka ‘struct std::pair<long long int, long long int>