Borderou de evaluare (job #1874268)

Utilizator mihai.alphamihai craciun mihai.alpha Data 9 februarie 2017 20:48:04
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:76: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:114:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(unsigned int i = 2;i <= N;i++) ^ user.cpp:115:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(unsigned int j = i + 1;j <= N;j++) ^ user.cpp:116:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(unsigned int k = j + 1;k <= N;k++) { ^ user.cpp:117:37: warning: narrowing conversion of ‘i’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] int nr1[] = {i, j, k}; ^ user.cpp:117:37: warning: narrowing conversion of ‘j’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] user.cpp:117:37: warning: narrowing conversion of ‘k’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing] user.cpp:124:33: warning: unused variable ‘uau’ [-Wunused-variable] int uau = getlca(nr1[t], nr1[u]); ^ user.cpp:118:22: warning: unused variable ‘nre’ [-Wunused-variable] bool nre[5]; ^ user.cpp:92: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:94: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:96: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:102: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
10ms300kbOK!10
20ms308kbWrong answer!0
30ms328kbWrong answer!0
44ms344kbWrong answer!0
512ms360kbWrong answer!0
640ms388kbWrong answer!0
7Depăşit440kbTime limit exceeded.0
8Depăşit448kbTime limit exceeded.0
9Depăşit444kbTime limit exceeded.0
10Depăşit448kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?