Borderou de evaluare (job #2166519)

Utilizator ben_swoloBen Swolo ben_swolo Data 13 martie 2018 17:34:33
Problema Vase Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:37:16: warning: implicit declaration of function ‘abs’ [-Wimplicit-function-declaration] if(abs(vol-ss+v[st]) >= abs(vol-ss)){ ^ user.c:38:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(f2,"%lld ",abs(vol-ss+v[st])); ^ user.c:44:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(f2,"\n%lld ",abs(vol-ss)); ^ user.c:51:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(f2,"%lld ",abs(vol-ss)); ^ user.c:56:28: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(f2,"\n%lld ",abs(vol-ss+v[st])); ^ user.c:13:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d",&n); ^ user.c:15:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d ",&lic); ^ user.c:28:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
140ms2060kbPrimul numar corect1
20ms1232kbPrimul numar corect1
340ms2056kbPrimul numar corect1
440ms2024kbPrimul numar corect1
50ms1276kbPrimul numar corect1
60ms1324kbPrimul numar corect1
70ms1360kbPrimul numar corect1
80ms1320kbPrimul numar corect1
912ms1548kbPrimul numar corect1
1016ms1632kbPrimul numar corect1
110ms1360kbPrimul numar corect1
1232ms1984kbPrimul numar corect1
1332ms1932kbPrimul numar corect1
140ms1336kbPrimul numar corect1
150ms1352kbPrimul numar corect1
160ms1236kbPrimul numar corect1
1740ms2104kbPrimul numar corect1
1840ms2116kbPrimul numar corect1
1928ms1964kbPrimul numar corect1
200ms1352kbPrimul numar corect1
Punctaj total20

Ceva nu functioneaza?