Borderou de evaluare (job #2093238)

Utilizator mihai.alphamihai craciun mihai.alpha Data 23 decembrie 2017 11:36:13
Problema Gard2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In member function ‘void Huge::add(Huge)’: user.cpp:35:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] char tobe = v[i] + b.v[i] + rest; ^ user.cpp:35:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] char tobe = v[i] + b.v[i] + rest; ^ user.cpp:40:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[i] = tobe % (int)10; ^ user.cpp: In member function ‘char Huge::add_i(char)’: user.cpp:49:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] char tobe = v[i] + nr % (int)10 + rest; ^ user.cpp:54:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[i] = tobe % (int)10; ^ user.cpp:59:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In member function ‘void Huge::Deb()’: user.cpp:63:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] cerr << v[i]; ^ user.cpp: In member function ‘void Huge::Afis()’: user.cpp:68:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] printf("%hu", v[i]); ^ user.cpp: In member function ‘void Huge::mul(char)’: user.cpp:75:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[i] = v[i] * nr + rest; ^ user.cpp:75:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[i] = v[i] * nr + rest; ^ user.cpp:76:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] rest = v[i] / (int)10; ^ user.cpp:77:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[i] %= (int)10; ^ user.cpp: In member function ‘void Huge::mul_h(Huge)’: user.cpp:89:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux.v[st] += v[j] * b.v[i] + rest; ^ user.cpp:89:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux.v[st] += v[j] * b.v[i] + rest; ^ user.cpp:89:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux.v[st] += v[j] * b.v[i] + rest;
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms800kbOK5
20ms804kbOK5
30ms804kbOK5
40ms800kbOK5
50ms808kbOK5
60ms804kbOK5
70ms808kbOK5
80ms808kbOK5
90ms804kbOK5
108ms804kbOK5
110ms800kbOK5
1220ms804kbOK5
1332ms804kbOK5
1432ms800kbOK5
15Depăşit808kbTime limit exceeded.0
164ms808kbOK5
170ms808kbOK5
18Depăşit776kbTime limit exceeded.0
19Depăşit808kbTime limit exceeded.0
20Depăşit776kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?