Pagini recente » Cod sursa (job #3143328) | Borderou de evaluare (job #1864088) | Borderou de evaluare (job #1944509) | Borderou de evaluare (job #3270539) | Borderou de evaluare (job #1339858)
Borderou de evaluare (job #1339858)
Raport evaluator
Compilare:
user.c: In function ‘inserare’:
user.c:27:5: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
aux=(nod*)malloc(sizeof(nod));
^
user.c:27:15: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
aux=(nod*)malloc(sizeof(nod));
^
user.c:25:18: warning: unused variable ‘x’ [-Wunused-variable]
nod *aux,*p,*x;
^
user.c: In function ‘main’:
user.c:78:13: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
h=(int*)malloc(N*sizeof(int));
^
user.c:72:61: warning: unused variable ‘index’ [-Wunused-variable]
int N,H,U,i,j,x,totalg=0,max,M,*h,*g,**gutui,H_curent=0,index=0;
^
user.c:72:44: warning: unused variable ‘gutui’ [-Wunused-variable]
int N,H,U,i,j,x,totalg=0,max,M,*h,*g,**gutui,H_curent=0,index=0;
^
user.c:72:17: warning: unused variable ‘j’ [-Wunused-variable]
int N,H,U,i,j,x,totalg=0,max,M,*h,*g,**gutui,H_curent=0,index=0;
^
user.c:75:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%i",&N);
^
user.c:76:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%i",&H);
^
user.c:77:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%i",&U);
^
user.c:82:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%i",&h[i]);
^
user.c:83:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%i",&g[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 260kb | OK | 10 |
| 3 | 0ms | 260kb | Incorect | 0 |
| 4 | 0ms | 268kb | Incorect | 0 |
| 5 | 0ms | 276kb | OK | 10 |
| 6 | 0ms | 280kb | Incorect | 0 |
| 7 | Depăşit | 536kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 572kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 892kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1140kb | Time limit exceeded. | 0 |
| Punctaj total | 30 |