Borderou de evaluare (job #1541281)

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

Raport evaluator

Compilare: user.cpp: In function ‘bool comp(char*, int, int)’: user.cpp:82:22: warning: NULL used in arithmetic [-Wpointer-arith] if(s[ind] == NULL) ^ user.cpp:85:20: warning: NULL used in arithmetic [-Wpointer-arith] if(s[++ind] != NULL) ^ user.cpp: In function ‘bool cmp(ret, ret)’: user.cpp:134:25: warning: NULL used in arithmetic [-Wpointer-arith] if(a.ingr[i] == NULL) ^ user.cpp:136:25: warning: NULL used in arithmetic [-Wpointer-arith] if(b.ingr[i] == NULL) ^ user.cpp: In function ‘int main()’: user.cpp:154:12: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] sir[i] = NULL; ^ user.cpp: In function ‘bool cmp(ret, ret)’: user.cpp:144:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms568kbOK!10
20ms616kbRaspuns Gresit0
38msDepăşitMemory limit exceeded.0
40ms428kbAfisarea Ingredientelor gresita3
516msDepăşitMemory limit exceeded.0
648msDepăşitMemory limit exceeded.0
716msDepăşitMemory limit exceeded.0
836msDepăşitMemory limit exceeded.0
948msDepăşitMemory limit exceeded.0
1020msDepăşitMemory limit exceeded.0
Punctaj total13

Ceva nu functioneaza?