Borderou de evaluare (job #717711)

Utilizator dumitrualexAlex Dumitru dumitrualex Data 20 martie 2012 10:18:18
Problema Bifo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void scan(huge&)’: user.cpp:25: warning: format ‘%c’ expects type ‘char*’, but argument 2 has type ‘int*’ user.cpp:29: warning: format ‘%c’ expects type ‘char*’, but argument 2 has type ‘int*’ user.cpp:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘void citire()’: user.cpp:183: warning: format ‘%c’ expects type ‘char*’, but argument 2 has type ‘int*’ user.cpp:177: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:178: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:180: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:181: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:182: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:183: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp: In function ‘void rezolvare()’: user.cpp:206: warning: operation on ‘contor_sume’ may be undefined /tmp/ccW1M5NO.o: In function `citire()': user.cpp:(.text+0xdea): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms248kbIncorect0
34ms260kbIncorect0
44ms256kbIncorect0
54ms260kbIncorect0
68ms336kbIncorect0
78ms292kbIncorect0
820ms376kbOK10
912ms336kbIncorect0
100ms248kbOK10
Punctaj total30

Ceva nu functioneaza?