Problem | burgers |
---|---|
User | Kannan |
Submission Time | 2024-02-18 15:54:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
burgers.cpp: In function ‘int main()’:
burgers.cpp:13:65: error: assigning to an array from an initializer list
13 | a = {make_pair(a1, r1), make_pair(a2, r2), make_pair(a3, r3)};
| ^
burgers.cpp:16:65: error: assigning to an array from an initializer list
16 | b = {make_pair(b1, r1), make_pair(b2, r2), make_pair(b3, r3)};
| ^
burgers.cpp:31:29: error: ‘pairs’ was not declared in this scope; did you mean ‘pair’?
31 | for (const auto& pair : pairs) {
| ^~~~~
| pair
burgers.cpp:37:23: error: ‘burger2’ was not declared in this scope; did you mean ‘burger1’?
37 | cout << burger1 + burger2;
| ^~~~~~~
| burger1
In file included from /usr/include/c++/9/bit