0_0_29874197_29402.cpp: In function 'int main()':
0_0_29874197_29402.cpp:94:35: error: invalid initialization of reference of type 'int&' from expression of type 'll {aka long long int}'
update(ans, f[i][j][k][n & 1]);
^
0_0_29874197_29402.cpp:42:13: note: in passing argument 1 of 'void update(int&, int)'
inline void update(int& a, int b) {
^
|