Main.cpp: In function 'void dfs(long long int, long long int, long long int)':
Main.cpp:54:32: error: 'i' was not declared in this scope
54 | res = add(res, calcsub(2 * i));
| ^
Main.cpp:54:20: error: 'calcsub' was not declared in this scope
54 | res = add(res, calcsub(2 * i));
| ^~~~~~~
Main.cpp:58:12: warning: left operand of comma operator is a reference, not call, to function 'add' [-Waddress]
58 | res = (add, res, calcsub(2 * i + 1));
| ^~~
Main.cpp:58:12: warning: left operand of comma operator has no effect [-Wunused-value]
Main.cpp:58:34: error: 'i' was not declared in this scope
58 | res = (add, res, calcsub(2 * i + 1));
| ^
Main.cpp:58:22: error: 'calcsub' was not declared in this scope
58 | res = (add, res, calcsub(2 * i + 1));
| ^~~~~~~