Borderou de evaluare (job #68611)

Utilizator avatar czlatea Zlatea Cezar czlatea IP ascuns
Problemă Vrăji (clasa a 5-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 17 apr. 2014 09:34:32 Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:9:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:9:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat] user.cpp:18:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat] user.cpp:18:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat] user.cpp:34:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.cpp:34:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat] user.cpp:7:27: warning: unused variable ‘prod’ [-Wunused-variable] user.cpp:7:42: warning: unused variable ‘l’ [-Wunused-variable] user.cpp:7:50: warning: unused variable ‘x’ [-Wunused-variable] user.cpp:5:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:6:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:18:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 240 kb foloseste vectori 0
2 0 ms 248 kb foloseste vectori 0
3 0 ms 248 kb foloseste vectori 0
4 0 ms 248 kb foloseste vectori 0
5 0 ms 248 kb foloseste vectori 0
6 0 ms 244 kb foloseste vectori 0
7 0 ms 240 kb foloseste vectori 0
8 0 ms 244 kb foloseste vectori 0
9 0 ms 248 kb foloseste vectori 0
10 0 ms 244 kb foloseste vectori 0
Punctaj total 0