Borderou de evaluare (job #1593027)

Utilizator VascBogdanVasc Bogdan VascBogdan Data 8 februarie 2016 11:22:28
Problema Arc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:20: error: size of array ‘v’ is too large int n, v[1000000000], i, j, istart, ifinal, lungimeMax, V; ^ user.cpp: In function ‘void eliminare(int, int)’: user.cpp:10:8: error: ‘v’ was not declared in this scope v[i] = v[i+stop-start+1]; ^ user.cpp:12:10: error: ‘v’ was not declared in this scope while(v[start] == v[start-1]) start--; ^ user.cpp:14:10: error: ‘v’ was not declared in this scope while(v[start] == v[stop]) stop++; ^ user.cpp: In function ‘void maxSec()’: user.cpp:30:13: error: ‘v’ was not declared in this scope while(v[i] == v[j] && j<=n) ^ user.cpp:32:10: error: ‘v’ was not declared in this scope if(v[i]!=v[j] && j-i>=3 && j-i > lungimeMax) ^ user.cpp: In function ‘int main()’: user.cpp:54:28: error: ‘v’ was not declared in this scope for(i=1; i<=n; i++) f >> v[i]; ^ user.cpp:62:35: error: ‘v’ was not declared in this scope for(i=1; i<=n; i++) g << v[i] << "\n"; ^ user.cpp:73:18: error: ‘v’ was not declared in this scope if(v[i] != v[j] || j>n) ^

Ceva nu functioneaza?