Borderou de evaluare (job #2926968)

Utilizator r.gheGheorghe Rebecca r.ghe Data 19 octombrie 2022 00:06:55
Problema Elicop 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:52:22: error: expected '(' before '}' token 52 | } | ^ | ( main.cpp:59:22: error: expected '(' before '}' token 59 | } | ^ | ( main.cpp:65:18: error: invalid types 'int[int]' for array subscript 65 | total=(lat[p]*lat[p]-lat[p])/2 + lat[p]; | ^ main.cpp:65:25: error: invalid types 'int[int]' for array subscript 65 | total=(lat[p]*lat[p]-lat[p])/2 + lat[p]; | ^ main.cpp:65:32: error: invalid types 'int[int]' for array subscript 65 | total=(lat[p]*lat[p]-lat[p])/2 + lat[p]; | ^ main.cpp:65:44: error: invalid types 'int[int]' for array subscript 65 | total=(lat[p]*lat[p]-lat[p])/2 + lat[p]; | ^ Non zero exit status: 1

Ceva nu functioneaza?