Borderou de evaluare (job #1747648)

Utilizator bogdi1bogdan bancuta bogdi1 Data 25 august 2016 12:13:19
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In constructor ‘HugeN::HugeN(int)’: user.cpp:21:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] x[++x[0]]=nr%10; ^ user.cpp: In member function ‘HugeN HugeN::operator+(long long int)’: user.cpp:60:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] temp.x[++temp.x[0]]=tr; ^ user.cpp: In member function ‘long long int HugeN::operator%(long long int)’: user.cpp:65:16: warning: unused variable ‘aux’ [-Wunused-variable] int i,nr=0,aux; ^ user.cpp: In function ‘int main()’: user.cpp:80:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] { freopen("next.in", "r",stdin); ^ user.cpp:81:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.out", "w",stdout); ^ user.cpp:83:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:84:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &k); ^ /tmp/ccqT3h3T.o: In function `main': user.cpp:(.text.startup+0x6c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms2228kbOK10
20ms2228kbOK10
30ms264kbIncorect0
40ms284kbIncorect0
50ms332kbIncorect0
60ms456kbIncorect0
70ms776kbIncorect0
84ms1572kbIncorect0
94ms2028kbIncorect0
108ms3204kbIncorect0
Punctaj total20

Ceva nu functioneaza?