Problem | openingshop |
---|---|
User | PlayVoltz |
Submission Time | 2024-02-22 17:03:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
openingshop.cpp: In function ‘int32_t main()’:
openingshop.cpp:35:13: error: expected identifier before ‘&’ token
35 | for (auto [&num, &ss]:vect)sort(ss.begin(), ss.end(), greater<int>());
| ^
openingshop.cpp:35:13: error: expected ‘]’ before ‘&’ token
35 | for (auto [&num, &ss]:vect)sort(ss.begin(), ss.end(), greater<int>());
| ^
| ]
openingshop.cpp:35:12: error: empty structured binding declaration
35 | for (auto [&num, &ss]:vect)sort(ss.begin(), ss.end(), greater<int>());
| ^
openingshop.cpp:35:34: error: ‘ss’ was not declared in this scope; did you mean ‘se’?
35 | for (auto [&num, &ss]:vect)sort(ss.begin(), ss.end(), greater<int>());
| ^~
| se