Pagini recente » Borderou de evaluare (job #439419) | Borderou de evaluare (job #1604083) | Borderou de evaluare (job #833698) | Borderou de evaluare (job #673958) | Borderou de evaluare (job #1251318)
Borderou de evaluare (job #1251318)
Raport evaluator
Compilare:
user.c: In function ‘mergee’:
user.c:23:20: warning: operation on ‘a’ may be undefined [-Wsequence-point]
if(P[a]<P[b]) a^=b^=a^=b;
^
user.c: In function ‘main’:
user.c:33:5: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
par=(int*)malloc((n)*sizeof(int));
^
user.c:33:15: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
par=(int*)malloc((n)*sizeof(int));
^
user.c:38:5: warning: implicit declaration of function ‘qsort’ [-Wimplicit-function-declaration]
qsort(t,m,sizeof(el),cmp);
^
user.c:30:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.in","r",stdin);
^
user.c:31:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.out","w",stdout);
^
user.c:32:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.c:36:20: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
fr(i,0,m) scanf("%d%d%d",&t[i].fp,&t[i].ep,&t[i].s),--t[i].fp,--t[i].ep;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Corect | 10 |
2 | 0ms | 260kb | Corect | 10 |
3 | 0ms | 276kb | Corect | 10 |
4 | 0ms | 268kb | Corect | 10 |
5 | 0ms | 272kb | Corect | 10 |
6 | 132ms | 2900kb | Corect | 10 |
7 | 228ms | 4748kb | Corect | 10 |
8 | 44ms | 1052kb | Corect | 10 |
9 | 56ms | 1316kb | Corect | 10 |
10 | 208ms | 4220kb | Corect | 10 |
Punctaj total | 100 |