Borderou de evaluare (job #1747207)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 24 august 2016 16:52:07
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In member function ‘HugeN HugeN::operator+(int)’: user.cpp:28:9: warning: unused variable ‘r’ [-Wunused-variable] int i, r = 0, aux; ^ user.cpp: In member function ‘long long int HugeN::operator%(long long int)’: user.cpp:42:19: warning: unused variable ‘aux’ [-Wunused-variable] long long r = 0, aux; ^ user.cpp: In function ‘int main()’: user.cpp:50:9: warning: unused variable ‘i’ [-Wunused-variable] int i; ^ user.cpp:48:32: 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:49:34: 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:52:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &d); ^ /tmp/ccgCMkOx.o: In function `main': user.cpp:(.text.startup+0x59): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms8096kbOK10
212ms8096kbOK10
30ms292kbOK10
40ms336kbOK10
520ms8132kbOK10
636msDepăşitMemory limit exceeded.0
732msDepăşitMemory limit exceeded.0
860msDepăşitMemory limit exceeded.0
980msDepăşitMemory limit exceeded.0
1084msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?