Borderou de evaluare (job #1472719)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 17 august 2015 16:59:32
Problema Heavy Path Decomposition Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘D’: user.c:12:3: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration] l[o]=++h,d[h]=1,memcpy(pu,p[h],p[h][0]),pu[++p[h][0]]=o,p[h]=(int*)realloc(p[h],sizeof(int)*(p[h][0]+1)),memcpy(p[h],pu,p[h][0]); ^ user.c:12:19: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default] l[o]=++h,d[h]=1,memcpy(pu,p[h],p[h][0]),pu[++p[h][0]]=o,p[h]=(int*)realloc(p[h],sizeof(int)*(p[h][0]+1)),memcpy(p[h],pu,p[h][0]); ^ user.c:15:22: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default] l[o]=l[b],d[l[o]]++,memcpy(pu,p[l[o]],p[l[o]][0]),pu[++p[l[o]][0]]=o,p[l[o]]=(int*)realloc(p[l[o]],sizeof(int)*(p[l[o]][0]+1)),memcpy(p[l[o]],pu,p[l[o]][0]); ^ user.c: In function ‘main’: user.c:48:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("heavypath.in","r",stdin),freopen("heavypath.out","w",stdout),scanf("%d%d",&n,&m); ^ user.c:48:43: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("heavypath.in","r",stdin),freopen("heavypath.out","w",stdout),scanf("%d%d",&n,&m); ^ user.c:48:77: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] freopen("heavypath.in","r",stdin),freopen("heavypath.out","w",stdout),scanf("%d%d",&n,&m); ^ user.c:50:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",v+i); ^ user.c:52:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a[i],&b[i]),oi[a[i]]++,oi[b[i]]++; ^ user.c:63:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&t,&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms284kbKilled by signal 11(SIGSEGV).00
20ms288kbKilled by signal 11(SIGSEGV).0
30ms340kbKilled by signal 11(SIGSEGV).00
40ms396kbKilled by signal 11(SIGSEGV).0
548msDepăşitMemory limit exceeded.00
632ms1988kbKilled by signal 11(SIGSEGV).0
752msDepăşitMemory limit exceeded.0
832ms1988kbKilled by signal 11(SIGSEGV).0
972msDepăşitMemory limit exceeded.00
1064ms3680kbKilled by signal 11(SIGSEGV).0
1176msDepăşitMemory limit exceeded.0
1268ms3680kbKilled by signal 11(SIGSEGV).0
1396msDepăşitMemory limit exceeded.00
1492ms4820kbKilled by signal 11(SIGSEGV).0
1596msDepăşitMemory limit exceeded.0
1688ms4824kbKilled by signal 11(SIGSEGV).0
17116msDepăşitMemory limit exceeded.00
18112ms5912kbKilled by signal 11(SIGSEGV).0
19116msDepăşitMemory limit exceeded.0
20112ms5916kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?