Borderou de evaluare (job #2879540)

Utilizator Radu_Tanasebitlevel Radu_Tanase Data 28 martie 2022 18:39:39
Problema Paranteze 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:9:2: error: 'gets' was not declared in this scope; did you mean 'fgets'? 9 | gets(s); | ^~~~ | fgets main.cpp:20:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 20 | if(a[l]>0) | ^ main.cpp:25:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 25 | if(a[l]<0) | ^ Non zero exit status: 1

Ceva nu functioneaza?