Pagini recente » Borderou de evaluare (job #1265124) | Borderou de evaluare (job #1453379) | Borderou de evaluare (job #2348828) | Borderou de evaluare (job #3106) | Borderou de evaluare (job #2279098)
Borderou de evaluare (job #2279098)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:100:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < result.size() ; i++) {
~~^~~~~~~~~~~~~~~
main.cpp:21:15: warning: unused variable 'j' [-Wunused-variable]
int i, k, j, step;
^
main.cpp:66:25: warning: 'potentialDistance' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(current_potential == potentialDistance) {
^~
main.cpp:62:125: warning: 'potentialValue' may be used uninitialized in this function [-Wmaybe-uninitialized]
int current_potential = potentialValue + (cost[leftNode][idx[k]] - potential[idx[k]] - leftNodePotential);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect | 10 |
| 2 | 2ms | 131kb | Corect | 10 |
| 3 | 4ms | 393kb | Corect | 10 |
| 4 | 4ms | 393kb | Corect | 10 |
| 5 | 4ms | 393kb | Corect | 10 |
| 6 | 39ms | 655kb | Suma costurilor nu este buna | 0 |
| 7 | 37ms | 655kb | Corect | 10 |
| 8 | 46ms | 917kb | Suma costurilor nu este buna | 0 |
| 9 | 44ms | 917kb | Suma costurilor nu este buna | 0 |
| 10 | 45ms | 917kb | Suma costurilor nu este buna | 0 |
| Punctaj total | 60 |