Borderou de evaluare (job #2002813)

Utilizator victoreVictor Popa victore Data 20 iulie 2017 20:25:19
Problema Diviz Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:12: warning: unused variable ‘ind’ [-Wunused-variable] int nr,ind,rest; ^ user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diviz.in","r",stdin); ^ user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diviz.out","w",stdout); ^ user.cpp:18:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n",&k,&a,&b); ^ user.cpp:19:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/ccYERU2D.o: In function `main': user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms392kbOK10
20ms320kbOK10
34msDepăşitMemory limit exceeded.0
40ms496kbOK10
54ms852kbOK10
696msDepăşitMemory limit exceeded.0
7148msDepăşitMemory limit exceeded.0
8148msDepăşitMemory limit exceeded.0
996msDepăşitMemory limit exceeded.0
1096msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?