Borderou de evaluare (job #2098014)

Utilizator manu18Buza Gregor manu18 Data 2 ianuarie 2018 00:40:25
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:15:43: error: size of array ‘best’ is too large int n,buf,i,prec[10000000],best[1000000000],x[10000000],j; ^ user.cpp: In function ‘int main(int, const char**)’: user.cpp:44:23: error: ‘best’ was not declared in this scope best1=best[j]+1; ^ user.cpp:51:9: error: ‘best’ was not declared in this scope best[i]=max; ^ user.cpp:59:12: error: ‘best’ was not declared in this scope if(best[i]>max) ^

Ceva nu functioneaza?