Borderou de evaluare (job #2270336)

Utilizator LORENNNALorena Grigorescu LORENNNA Data 27 octombrie 2018 10:35:00
Problema Pesti Status done
Runda evaluare_cex_sv_cls_x_2018 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:9:4: error: 'n' was not declared in this scope f>>n>>x; ^ main.cpp:9:7: error: 'x' was not declared in this scope f>>n>>x; ^ main.cpp:12:17: error: 'z' was not declared in this scope if(r==floor(r)) z=r-1; ^ main.cpp:14:5: error: 'z' was not declared in this scope z=r; ^ main.cpp:13:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:16:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' g<<r; ^ Non zero exit status: 1

Ceva nu functioneaza?