0_0_17230553_6493.cpp: In function 'int main()':
0_0_17230553_6493.cpp:30:48: error: invalid initialization of reference of type 'LL& {aka long long int&}' from expression of type 'int'
Max(f[S|(1<<j)][j],f[S][i]+a[i+1]*a[j+1]);
^
0_0_17230553_6493.cpp:8:6: note: in passing argument 1 of 'void Max(LL&, LL)'
void Max(LL &x,LL y){if (y>x) x=y;}
^
0_0_17230553_6493.cpp:33:33: error: invalid initialization of reference of type 'LL& {aka long long int&}' from expression of type 'int'
Max(ans,f[(1<<n)-1][i]);
^
0_0_17230553_6493.cpp:8:6: note: in passing argument 1 of 'void Max(LL&, LL)'
void Max(LL &x,LL y){if (y>x) x=y;}
^
|