Problem | traineeline |
---|---|
User | penguin133 |
Submission Time | 2023-12-13 09:28:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
traineeline.cpp: In function ‘int main()’:
traineeline.cpp:19:23: error: ‘struct std::pair<int, int>’ has no member named ‘se’
19 | if(x >= arr[lptr].se){
| ^~
traineeline.cpp:20:21: error: ‘struct std::pair<int, int>’ has no member named ‘se’
20 | x -= arr[lptr].se;
| ^~
traineeline.cpp:21:23: error: ‘struct std::pair<int, int>’ has no member named ‘fi’
21 | ans += arr[lptr].fi * arr[lptr].se;
| ^~
traineeline.cpp:21:38: error: ‘struct std::pair<int, int>’ has no member named ‘se’
21 | ans += arr[lptr].fi * arr[lptr].se;
| ^~
traineeline.cpp:25:27: error: ‘struct std::pair<int, int>’ has no member named ‘fi’
25 | ans += x * arr[lptr].fi;
| ^~
traineeline.cpp:26:16: error: ‘struct std::pair<int, int>’ has no