Borderou de evaluare (job #779387)

Utilizator vendettaSalajan Razvan vendetta Data 17 august 2012 16:53:26
Problema Diviz Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void citeste()’: user.cpp:18: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘short int*’ user.cpp:18: warning: format ‘%d’ expects type ‘int*’, but argument 3 has type ‘short int*’ user.cpp:18: warning: format ‘%d’ expects type ‘int*’, but argument 4 has type ‘short int*’ user.cpp:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘int main()’: user.cpp:69: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:70: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result /tmp/ccABgJ9r.o: In function `citeste()': user.cpp:(.text+0x34a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms408kbOK10
24ms408kbIncorect0
34ms476kbIncorect0
44ms416kbIncorect0
58ms432kbIncorect0
6Depăşit444kbTime limit exceeded.0
7Depăşit420kbTime limit exceeded.0
8Depăşit436kbTime limit exceeded.0
9Depăşit488kbTime limit exceeded.0
10Depăşit504kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?