Borderou de evaluare (job #1177448)

Utilizator lianaliana tucar liana Data 26 aprilie 2014 12:35:46
Problema Cuvant Status done
Runda ONIS 2014, Runda 4 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&t); ^ user.cpp:34:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10005]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:37:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] num[c]=0; ^ user.cpp:39:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] num[s[i]]++; ^ user.cpp:40:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&L); ^ user.cpp:44:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr[c][0]=1; ^ user.cpp:47:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr[c][lg]=0; ^ user.cpp:48:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (y=0;((y<=num[c])&&(y<=lg));y++) ^ user.cpp:49:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr[c][lg]=(nr[c][lg] + nr[c-1][lg-y]*comb[lg][y])%modulo; ^ user.cpp:49:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr[c][lg]=(nr[c][lg] + nr[c-1][lg-y]*comb[lg][y])%modulo; ^ user.cpp:52:34: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",nr['z'][L]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1160ms4280kbIncorect0
Punctaj total0

Ceva nu functioneaza?