Borderou de evaluare (job #606873)

Utilizator avatar LucaT Tiron Luca LucaT IP ascuns
Problemă Paranteze 1 (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 20 sept. 2021 20:35:25 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int solve1()': main.cpp:42:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 42 | if(nr>maxi) | ^~ main.cpp:44:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 44 | nr=0; | ^~ main.cpp: In function 'int main()': main.cpp:54:1: error: 'out' was not declared in this scope; did you mean 'fout'? 54 | out<<solve1(); | ^~~ | fout