Borderou de evaluare (job #1472733)

Utilizator enacheionutEnache Ionut enacheionut Data 17 august 2015 17:27:09
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/cci9o9hb.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
10ms280kbOK10
20ms284kbOK10
30ms276kbOK10
40ms336kbKilled by signal 6(SIGABRT).0
50ms336kbKilled by signal 6(SIGABRT).0
60ms332kbKilled by signal 6(SIGABRT).0
70ms336kbKilled by signal 6(SIGABRT).0
80ms332kbKilled by signal 6(SIGABRT).0
90ms336kbKilled by signal 6(SIGABRT).0
100ms336kbKilled by signal 6(SIGABRT).0
Punctaj total30

Ceva nu functioneaza?