Borderou de evaluare (job #3038917)

Utilizator daristyleBejan Darius-Ramon daristyle Data 27 martie 2023 21:57:43
Problema Cool Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:30:43: error: 'i' was not declared in this scope 30 | if(mx - mn == j - i) | ^ main.cpp:66:35: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 66 | if(mx - mn == j - i) | ^ Non zero exit status: 1

Ceva nu functioneaza?