Borderou de evaluare (job #1136798)

Utilizator robertstrecheStreche Robert robertstreche Data 9 martie 2014 11:14:41
Problema Echilibru Status done
Runda ONIS 2014, Runda 3 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:17: error: size of array ‘a’ is too large int a[1000000000]; ^ user.cpp: In function ‘int main()’: user.cpp:30:17: error: ‘a’ was not declared in this scope a[i]=0; ^ user.cpp:35:23: error: ‘a’ was not declared in this scope if (a[i] && a[i]<n) ^ user.cpp:40:20: error: ‘a’ was not declared in this scope a[v[k]]=1; ^ user.cpp:43:21: error: ‘a’ was not declared in this scope if (a[s/2]) ^

Ceva nu functioneaza?