Borderou de evaluare (job #1399750)

Utilizator hevelebalazshevele balazs hevelebalazs Data 24 martie 2015 21:42:10
Problema Por Costel si Comisia de Cenzura Status done
Runda Arhiva ICPC Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘put’: user.c:20:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(!t->c[c])t->c[c]=(T*)calloc(1,sizeof(T)); ^ user.c:20:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:21:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] t=t->c[c]; ^ user.c: In function ‘main’: user.c:53:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(t->c[c])t=t->c[c];else break; ^ user.c:53:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:34:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("cenzura.in","r",stdin); ^ user.c:35:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("cenzura.out","w",stdout); ^ user.c:37:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&t); ^ user.c:39:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&n); ^ user.c:40:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^ user.c:41:23: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] fr(i,0,n)scanf("%i",p+i); ^ user.c:42:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i",&m); ^ user.c:44:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",S); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1912msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?