Borderou de evaluare (job #1486620)

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

Raport evaluator

Compilare: 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:29:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] M(0,n-1),printf("%d",l); ^ 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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbKilled by signal 11(SIGSEGV).0
20ms244kbKilled by signal 11(SIGSEGV).0
30ms264kbKilled by signal 11(SIGSEGV).0
40ms444kbKilled by signal 11(SIGSEGV).0
50ms556kbKilled by signal 11(SIGSEGV).0
60ms744kbKilled by signal 11(SIGSEGV).0
70ms792kbKilled by signal 11(SIGSEGV).0
80ms776kbKilled by signal 11(SIGSEGV).0
90ms768kbKilled by signal 11(SIGSEGV).0
100ms276kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?