Borderou de evaluare (job #1856942)

Utilizator calin1Serban Calin calin1 Data 25 ianuarie 2017 17:32:31
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘void frunze()’: user.cpp:21:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(grad[i] == 1) ^ user.cpp: In function ‘void prelucrare()’: user.cpp:39:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(it = G[nod].begin() ; it != G[nod].end() ; ++it) ^ user.cpp:39:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(it = G[nod].begin() ; it != G[nod].end() ; ++it) ^ user.cpp:41:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(grad[*it]) ^ user.cpp:43:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] grad[*it]--; ^ user.cpp:44:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] cost[*it] += (cost[nod] + 1); ^ user.cpp:44:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] cost[*it] += (cost[nod] + 1); ^ user.cpp:46:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] grad[nod]--; ^ user.cpp:48:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(!grad[nod]) ^ user.cpp:52:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] cost_total += (cost[nod] + 1); ^ user.cpp:55:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(grad[*it] == 1) ^ user.cpp:57:47: warning: array subscript has type ‘char’ [-Wchar-subscripts] pq.push(make_pair(cost[*it],*it)); ^ user.cpp: In function ‘void citire()’: user.cpp:76:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] grad[a]++; ^ user.cpp:77:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] grad[b]++; ^ user.cpp:79:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] G[a].push_back(b); ^ user.cpp:80:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] G[b].push_back(a);
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms552kbIncorect0
20ms548kbOK5
30ms552kbIncorect0
40ms556kbIncorect0
50ms548kbIncorect0
60ms552kbIncorect0
70ms552kbIncorect0
80ms552kbIncorect0
90ms556kbIncorect0
100ms552kbIncorect0
110ms556kbIncorect0
120ms556kbIncorect0
130ms552kbIncorect0
140ms556kbIncorect0
150ms548kbIncorect0
160ms548kbIncorect0
170ms556kbIncorect0
180ms552kbIncorect0
190ms552kbIncorect0
200ms552kbIncorect0
Punctaj total5

Ceva nu functioneaza?