Borderou de evaluare (job #1472761)

Utilizator enacheionutEnache Ionut enacheionut Data 17 august 2015 18:01:45
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/ccrrOuNn.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
10ms268kbOK10
20ms264kbOK10
30ms264kbOK10
40ms328kbKilled by signal 6(SIGABRT).0
50ms328kbKilled by signal 6(SIGABRT).0
60ms328kbKilled by signal 6(SIGABRT).0
70ms328kbKilled by signal 6(SIGABRT).0
80ms328kbKilled by signal 6(SIGABRT).0
90ms328kbKilled by signal 6(SIGABRT).0
100ms328kbKilled by signal 6(SIGABRT).0
Punctaj total30

Ceva nu functioneaza?