Borderou de evaluare (job #1043951)

Utilizator tudor.rotarusTudor Rotarus tudor.rotarus Data 29 noiembrie 2013 02:54:21
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:32: error: size of array ‘s’ is too large double v[1000000],s[10000000000],maxim; ^ user.cpp: In function ‘void create(int, int, int)’: user.cpp:14:9: error: ‘s’ was not declared in this scope s[poz]=v[st]; ^ user.cpp:21:9: error: ‘s’ was not declared in this scope s[poz]=max(s[poz*2],s[poz*2+1]); ^ user.cpp: In function ‘void modif(int, int, int, int, int)’: user.cpp:29:9: error: ‘s’ was not declared in this scope s[poz]=b; ^ user.cpp:42:9: error: ‘s’ was not declared in this scope s[poz]=max(s[poz*2],s[poz*2+1]); ^ user.cpp: In function ‘void interval(int, int, int, int, int)’: user.cpp:50:18: error: ‘s’ was not declared in this scope if(maxim<s[poz]) ^

Ceva nu functioneaza?