Borderou de evaluare (job #897657)

Utilizator nbibestNeagu Bogdan Ioan nbibest Data 27 februarie 2013 21:39:17
Problema Project management Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 88

Raport evaluator

Compilare: user.cpp: In function ‘int calc(long int)’: user.cpp:17: warning: unused variable ‘i’ user.cpp: In function ‘long int maxx(std::vector<long int, std::allocator<long int> >)’: user.cpp:39: warning: comparison between signed and unsigned integer expressions user.cpp: In function ‘long int maxx2(std::vector<long int, std::allocator<long int> >)’: user.cpp:58: warning: comparison between signed and unsigned integer expressions user.cpp:56: warning: unused variable ‘j’ user.cpp: In function ‘int calc2(int, long int)’: user.cpp:85: warning: comparison between signed and unsigned integer expressions user.cpp:76: warning: unused variable ‘p’ user.cpp:96: warning: no return statement in function returning non-void user.cpp: In function ‘int main()’: user.cpp:120: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long int*’ user.cpp:130: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long int*’ user.cpp:135: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long int*’ user.cpp:139: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long int*’ user.cpp:162: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’ user.cpp:197: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’ user.cpp:197: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’ user.cpp:117: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:118: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:120: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:130: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:135: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:139: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms412kbOK!10
24ms412kbOK!10
34ms432kbOK!10
44ms408kbOK!10
54ms448kbA doua valoare gresita!7
64ms480kbOK!10
74ms420kbA doua valoare gresita!7
84ms424kbA doua valoare gresita!7
94ms424kbA doua valoare gresita!7
104ms420kbOK!10
Punctaj total88

Ceva nu functioneaza?