Pagini recente » Borderou de evaluare (job #826339) | Borderou de evaluare (job #344106) | Borderou de evaluare (job #2745776) | Borderou de evaluare (job #1347371) | Borderou de evaluare (job #1978453)
Borderou de evaluare (job #1978453)
Raport evaluator
Compilare:
user.cpp: In function ‘int printMST(int*, int, int**)’:
user.cpp:34:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:64:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(input,"%d %d",&nodes,&edges);
^
user.cpp:79:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(input,"%d %d %d",&x,&y,&cost);
^
user.cpp: In function ‘int minKey(int*, bool*, int)’:
user.cpp:16:12: warning: ‘min_index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return min_index;
^
user.cpp: In function ‘void primMST(int**, int)’:
user.cpp:51:25: warning: ‘min_index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mstSet[u] = true;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | Corect | 10 |
2 | 0ms | 428kb | Corect | 10 |
3 | 0ms | 536kb | Cost incorect | 0 |
4 | 0ms | 632kb | Cost incorect | 0 |
5 | 0ms | 540kb | Cost incorect | 0 |
6 | 24ms | Depăşit | Memory limit exceeded. | 0 |
7 | 84ms | Depăşit | Memory limit exceeded. | 0 |
8 | 24ms | Depăşit | Memory limit exceeded. | 0 |
9 | 40ms | Depăşit | Memory limit exceeded. | 0 |
10 | 80ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 20 |