Stebuklingi saldainiai

Taškai: 0

Compile: FAIL

stebuklingi_saldainiai.cpp:79:13: error: ‘pair_hash’ was not declared in this scope map<pl, ll, pair_hash> kiek[17]; ^ stebuklingi_saldainiai.cpp:79:22: error: template argument 3 is invalid map<pl, ll, pair_hash> kiek[17]; ^ stebuklingi_saldainiai.cpp: In function ‘void dfs1(int, pl, int)’: stebuklingi_saldainiai.cpp:84:10: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘pl {aka std::pair<long long int, long long int>}’) kiek[k][curr]++; ^ stebuklingi_saldainiai.cpp: In function ‘void dfs2(int, pl, int)’: stebuklingi_saldainiai.cpp:100:31: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::pair<long long int, long long int>’) ats += fac[k + j] * kiek[j][D - curr]; ^ stebuklingi_saldainiai.cpp: In function ‘void solve()’: stebuklingi_saldainiai.cpp:122:11: error: request for member ‘clear’ in ‘kiek[i]’, which is of non-class type ‘int’ kiek[i].clear(); ^

nr.resulttimemessage