Borderou de evaluare (job #754823)

Utilizator FlameingoAiordachioaei Marius Flameingo Data 3 iunie 2012 18:52:24
Problema Maxsecv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘int*’ user.cpp:16: warning: suggest explicit braces to avoid ambiguous ‘else’ user.cpp:8: warning: unused variable ‘c’ user.cpp:8: warning: unused variable ‘k’ user.cpp:7: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:7: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:9: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result /tmp/ccIXL8qm.o: In function `main': user.cpp:(.text+0xb8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms424kbOK10
24ms384kbKilled by signal 11(SIGSEGV).0
34ms384kbKilled by signal 11(SIGSEGV).0
44ms404kbKilled by signal 11(SIGSEGV).0
58ms580kbKilled by signal 11(SIGSEGV).0
68ms780kbKilled by signal 11(SIGSEGV).0
712ms1364kbKilled by signal 11(SIGSEGV).0
816ms1948kbKilled by signal 11(SIGSEGV).0
916ms2144kbKilled by signal 11(SIGSEGV).0
1016ms2332kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?