Borderou de evaluare (job #1498939)

Utilizator Bogdan1999Draghici Bogdan Bogdan1999 Data 9 octombrie 2015 21:47:00
Problema Lacuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int backed_lee(int, int, int)’: user.cpp:82:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int dei(int, int, int)’: user.cpp:108:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:117:18: warning: unused variable ‘t’ [-Wunused-variable] int n, i, j, t, s, d, k, ok; ^ user.cpp:117:24: warning: unused variable ‘d’ [-Wunused-variable] int n, i, j, t, s, d, k, ok; ^ user.cpp:117:27: warning: unused variable ‘k’ [-Wunused-variable] int n, i, j, t, s, d, k, ok; ^ user.cpp: In function ‘int lee(int)’: user.cpp:49:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:114:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lacuri.in","r",stdin); ^ user.cpp:115:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lacuri.out","w",stdout); ^ user.cpp:121:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:124:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms480kbOK!10
20ms528kbOK!10
30ms516kbOK!10
40ms504kbOK!10
54ms768kbOK!10
64ms960kbOK!10
74ms964kbOK!10
80ms496kbOK!10
90ms572kbOK!10
100ms484kbOK!10
Punctaj total100

Ceva nu functioneaza?