Borderou de evaluare (job #3280830)

Utilizator BiceaToader David Stefan Bicea Data 27 februarie 2025 17:02:50
Problema Concurs 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:73:52: error: the value of 'y' is not usable in a constant expression 73 | if(maxim<2*min(d[x][p],d[y-(1<<p)+1][p])); | ^ main.cpp:67:15: note: 'int y' is not const 67 | int x,y; | ^ main.cpp:73:52: error: the value of 'y' is not usable in a constant expression 73 | if(maxim<2*min(d[x][p],d[y-(1<<p)+1][p])); | ^ main.cpp:67:15: note: 'int y' is not const 67 | int x,y; | ^ main.cpp:73:52: error: the value of 'y' is not usable in a constant expression 73 | if(maxim<2*min(d[x][p],d[y-(1<<p)+1][p])); | ^ main.cpp:67:15: note: 'int y' is not const 67 | int x,y; | ^ main.cpp:73:52: error: the value of 'y' is not usable in a constant expression 73 | if(maxim<2*min(d[x][p],d[y-(1<<p)+1][p])); | ^ main.cpp:67:15: note: 'int y' is not const 67 | int x,y; | ^ main.cpp:73:52: error: the value of 'y' is not usable in a constant expression 73 | if(maxim<2*min(d[x][p],d[y-(1<<p)+1][p])); | ^ main.cpp:67:15: note: 'int y' is not const 67 | int x,y; | ^ main.cpp:73:52: error: the value of 'y' is not usable in a constant expression 73 | if(maxim<2*min(d[x][p],d[y-(1<<p)+1][p])); | ^ main.cpp:67:15: note: 'int y' is not const 67 | int x,y; | ^ main.cpp:73:52: error: the value of 'y' is not usable in a constant expression 73 | if(maxim<2*min(d[x][p],d[y-(1<<p)+1][p])); | ^ main.cpp:67:15: note: 'int y' is not const 67 | int x,y; | ^ main.cpp:73:52: error: the value of 'y' is not usable in a constant expression 73 | if(maxim<2*min(d[x][p],d[y-(1<<p)+1][p])); | ^ main.cpp:67:15: note: 'int y' is not const 67 | int x,y; | ^ main.cpp:73:52: error: the value of 'y' is not usable in a constant expression Non zero exit status: 1

Ceva nu functioneaza?