Borderou de evaluare (job #2623497)

Utilizator Albert_GAlbert G Albert_G Data 3 iunie 2020 12:16:41
Problema Spirala Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void spirala()': main.cpp:45:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(a[l][c]-ant != dif) ^~ main.cpp:47:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' return 0; ^~~~~~ main.cpp:47:20: error: return-statement with a value, in function returning 'void' [-fpermissive] return 0; ^ main.cpp: At global scope: main.cpp:56:5: error: 'out' does not name a type out<<"DA"<<'\n'<<ant; ^~~ main.cpp:58:1: error: expected declaration before '}' token } ^ Non zero exit status: 1

Ceva nu functioneaza?