Borderou de evaluare (job #3229445)

Utilizator petrutgGheorghies Petrut-Rares petrutg Data 15 mai 2024 23:42:47
Problema Euclid Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:46:31: error: lvalue required as left operand of assignment 46 | if(i+(1<<(k-1))<=x=cmmdc(x,rmq[i+(1<<(k-1))][j][k-1][p]); | ~~~~~~~~~~~~^~~ main.cpp:47:33: error: expected ')' before ';' token 47 | rmq[i][j][k][p]=x; | ^ | ) main.cpp:46:18: note: to match this '(' 46 | if(i+(1<<(k-1))<=x=cmmdc(x,rmq[i+(1<<(k-1))][j][k-1][p]); | ^ main.cpp:47:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 47 | rmq[i][j][k][p]=x; | ~~~~~~~~~~~~~~~^~ Non zero exit status: 1

Ceva nu functioneaza?