Borderou de evaluare (job #1874330)

Utilizator mihai.alphamihai craciun mihai.alpha Data 9 februarie 2017 21:58:40
Problema Petrica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void df1(int)’: user.cpp:71:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0;i < G[nod].size();i++) if(folosit[nod][G[nod][i]] == 0) { ^ user.cpp: In function ‘int main()’: user.cpp:109:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(unsigned int i = 2;i <= N;i++) ^ user.cpp:110:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(unsigned int j = i + 1;j <= N;j++) ^ user.cpp:111:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(unsigned int k = j + 1;k <= N;k++) { ^ user.cpp:112:37: warning: narrowing conversion of ‘i’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] int nr1[] = {i, j, k}; ^ user.cpp:112:37: warning: narrowing conversion of ‘j’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] user.cpp:112:37: warning: narrowing conversion of ‘k’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] user.cpp:119:33: warning: unused variable ‘uau’ [-Wunused-variable] int uau = getlca(nr1[t], nr1[u]); ^ user.cpp:113:22: warning: unused variable ‘nre’ [-Wunused-variable] bool nre[5]; ^ user.cpp:87: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:89:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &v[i]); ^ user.cpp:91:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &x, &y); ^ user.cpp:97:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK!10
20ms292kbWrong answer!0
30ms300kbWrong answer!0
44ms300kbWrong answer!0
512ms296kbWrong answer!0
636ms300kbWrong answer!0
7Depăşit304kbTime limit exceeded.0
8Depăşit288kbTime limit exceeded.0
9Depăşit280kbTime limit exceeded.0
10Depăşit284kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?