Problem monsters2
User JoshJuice
Submission Time 2025-03-24 21:35:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

monsters2.cpp: In function ‘int main()’:
monsters2.cpp:10:45: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type’ {aka ‘struct std::pair<long long int, long long int>’} has no member named ‘fi’
10 | for (int i = 0; i < n; ++i) cin >> m[i].fi >> m[i].se;
| ^~
monsters2.cpp:10:56: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<long long int, long long int> >, std::pair<long long int, long long int> >::value_type’ {aka ‘struct std::pair<long long int, long long int>’} has no member named ‘se’
10 | for (int i = 0; i < n; ++i) cin >> m[i].fi >> m[i].se;
| ^~