Borderou de evaluare (job #1486621)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 15 septembrie 2015 11:39:11
Problema Swap Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘M’: user.c:14:10: error: invalid type argument of unary ‘*’ (have ‘long long int’) (*l)+=m-i+1,v[k++]=r[j++]; ^ user.c:14:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] (*l)+=m-i+1,v[k++]=r[j++]; ^ user.c: In function ‘main’: user.c:19:5: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),fgets(s,50001,stdin),fgets(t,50001,stdin),n=strlen(s); ^ user.c:19:109: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default] freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),fgets(s,50001,stdin),fgets(t,50001,stdin),n=strlen(s); ^ user.c:19:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),fgets(s,50001,stdin),fgets(t,50001,stdin),n=strlen(s); ^ user.c:19:41: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),fgets(s,50001,stdin),fgets(t,50001,stdin),n=strlen(s); ^ user.c:19:70: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),fgets(s,50001,stdin),fgets(t,50001,stdin),n=strlen(s); ^ user.c:19:91: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),fgets(s,50001,stdin),fgets(t,50001,stdin),n=strlen(s); ^

Ceva nu functioneaza?