Borderou de evaluare (job #1044009)

Utilizator sorin_olimpicoolSorin Olimpicu sorin_olimpicool Data 29 noiembrie 2013 10:03:06
Problema Bemo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:40: error: initializer fails to determine size of ‘stuff’ int stuff[] = new int[1502 + 1502 + 2]; ^ user.cpp:10:40: error: array must be initialized with a brace-enclosed initializer user.cpp: In function ‘int main()’: user.cpp:24:31: error: ‘c’ was not declared in this scope int stuff[] = new int[c + r + 2]; ^ user.cpp:24:35: error: ‘r’ was not declared in this scope int stuff[] = new int[c + r + 2]; ^ user.cpp:24:40: error: initializer fails to determine size of ‘stuff’ int stuff[] = new int[c + r + 2]; ^ user.cpp:24:40: error: array must be initialized with a brace-enclosed initializer user.cpp:15:23: warning: unused variable ‘i’ [-Wunused-variable] int n = 5, m = 4, i = 0, j = 0, xx = 0, yy = 0, loga = 0, k = 0, len = 0, nr = 0; ^ user.cpp:15:30: warning: unused variable ‘j’ [-Wunused-variable] int n = 5, m = 4, i = 0, j = 0, xx = 0, yy = 0, loga = 0, k = 0, len = 0, nr = 0; ^ user.cpp:15:37: warning: unused variable ‘xx’ [-Wunused-variable] int n = 5, m = 4, i = 0, j = 0, xx = 0, yy = 0, loga = 0, k = 0, len = 0, nr = 0; ^ user.cpp:15:45: warning: unused variable ‘yy’ [-Wunused-variable] int n = 5, m = 4, i = 0, j = 0, xx = 0, yy = 0, loga = 0, k = 0, len = 0, nr = 0; ^ user.cpp:15:53: warning: unused variable ‘loga’ [-Wunused-variable] int n = 5, m = 4, i = 0, j = 0, xx = 0, yy = 0, loga = 0, k = 0, len = 0, nr = 0; ^ user.cpp:15:63: warning: unused variable ‘k’ [-Wunused-variable] int n = 5, m = 4, i = 0, j = 0, xx = 0, yy = 0, loga = 0, k = 0, len = 0, nr = 0; ^ user.cpp:15:70: warning: unused variable ‘len’ [-Wunused-variable] int n = 5, m = 4, i = 0, j = 0, xx = 0, yy = 0, loga = 0, k = 0, len = 0, nr = 0; ^ user.cpp:15:79: warning: unused variable ‘nr’ [-Wunused-variable] int n = 5, m = 4, i = 0, j = 0, xx = 0, yy = 0, loga = 0, k = 0, len = 0, nr = 0; ^

Ceva nu functioneaza?