Borderou de evaluare (job #1958980)

Utilizator mihai.alphamihai craciun mihai.alpha Data 8 aprilie 2017 22:51:26
Problema Desen Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘double PRIM()’: user.cpp:73:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(unsigned int i = 0;i < n;i++) ^ user.cpp: In function ‘int main()’: user.cpp:90:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(unsigned int j = 1;j <= i - 1;j++) { ^ user.cpp:92:39: warning: narrowing conversion of ‘j’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] v[j].push_back({j, i, cst}); ^ user.cpp:93:39: warning: narrowing conversion of ‘j’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] v[i].push_back({i, j, cst}); ^ user.cpp:83:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:84:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &x[1], &y[1]); ^ user.cpp:89:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &x[i], &y[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms344kbOK!10
20ms376kbWrong Answer!0
34ms460kbWrong Answer!0
480ms3008kbWrong Answer!0
5Depăşit10928kbTime limit exceeded.0
6Depăşit10832kbTime limit exceeded.0
7Depăşit10932kbTime limit exceeded.0
8Depăşit10716kbTime limit exceeded.0
9Depăşit10936kbTime limit exceeded.0
10Depăşit10796kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?