Borderou de evaluare (job #1595105)

Utilizator vdrutaDruta Vasile Ovidiu vdruta Data 9 februarie 2016 22:32:51
Problema Floyd-Warshall/Roy-Floyd Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:395:45: error: ‘S_IRUSR’ undeclared (first use in this function) fd2 = open("royfloyd.out", O_CREAT|O_RDWR, S_IRUSR|S_IWUSR); ^ user.c:395:45: note: each undeclared identifier is reported only once for each function it appears in user.c:395:53: error: ‘S_IWUSR’ undeclared (first use in this function) fd2 = open("royfloyd.out", O_CREAT|O_RDWR, S_IRUSR|S_IWUSR); ^ user.c: In function ‘ft_putchar_fd’: user.c:22:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, &c, 1); ^ user.c: In function ‘ft_putchar’: user.c:66:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(1, &c, 1); ^

Ceva nu functioneaza?