Borderou de evaluare (job #1958929)

Utilizator mihai.alphamihai craciun mihai.alpha Data 8 aprilie 2017 21:20:37
Problema Desen Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:84:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(unsigned int j = 1;j <= i - 1;j++) { ^ user.cpp:86:39: warning: narrowing conversion of ‘j’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] v[j].push_back({j, i, cst}); ^ user.cpp:87:39: warning: narrowing conversion of ‘j’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] v[i].push_back({i, j, cst}); ^ user.cpp:77: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:78: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:83: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
10ms336kbOK!10
20ms400kbOK!10
312ms568kbOK!10
4Depăşit3056kbTime limit exceeded.0
5Depăşit2956kbTime limit exceeded.0
6Depăşit2888kbTime limit exceeded.0
7Depăşit2848kbTime limit exceeded.0
8Depăşit2548kbTime limit exceeded.0
9Depăşit2832kbTime limit exceeded.0
10Depăşit2896kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?