Borderou de evaluare (job #779413)

Utilizator vendettaSalajan Razvan vendetta Data 17 august 2012 17:20:24
Problema Diviz Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void citeste()’: user.cpp:19: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘short int*’ user.cpp:19: warning: format ‘%d’ expects type ‘int*’, but argument 3 has type ‘short int*’ user.cpp:19: warning: format ‘%d’ expects type ‘int*’, but argument 4 has type ‘short int*’ user.cpp:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘int main()’: user.cpp:82: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:83: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result /tmp/ccyW4Ygk.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
14ms416kbOK10
24ms412kbOK10
34ms484kbOK10
44ms424kbOK10
54ms432kbOK10
632ms464kbOK10
716ms468kbOK10
812ms480kbOK10
940ms532kbOK10
10Depăşit536kbTime limit exceeded.0
Punctaj total90

Ceva nu functioneaza?