Borderou de evaluare (job #1786425)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 22 octombrie 2016 22:12:45
Problema Rute Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In constructor ‘HugeN::HugeN()’: user.cpp:20:19: error: ‘i’ was not declared in this scope for ( i = 0 ; i < MAX_DIGITS ; ++ i ) ^ user.cpp: In member function ‘void HugeN::atrib(int)’: user.cpp:25:37: error: ‘memset’ was not declared in this scope memset( x, 0, sizeof(x) ); ^ user.cpp:27:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] x[++x[0]] = nr % 10; ^ user.cpp: In member function ‘HugeN HugeN::scan(char*)’: user.cpp:32:31: error: ‘strlen’ was not declared in this scope x[0] = strlen ( s ); ^ user.cpp: In member function ‘int HugeN::cmp(const HugeN&)’: user.cpp:38:32: warning: unused variable ‘n’ [-Wunused-variable] int i, cif1, cif2, n; ^ user.cpp: In member function ‘void HugeN::reset()’: user.cpp:68:41: error: ‘memset’ was not declared in this scope memset ( x, 0, sizeof ( x ) ); ^ user.cpp: In member function ‘HugeN HugeN::operator+(const HugeN&)’: user.cpp:85:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] temp.x[++temp.x[0]] = tr; ^ user.cpp: In member function ‘HugeN HugeN::operator*(int)’: user.cpp:98:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] temp.x[++temp.x[0]] = tr % BASE; ^ user.cpp: In member function ‘HugeN HugeN::operator/=(int)’: user.cpp:110:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] while ( x[x[0]] == 0 && x[0] > 1 ) ^

Ceva nu functioneaza?