Borderou de evaluare (job #1607242)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 20 februarie 2016 22:19:09
Problema Vila 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:15: warning: unused variable ‘j’ [-Wunused-variable] int n, i, j, s, t, d, k, st1, dr1, st2, dr2 , ma; ^ user.cpp:19:18: warning: unused variable ‘s’ [-Wunused-variable] int n, i, j, s, t, d, k, st1, dr1, st2, dr2 , ma; ^ user.cpp:19:21: warning: unused variable ‘t’ [-Wunused-variable] int n, i, j, s, t, d, k, st1, dr1, st2, dr2 , ma; ^ user.cpp:19:24: warning: unused variable ‘d’ [-Wunused-variable] int n, i, j, s, t, d, k, st1, dr1, st2, dr2 , ma; ^ user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vila2.in","r",stdin); ^ user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vila2.out","w",stdout); ^ user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms276kbOK10
30ms312kbOK10
48ms372kbOK10
58ms468kbOK10
612ms460kbOK10
720ms540kbOK10
816ms620kbOK10
928ms656kbOK10
1028ms656kbOK10
Punctaj total100

Ceva nu functioneaza?