Borderou de evaluare (job #1478535)

Utilizator enacheionutEnache Ionut enacheionut Data 28 august 2015 21:44:32
Problema Edist Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:14:5: warning: format ‘%d’ expects a matching ‘int *’ argument [-Wformat=] scanf("%d %d %d %d",&lungime_sir1,&lungime_sir2,&restrictie); ^ user.c:11:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("edist.in","r",stdin); ^ user.c:12:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("edist.out","w",stdout); ^ user.c:14:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d",&lungime_sir1,&lungime_sir2,&restrictie); ^ user.c:17:9: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result] gets(sir1); ^ user.c:20:9: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result] gets(sir2); ^ In file included from /usr/include/stdio.h:934:0, from user.c:1: In function ‘gets’, inlined from ‘main’ at user.c:17:9: /usr/include/i386-linux-gnu/bits/stdio2.h:230:3: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ In function ‘gets’, inlined from ‘main’ at user.c:20:9: /usr/include/i386-linux-gnu/bits/stdio2.h:230:3: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/ccLhzyGw.o: In function `main': user.c:(.text.startup+0x7e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms340kbKilled by signal 11(SIGSEGV).0
20ms356kbKilled by signal 6(SIGABRT).0
30ms360kbKilled by signal 6(SIGABRT).0
40ms428kbKilled by signal 6(SIGABRT).0
50ms400kbKilled by signal 6(SIGABRT).0
632ms9072kbKilled by signal 6(SIGABRT).0
744ms12328kbKilled by signal 6(SIGABRT).0
820msDepăşitMemory limit exceeded.0
920msDepăşitMemory limit exceeded.0
1020msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?