Borderou de evaluare (job #3365791)

Utilizator cosminapaliciucPaliciuc Cosmina cosminapaliciuc Data 24 septembrie 2026 11:49:03
Problema Problema Damelor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:19:15: warning: multi-character character constant [-Wmultichar] 19 | fout<<'/n'; | ^~~~ main.cpp:42:16: warning: multi-character character constant [-Wmultichar] 42 | fout<<sol<<'/n'; | ^~~~ main.cpp: In function 'void back(int)': main.cpp:23:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 23 | for(int col =1; col<=n; col++) | ^~~ main.cpp:25:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 25 | if(dp[n+1+linie-col])continue; | ^~ main.cpp:25:25: error: 'col' was not declared in this scope; did you mean 'sol'? 25 | if(dp[n+1+linie-col])continue; | ^~~ | sol main.cpp:25:30: error: continue statement not within a loop 25 | if(dp[n+1+linie-col])continue; | ^~~~~~~~ main.cpp:26:21: error: 'col' was not declared in this scope; did you mean 'sol'? 26 | if(ds[linie+col]) continue; | ^~~ | sol main.cpp:26:27: error: continue statement not within a loop 26 | if(ds[linie+col]) continue; | ^~~~~~~~ main.cpp:27:18: error: 'col' was not declared in this scope; did you mean 'sol'? 27 | p[linie]=col; | ^~~ | sol main.cpp:38:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 38 | int main() | ^~ main.cpp:38:9: note: remove parentheses to default-initialize a variable 38 | int main() | ^~ | -- main.cpp:38:9: note: or replace parentheses with braces to value-initialize a variable main.cpp:39:1: error: a function-definition is not allowed here before '{' token 39 | { | ^ main.cpp:44:2: error: expected '}' at end of input 44 | } | ^ main.cpp:12:1: note: to match this '{' 12 | { | ^ Non zero exit status: 1

Ceva nu functioneaza?