Borderou de evaluare (job #886922)

Utilizator alex_unixPetenchea Alexandru alex_unix Data 23 februarie 2013 13:42:04
Problema Logic Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void get_variables()’: user.cpp:23: warning: array subscript has type ‘char’ user.cpp:25: warning: array subscript has type ‘char’ user.cpp:31: warning: array subscript has type ‘char’ user.cpp:32: warning: array subscript has type ‘char’ user.cpp:33: warning: array subscript has type ‘char’ user.cpp:30: warning: suggest explicit braces to avoid ambiguous ‘else’ user.cpp:40: warning: array subscript has type ‘char’ user.cpp:42: warning: array subscript has type ‘char’ user.cpp: In function ‘bool priority4(char*)’: user.cpp:94: warning: array subscript has type ‘char’ user.cpp: In function ‘void backtracking()’: user.cpp:116: warning: array subscript has type ‘char’ user.cpp: In function ‘int main()’: user.cpp:131: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:132: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:133: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:137: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:138: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:139: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:140: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘bool priority4(char*)’: user.cpp:86: warning: ‘r’ may be used uninitialized in this function /tmp/cc7bZ7It.o: In function `main': user.cpp:(.text+0x20f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms240kbOK10
24ms244kbOK10
34ms240kbOK10
44ms244kbOK10
58ms240kbOK10
64ms244kbOK10
74ms240kbOK10
80ms240kbOK10
94ms240kbOK10
104ms244kbOK10
Punctaj total100

Ceva nu functioneaza?