Borderou de evaluare (job #2892610)

Utilizator puica2018Puica Andrei puica2018 Data 22 aprilie 2022 21:04:28
Problema Portocal Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void dfs(int, int)': main.cpp:127:29: error: cannot bind non-const lvalue reference of type 'int&' to an rvalue of type 'int' 127 | add(mul,1LL*ways[v][1]*fastExp(ways[v][0],mod-2)%mod); | ^~~ main.cpp:20:15: note: initializing argument 1 of 'void add(int&, int)' 20 | void add(int &x,int y) | ~~~~~^ Non zero exit status: 1

Ceva nu functioneaza?