Problem binomial
User haydendoo
Submission Time 2023-01-10 12:23:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binomial.cpp: In function ‘int main()’:
binomial.cpp:68:23: error: invalid initialization of reference of type ‘__gnu_pbds::gp_hash_table<long long int, long long int>&’ from expression of type ‘std::unordered_map<long long int, long long int>’
68 | combine(delta_fact, tmp);
| ^~~
binomial.cpp:30:68: note: in passing argument 2 of ‘void combine(__gnu_pbds::gp_hash_table<long long int, long long int>&, __gnu_pbds::gp_hash_table<long long int, long long int>&)’
30 | void combine(unordered_map<int, int> &m1, unordered_map<int, int> &m2){
| ^
binomial.cpp:72:22: error: invalid initialization of reference of type ‘__gnu_pbds::gp_hash_table<long long int, long long int>&’ from expression of type ‘std::unordered_map<long long int, long long int>’
72 | combine(numerator, tmp);
| ^~