Borderou de evaluare (job #642997)

Utilizator alexalghisiAlghisi Alessandro Paolo alexalghisi Data 2 decembrie 2011 18:27:13
Problema Robot3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: 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: format ‘%d’ expects type ‘int*’, but argument 5 has type ‘short int*’ user.cpp:16: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:17: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:23: /usr/include/bits/stdio2.h:253: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms416kbOK10
24ms788kbOK10
34ms472kbIncorect0
44ms488kbKilled by signal 6(SIGABRT).0
560msDepăşitMemory limit exceeded.0
660msDepăşitMemory limit exceeded.0
74ms488kbKilled by signal 6(SIGABRT).0
84ms488kbKilled by signal 6(SIGABRT).0
94ms492kbKilled by signal 6(SIGABRT).0
104ms484kbKilled by signal 6(SIGABRT).0
Punctaj total20

Ceva nu functioneaza?