cake.cpp: In function 'int main()':
cake.cpp:22:18: warning: statement has no effect [-Wunused-value]
22 | #define bug(...) 49
| ^~
cake.cpp:94:31: note: in expansion of macro 'bug'
94 | for(auto i: vecl) bug(i.first,i.second);
| ^~~
cake.cpp:94:22: warning: variable 'i' set but not used [-Wunused-but-set-variable]
94 | for(auto i: vecl) bug(i.first,i.second);
| ^
cake.cpp:22:18: warning: statement has no effect [-Wunused-value]
22 | #define bug(...) 49
| ^~
cake.cpp:95:31: note: in expansion of macro 'bug'
95 | for(auto i: vecr) bug(i.first,i.second);
| ^~~
cake.cpp:95:22: warning: variable 'i' set but not used [-Wunused-but-set-variable]
95 | for(auto i: vecr) bug(i.first,i.second);
| ^
In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from cake.cpp:1:
cake.cpp:96:39: error: no matching function for call to 'min(int_fast64_t&, long long int)'
96 | assert(sz(vec)==min(n,10ll));
| ^
In file included from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from cake.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h:198:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)'
198 | min(const _Tp& __a, const _Tp& __b)
| ^~~
/usr/include/c++/9/bits/stl_algobase.h:198:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from cake.cpp:1:
cake.cpp:96:39: note: deduced conflicting types for parameter 'const _Tp' ('long int' and 'long long int')
96 | assert(sz(vec)==min(n,10ll));
| ^
In file included from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from cake.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h:246:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::min(const _Tp&, const _Tp&, _Compare)'
246 | min(const _Tp& __a, const _Tp& __b, _Compare __comp)
| ^~~
/usr/include/c++/9/bits/stl_algobase.h:246:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from cake.cpp:1:
cake.cpp:96:39: note: deduced conflicting types for parameter 'const _Tp' ('long int' and 'long long int')
96 | assert(sz(vec)==min(n,10ll));
| ^
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from cake.cpp:1:
/usr/include/c++/9/bits/stl_algo.h:3444:5: note: candidate: 'template<class _Tp> constexpr _Tp std::min(std::initializer_list<_Tp>)'
3444 | min(initializer_list<_Tp> __l)
| ^~~
/usr/include/c++/9/bits/stl_algo.h:3444:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from cake.cpp:1:
cake.cpp:96:39: note: mismatched types 'std::initializer_list<_Tp>' and 'long int'
96 | assert(sz(vec)==min(n,10ll));
| ^
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from cake.cpp:1:
/usr/include/c++/9/bits/stl_algo.h:3450:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::min(std::initializer_list<_Tp>, _Compare)'
3450 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
/usr/include/c++/9/bits/stl_algo.h:3450:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from cake.cpp:1:
cake.cpp:96:39: note: mismatched types 'std::initializer_list<_Tp>' and 'long int'
96 | assert(sz(vec)==min(n,10ll));
| ^
cake.cpp:22:18: warning: statement has no effect [-Wunused-value]
22 | #define bug(...) 49
| ^~
cake.cpp:97:30: note: in expansion of macro 'bug'
97 | for(auto i: vec) bug(i);
| ^~~
cake.cpp:97:22: warning: unused variable 'i' [-Wunused-variable]
97 | for(auto i: vec) bug(i);
| ^