Borderou de evaluare (job #1472756)

Utilizator enacheionutEnache Ionut enacheionut Data 17 august 2015 17:58:38
Problema Edist Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:16:5: warning: format ‘%d’ expects a matching ‘int *’ argument [-Wformat=] scanf("%d %d %d %d",&lungime_sir1,&lungime_sir2,&restrictie); ^ user.c:13:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("edist.in","r",stdin); ^ user.c:14:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("edist.out","w",stdout); ^ user.c:16: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:18:9: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result] gets(sir1); ^ user.c:19:9: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result] gets(sir2); ^ /tmp/ccaHao9I.o: In function `main': user.c:(.text.startup+0x92): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOK10
20ms272kbOK10
30ms268kbOK10
40ms332kbKilled by signal 6(SIGABRT).0
50ms332kbKilled by signal 6(SIGABRT).0
60ms332kbKilled by signal 6(SIGABRT).0
70ms332kbKilled by signal 6(SIGABRT).0
80ms324kbKilled by signal 6(SIGABRT).0
90ms328kbKilled by signal 6(SIGABRT).0
100ms332kbKilled by signal 6(SIGABRT).0
Punctaj total30

Ceva nu functioneaza?