Borderou de evaluare (job #1982572)

Utilizator DEYDEY2Tudorica Andrei DEYDEY2 Data 19 mai 2017 14:19:26
Problema Traseu Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: In file included from user.c:8:0: /usr/include/i386-linux-gnu/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" [-Wcpp] # warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE" ^ user.c: In function ‘main’: user.c:52:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, &size, 1); ^ user.c:53:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, x, sizeof(char)*size); ^ user.c:55:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd1, &size_field, 1); ^ user.c:57:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd1, &the_string, size_field); ^ user.c:69:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, &length, 1); ^ user.c:70:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, "PING", size_field); ^ user.c:71:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, &length, 1); ^ user.c:72:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, "PONG", size_field); ^ user.c:73:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, &variant, sizeof(int)); ^ user.c:80:8: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd1, &number, sizeof(long)); ^ user.c:87:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, &size_field, 1); ^ user.c:88:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, "CREATE_SHM", size_field); ^ user.c:90:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, &size_field, 1); ^ user.c:91:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, "ERROR", size_field); ^ user.c:103:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, &size_field, 1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms228kbNon-zero exit status.0
20ms228kbNon-zero exit status.0
30ms224kbNon-zero exit status.0
40ms228kbNon-zero exit status.0
50ms228kbNon-zero exit status.0
60ms224kbNon-zero exit status.0
70ms228kbNon-zero exit status.0
80ms232kbNon-zero exit status.0
90ms224kbNon-zero exit status.0
100ms224kbNon-zero exit status.0
Punctaj total0

Ceva nu functioneaza?