Borderou de evaluare (job #1747634)

Utilizator bogdi1bogdan bancuta bogdi1 Data 25 august 2016 11:51:57
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+(const HugeN&)’: user.cpp:59: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:64:16: warning: unused variable ‘aux’ [-Wunused-variable] int i,nr=0,aux; ^ user.cpp: In function ‘int main()’: user.cpp:79: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:80: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:82:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:83:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &k); ^ /tmp/cc6R0Cgg.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
14ms3204kbOK10
24ms3204kbOK10
30ms260kbIncorect0
40ms276kbIncorect0
50ms328kbIncorect0
60ms460kbIncorect0
70ms768kbIncorect0
84ms1556kbIncorect0
94ms2020kbIncorect0
108ms4176kbIncorect0
Punctaj total20

Ceva nu functioneaza?