Borderou de evaluare (job #2700122)

Utilizator JaguarKatStere Teodor Ioanin JaguarKat Data 26 ianuarie 2021 16:32:20
Problema Bere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10:11: error: array bound is not an integer constant before ']' token int s[NMAX]; ^ main.cpp: In function 'int main()': main.cpp:17:16: error: 's' was not declared in this scope fin >> s[i]; ^ main.cpp:25:18: error: 's' was not declared in this scope if (x >= s[n]) ^ main.cpp:31:13: error: 's' was not declared in this scope if (s[n] - s[k - 1] <= x) ^ main.cpp:40:17: error: 's' was not declared in this scope if (s[md] - s[k - 1] > x) ^ Non zero exit status: 1

Ceva nu functioneaza?