Borderou de evaluare (job #2367766)

Utilizator BogdanRuleaBogdan Rulea BogdanRulea Data 5 martie 2019 12:08:46
Problema Joc9 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void citire()': main.cpp:13:9: warning: unused variable 'c' [-Wunused-variable] int c=1; ^ main.cpp: At global scope: main.cpp:23:5: error: ISO C++ forbids declaration of 'sol' with no type [-fpermissive] sol() ^ main.cpp: In function 'int sol()': main.cpp:33:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] else if(s1[i-1][j]<s1[i-1][j-1]) ^~ main.cpp:35:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' v1.maxscor=max(v1.maxscor,s1[i][j]); ^~ main.cpp:42:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(s2[i][j-1]<s2[i+1][j]) ^~ main.cpp:44:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' v2.maxscor=max(v2.maxscor,s2[i][j]); ^~ main.cpp:51:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] else if(s3[i][j+1]<s3[i+1][j+1]) ^~ main.cpp:53:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' v3.maxscor=max(v3.maxscor,s3[i][j]); ^~ main.cpp:66:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ Non zero exit status: 1

Ceva nu functioneaza?