Borderou de evaluare (job #658664)

Utilizator andrici_cezarAndrici Cezar andrici_cezar Data 9 ianuarie 2012 11:49:10
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int rez(char*)’: user.cpp:44: warning: deprecated conversion from string constant to ‘char*’ user.cpp:44: warning: deprecated conversion from string constant to ‘char*’ user.cpp:45: warning: deprecated conversion from string constant to ‘char*’ user.cpp:45: warning: deprecated conversion from string constant to ‘char*’ user.cpp:47: warning: comparison between signed and unsigned integer expressions user.cpp:48: warning: deprecated conversion from string constant to ‘char*’ user.cpp:48: warning: deprecated conversion from string constant to ‘char*’ user.cpp:49: warning: deprecated conversion from string constant to ‘char*’ user.cpp:49: warning: deprecated conversion from string constant to ‘char*’ user.cpp:50: warning: deprecated conversion from string constant to ‘char*’ user.cpp:50: warning: deprecated conversion from string constant to ‘char*’ user.cpp:51: warning: deprecated conversion from string constant to ‘char*’ user.cpp:51: warning: deprecated conversion from string constant to ‘char*’ user.cpp:53: warning: comparison between signed and unsigned integer expressions user.cpp:54: warning: deprecated conversion from string constant to ‘char*’ user.cpp:54: warning: deprecated conversion from string constant to ‘char*’ user.cpp:55: warning: deprecated conversion from string constant to ‘char*’ user.cpp:55: warning: deprecated conversion from string constant to ‘char*’ user.cpp:56: warning: deprecated conversion from string constant to ‘char*’ user.cpp:56: warning: deprecated conversion from string constant to ‘char*’ user.cpp:57: warning: deprecated conversion from string constant to ‘char*’ user.cpp:57: warning: deprecated conversion from string constant to ‘char*’ user.cpp:61: warning: comparison between signed and unsigned integer expressions user.cpp:63: warning: deprecated conversion from string constant to ‘char*’ user.cpp:63: warning: deprecated conversion from string constant to ‘char*’ user.cpp:64: warning: deprecated conversion from string constant to ‘char*’ user.cpp:64: warning: deprecated conversion from string constant to ‘char*’ user.cpp: In function ‘int main()’: user.cpp:80: warning: deprecated conversion from string constant to ‘char*’ user.cpp:80: warning: deprecated conversion from string constant to ‘char*’ user.cpp:81: warning: deprecated conversion from string constant to ‘char*’ user.cpp:81: warning: deprecated conversion from string constant to ‘char*’ user.cpp:82: warning: deprecated conversion from string constant to ‘char*’ user.cpp:82: warning: deprecated conversion from string constant to ‘char*’ user.cpp:83: warning: deprecated conversion from string constant to ‘char*’ user.cpp:83: warning: deprecated conversion from string constant to ‘char*’ user.cpp:84: warning: deprecated conversion from string constant to ‘char*’ user.cpp:84: warning: deprecated conversion from string constant to ‘char*’ user.cpp:85: warning: deprecated conversion from string constant to ‘char*’ user.cpp:85: warning: deprecated conversion from string constant to ‘char*’ user.cpp:86: warning: deprecated conversion from string constant to ‘char*’ user.cpp:91: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘int’ user.cpp:73: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:74: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:76: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:77: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:78: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result /tmp/cci0902R.o: In function `main': user.cpp:(.text+0x354): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK!10
20ms248kbWrong answer!0
34ms252kbOK!10
44ms248kbOK!10
536ms252kbOK!10
632ms252kbOK!10
732ms252kbOK!10
828ms248kbOK!10
932ms248kbOK!10
1032ms248kbOK!10
Punctaj total90

Ceva nu functioneaza?