Borderou de evaluare (job #2096689)

Utilizator Mihai145Oprea Mihai Adrian Mihai145 Data 29 decembrie 2017 16:48:20
Problema Secv7 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int cs1()’: user.cpp:69:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int cs2()’: user.cpp:93:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int cs3()’: user.cpp:117:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:122: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:125:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &a[i]); ^ user.cpp: In function ‘int cs1()’: user.cpp:67:16: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] sol2=p2; ^ user.cpp:66:16: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] sol1=p1; ^ user.cpp: In function ‘int cs2()’: user.cpp:91:16: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] sol2=p2; ^ user.cpp:90:16: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] sol1=p1; ^ user.cpp: In function ‘int cs3()’: user.cpp:115:16: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] sol2=p2; ^ user.cpp:114:16: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] sol1=p1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms460kbOK!1030
20ms460kbOK!10
30ms456kbOK!10
40ms460kbOK!1010
50ms500kbOK!1010
60ms528kbOK!1010
74ms564kbOK!1010
84ms588kbOK!1010
94ms620kbOK!1010
108ms684kbOK!1010
Punctaj total100

Ceva nu functioneaza?