feast.cpp: In function 'void main_program()':
feast.cpp:55:12: error: no match for 'operator=' (operand types are 'std::initializer_list<long long int>' and 'std::pair<long long int, long long int>')
55 | final = res;
| ^~~
In file included from /usr/include/c++/10/bits/range_access.h:36,
from /usr/include/c++/10/string:54,
from /usr/include/c++/10/bits/locale_classes.h:40,
from /usr/include/c++/10/bits/ios_base.h:41,
from /usr/include/c++/10/ios:42,
from /usr/include/c++/10/istream:38,
from /usr/include/c++/10/sstream:38,
from /usr/include/c++/10/complex:45,
from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from feast.cpp:1:
/usr/include/c++/10/initializer_list:47:11: note: candidate: 'constexpr std::initializer_list<long long int>& std::initializer_list<long long int>::operator=(const std::initializer_list<long long int>&)'
47 | class initializer_list
| ^~~~~~~~~~~~~~~~
/usr/include/c++/10/initializer_list:47:11: note: no known conversion for argument 1 from 'std::pair<long long int, long long int>' to 'const std::initializer_list<long long int>&'
/usr/include/c++/10/initializer_list:47:11: note: candidate: 'constexpr std::initializer_list<long long int>& std::initializer_list<long long int>::operator=(std::initializer_list<long long int>&&)'
/usr/include/c++/10/initializer_list:47:11: note: no known conversion for argument 1 from 'std::pair<long long int, long long int>' to 'std::initializer_list<long long int>&&'
feast.cpp:60:16: error: 'class std::initializer_list<long long int>' has no member named 'first'
60 | cout << final.first + l * final.second << "\n";
| ^~~~~
feast.cpp:60:34: error: 'class std::initializer_list<long long int>' has no member named 'second'
60 | cout << final.first + l * final.second << "\n";
| ^~~~~~