Borderou de evaluare (job #727583)

Utilizator dumitrualexAlex Dumitru dumitrualex Data 28 martie 2012 09:19:37
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/cc2YnyhU.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
68ms340kbIncorect0
78ms288kbIncorect0
820ms376kbOK10
912ms332kbIncorect0
100ms248kbOK10
Punctaj total30

Ceva nu functioneaza?