Borderou de evaluare (job #1466103)

Utilizator cojocarugabiReality cojocarugabi Data 28 iulie 2015 17:34:54
Problema Puteri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:73:53: error: ‘nx’ was not declared in this scope for (int i = 1;i <= n;++i) fi>>a[i]>>b[i]>>c[i],nx = max(max(nx,a[i]),max(b[i],c[i])); ^ user.cpp:74:5: error: ‘nx’ was not declared in this scope nx = 64; ^ user.cpp:82:36: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(s[i][j],0,sizeof(s[i][j])); ^ user.cpp:87:27: error: expected primary-expression before ‘)’ token memset(s,0,sizeof()) ^ user.cpp:88:9: error: expected ‘;’ before ‘for’ for (int i = 1;i <= n;++i) ^ user.cpp:88:24: error: ‘i’ was not declared in this scope for (int i = 1;i <= n;++i) ^ user.cpp:88:34: error: expected ‘;’ before ‘)’ token for (int i = 1;i <= n;++i) ^

Ceva nu functioneaza?