Borderou de evaluare (job #1151038)

Utilizator suzanicaSuzanica Mihu suzanica Data 23 martie 2014 20:08:04
Problema Teatru Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void Citeste()’: user.cpp:23:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d", &n, &k); ^ user.cpp:23:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp: In function ‘void Afis()’: user.cpp:31:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d\n", Lmax); ^ user.cpp: In function ‘void Calculeaza()’: user.cpp:40:10: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[s[0]]++; nr++; ^ user.cpp:47:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (f[s[j]] == 0) ^ user.cpp:49:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[s[j]]++; ^ user.cpp:52:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] else f[s[j]]++; ^ user.cpp:63:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[s[i]]--; ^ user.cpp:64:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] if ( f[s[i]] == 0 ) nr--; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbOK10
20ms232kbOK10
38ms272kbOK10
44ms272kbOK10
58ms272kbOK10
64ms244kbOK10
74ms256kbOK10
84ms240kbOK10
98ms272kbOK10
108ms272kbOK10
Punctaj total100

Ceva nu functioneaza?