Borderou de evaluare (job #69091)

Utilizator avatar czlatea Zlatea Cezar czlatea IP ascuns
Problemă Aritmetica (clasa a 6-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 25 apr. 2014 22:47:42 Scor 49

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:17:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.cpp:19:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.cpp:21:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.cpp:22:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat] user.cpp:5:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:6:41: 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:18:5: warning: ‘c’ may be used uninitialized in this function [-Wuninitialized]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 252 kb a) OK; b) linie incorecta; c) linie incorecta 3
2 0 ms 244 kb a) OK; b) linie incorecta; c) linie incorecta 3
3 0 ms 244 kb a) OK; b) linie incorecta; c) OK 7
4 0 ms 252 kb a) OK; b) linie incorecta; c) linie incorecta 3
5 0 ms 252 kb a) OK; b) OK; c) linie incorecta 6
6 0 ms 252 kb a) OK; b) linie incorecta; c) linie incorecta 3
7 0 ms 248 kb a) OK; b) linie incorecta; c) OK 7
8 0 ms 248 kb a) OK; b) linie incorecta; c) OK 7
9 0 ms 252 kb a) linie incorecta; b) linie incorecta; c) linie incorecta 0
10 0 ms 248 kb OK 10
Punctaj total 49