Borderou de evaluare (job #1541267)

Utilizator filip.mihalutMihalut Filip filip.mihalut Data 3 decembrie 2015 21:40:07
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 3

Raport evaluator

Compilare: user.cpp: In function ‘bool comp(char*, int, int)’: user.cpp:81:22: warning: NULL used in arithmetic [-Wpointer-arith] if(s[ind] == NULL) ^ user.cpp:84:20: warning: NULL used in arithmetic [-Wpointer-arith] if(s[++ind] != NULL) ^ user.cpp: In function ‘bool cmp(ret, ret)’: user.cpp:133:25: warning: NULL used in arithmetic [-Wpointer-arith] if(a.ingr[i] == NULL) ^ user.cpp:135:25: warning: NULL used in arithmetic [-Wpointer-arith] if(b.ingr[i] == NULL) ^ user.cpp:143:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms564kbRaspuns Gresit0
20ms628kbRaspuns Gresit0
38msDepăşitMemory limit exceeded.0
40ms564kbAfisarea Ingredientelor gresita3
524msDepăşitMemory limit exceeded.0
644msDepăşitMemory limit exceeded.0
716msDepăşitMemory limit exceeded.0
824msDepăşitMemory limit exceeded.0
948msDepăşitMemory limit exceeded.0
1020msDepăşitMemory limit exceeded.0
Punctaj total3

Ceva nu functioneaza?