Borderou de evaluare (job #1682011)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 9 aprilie 2016 21:49:14
Problema NN Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:52:13: warning: unused variable ‘x’ [-Wunused-variable] int x , y; ^ user.cpp:52:17: warning: unused variable ‘y’ [-Wunused-variable] int x , y; ^ user.cpp:60:13: warning: unused variable ‘x’ [-Wunused-variable] int x , y , xx , yy; ^ user.cpp:60:17: warning: unused variable ‘y’ [-Wunused-variable] int x , y , xx , yy; ^ user.cpp:60:21: warning: unused variable ‘xx’ [-Wunused-variable] int x , y , xx , yy; ^ user.cpp:60:26: warning: unused variable ‘yy’ [-Wunused-variable] int x , y , xx , yy; ^ user.cpp:46:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nn.in","r",stdin); ^ user.cpp:47:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nn.out","w",stdout); ^ user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:53:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &v[i].x, &v[i].y); ^ user.cpp:61:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &a.x, &a.y); ^ user.cpp:62:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &b.x, &b.y); ^ user.cpp: In function ‘int cauta(fractie, int)’: user.cpp:41:18: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized] return ret + 1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms420kbIncorect0
20ms424kbIncorect0
30ms432kbIncorect0
40ms432kbIncorect0
50ms436kbIncorect0
692ms916kbIncorect0
7168ms924kbIncorect0
8192ms996kbIncorect0
992ms680kbIncorect0
10220ms1004kbIncorect0
Punctaj total0

Ceva nu functioneaza?