0_0_38798596_1027.cpp: In function 'void solve()':
0_0_38798596_1027.cpp:345:10: error: 'function' is not a member of 'std'
345 | std::function<Poly(int, int)> mult = [&] (int l, int r) {
| ^~~~~~~~
0_0_38798596_1027.cpp:4:1: note: 'std::function' is defined in header '<functional>'; did you forget to '#include <functional>'?
3 | #include <vector>
+++ |+#include <functional>
4 |
0_0_38798596_1027.cpp:345:23: error: expected primary-expression before '(' token
345 | std::function<Poly(int, int)> mult = [&] (int l, int r) {
| ^
0_0_38798596_1027.cpp:345:24: error: expected primary-expression before 'int'
345 | std::function<Poly(int, int)> mult = [&] (int l, int r) {
| ^~~
0_0_38798596_1027.cpp:345:29: error: expected primary-expression before 'int'
345 | std::function<Poly(int, int)> mult = [&] (int l, int r) {
| ^~~
0_0_38798596_1027.cpp:345:35: error: 'mult' was not declared in this scope
345 | std::function<Poly(int, int)> mult = [&] (int l, int r) {
| ^~~~
0_0_38798596_1027.cpp: In instantiation of 'T inverse(T, T) [with T = int]':
0_0_38798596_1027.cpp:58:31: required from 'Modular<Mod> Modular<Mod>::inv() const [with int Mod = 998244353]'
0_0_38798596_1027.cpp:368:26: required from here
0_0_38798596_1027.cpp:17:11: error: 'assert' was not declared in this scope
17 | assert(b == 1);
| ~~~~~~^~~~~~~~
0_0_38798596_1027.cpp:4:1: note: 'assert' is defined in header '<cassert>'; did you forget to '#include <cassert>'?
3 | #include <vector>
+++ |+#include <cassert>
4 |
|