Borderou de evaluare (job #1891336)

Utilizator PeraPera Alexandru Pera Data 23 februarie 2017 22:13:46
Problema Char Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] fr[V[i]]++;} ^ user.cpp:25:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(fr[j]!=0){ ^ user.cpp:26:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] fin>>P[j]; ^ user.cpp:27:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(P[j]>Pmax){ ^ user.cpp:28:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] Pmax=P[j]; ^ user.cpp:29:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap=fr[j];} ^ user.cpp:31:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(P[j]==Pmax) ^ user.cpp:32:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap+=fr[j];} ^ user.cpp:35:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(i-P[V[i]]>=1) ^ user.cpp:36:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] Int[i].st=i-P[V[i]]; ^ user.cpp:39:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(i+P[V[i]]<=n) ^ user.cpp:40:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] Int[i].dr=i+P[V[i]]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbOK10
20ms432kbOK10
30ms428kbOK10
40ms432kbOK10
50ms428kbOK10
60ms428kbOK10
70ms444kbOK10
80ms516kbOK10
94ms516kbOK10
104ms512kbOK10
Punctaj total100

Ceva nu functioneaza?