Borderou de evaluare (job #1717351)

Utilizator moise_alexandruMoise Alexandru moise_alexandru Data 14 iunie 2016 18:46:32
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void parsare(int&)’: user.cpp:53:41: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(txt, 1, max_size, fin); ^ user.cpp:62:41: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(txt, 1, max_size, fin); ^ user.cpp: In function ‘int main()’: user.cpp:71:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.in", "r", stdin); ^ user.cpp:72:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.out", "w", stdout); ^ user.cpp:78:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(T); ^ user.cpp:79:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(T); ^ user.cpp:80:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(T); ^ user.cpp:85:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(T); ^ /tmp/cc6KcKik.o: In function `main': user.cpp:(.text.startup+0xb2): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms596kbKilled by signal 6(SIGABRT).00
24ms592kbKilled by signal 6(SIGABRT).00
34ms604kbKilled by signal 6(SIGABRT).00
44ms640kbKilled by signal 6(SIGABRT).00
54ms728kbKilled by signal 6(SIGABRT).00
64ms888kbKilled by signal 6(SIGABRT).0
78msDepăşitMemory limit exceeded.00
88msDepăşitMemory limit exceeded.0
98msDepăşitMemory limit exceeded.0
1012msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?