Borderou de evaluare (job #894149)

Utilizator vladtarniceruVlad Tarniceru vladtarniceru Data 26 februarie 2013 19:59:28
Problema Logs Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘short int*’ user.cpp:13: warning: format ‘%d’ expects type ‘int*’, but argument 3 has type ‘short int*’ user.cpp:11: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result /tmp/cczAK8KS.o: In function `main': user.cpp:(.text+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms240kbOK10
28ms240kbIncorect0
320ms244kbIncorect0
476ms244kbIncorect0
5124ms244kbIncorect0
6208ms240kbIncorect0
7232ms240kbIncorect0
8Depăşit244kbTime limit exceeded.0
9312ms244kbIncorect0
10312ms244kbIncorect0
Punctaj total10

Ceva nu functioneaza?