Borderou de evaluare (job #1486638)

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

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),gets(s),gets(t),n=strlen(s); ^ user.c:19:83: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default] freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),gets(s),gets(t),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),gets(s),gets(t),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),gets(s),gets(t),n=strlen(s); ^ user.c:19:69: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result] freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),gets(s),gets(t),n=strlen(s); ^ user.c:19:77: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result] freopen("swap.in","r",stdin),freopen("swap.out","w",stdout),gets(s),gets(t),n=strlen(s); ^ /tmp/ccnOoFJN.o: In function `main': user.c:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
20ms264kbOK10
30ms320kbOK10
40ms504kbOK10
54ms832kbOK10
68ms1172kbOK10
78ms1216kbOK10
88ms1204kbOK10
98ms1196kbOK10
108ms1332kbOK10
Punctaj total100

Ceva nu functioneaza?