Borderou de evaluare (job #1901163)

Utilizator Mihai_PredaPreda Mihai Dragos Mihai_Preda Data 3 martie 2017 19:34:20
Problema Vecini2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:25:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[b[i]]++; ^ user.cpp:26:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] tAp[b[i]]++; ^ user.cpp: In function ‘void rezolvare()’: user.cpp:40:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[t] = tAp[t]; ^ user.cpp:40:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[t] = tAp[t]; ^ user.cpp:44:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ap[a[j]] > 0) ^ user.cpp:47:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[a[j]]--; ^ user.cpp:60:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ap[k] > 0) ^ user.cpp:63:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[k]--; ^ user.cpp:74:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ap[k] > 0) ^ user.cpp:77:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[k]--; ^ user.cpp:96:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[t] = tAp[t]; ^ user.cpp:96:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[t] = tAp[t]; ^ user.cpp:99:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ap[a[j]] > 0) ^ user.cpp:102:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[a[j]]--; ^ user.cpp:115:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(ap[k] > 0) ^ user.cpp:118:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] ap[k]--; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbOK10
20ms432kbOK10
30ms432kbOK10
40ms424kbOK10
50ms424kbOK10
60ms424kbOK10
74ms432kbOK10
848ms440kbOK10
988ms440kbOK10
10128ms460kbOK10
Punctaj total100

Ceva nu functioneaza?