Borderou de evaluare (job #2971100)

Utilizator coso2312Cosmin Bucur coso2312 Data 26 ianuarie 2023 16:37:34
Problema Subsecventa de suma maxima Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:21:23: error: 'maxim' was not declared in this scope 21 | if (sum > maxim) { | ^~~~~ main.cpp:23:21: error: 'i1' was not declared in this scope; did you mean 'i'? 23 | i1 = i; | ^~ | i main.cpp:24:21: error: 'i2' was not declared in this scope; did you mean 'i'? 24 | i2 = j; | ^~ | i main.cpp:28:13: error: 'maxim' was not declared in this scope 28 | fout << maxim << " " << i1 << " " << i2; | ^~~~~ main.cpp:28:29: error: 'i1' was not declared in this scope; did you mean 'y1'? 28 | fout << maxim << " " << i1 << " " << i2; | ^~ | y1 main.cpp:28:42: error: 'i2' was not declared in this scope 28 | fout << maxim << " " << i1 << " " << i2; | ^~ Non zero exit status: 1

Ceva nu functioneaza?