Pagini recente » Borderou de evaluare (job #938539) | Borderou de evaluare (job #1487320) | Borderou de evaluare (job #375363) | Borderou de evaluare (job #3241806) | Borderou de evaluare (job #2848340)
Borderou de evaluare (job #2848340)
Raport evaluator
Compilare:
main.cpp: In function 'void find_path()':
main.cpp:66:43: warning: 'best_i' may be used uninitialized in this function [-Wmaybe-uninitialized]
66 | if (piramida[k][best_i][best_j].index > piramida[k][current_i+d1[g]][current_j+d2[g]].index){
| ^
main.cpp:66:51: warning: 'best_j' may be used uninitialized in this function [-Wmaybe-uninitialized]
66 | if (piramida[k][best_i][best_j].index > piramida[k][current_i+d1[g]][current_j+d2[g]].index){
| ^
main.cpp:56:52: warning: 'current_j' may be used uninitialized in this function [-Wmaybe-uninitialized]
56 | path.push_back(piramida[m][current_i][current_j].index);
| ^
main.cpp:56:41: warning: 'current_i' may be used uninitialized in this function [-Wmaybe-uninitialized]
56 | path.push_back(piramida[m][current_i][current_j].index);
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 184kb | OK | 10 |
| 2 | 2ms | 184kb | OK | 10 |
| 3 | 2ms | 184kb | OK | 10 |
| 4 | 2ms | 184kb | OK | 10 |
| 5 | 11ms | 724kb | OK | 10 |
| 6 | 11ms | 815kb | OK | 10 |
| 7 | 16ms | 991kb | OK | 10 |
| 8 | 15ms | 991kb | OK | 10 |
| 9 | 16ms | 1085kb | OK | 10 |
| 10 | 2ms | 184kb | OK | 10 |
| Punctaj total | 100 |