Borderou de evaluare (job #1814304)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 23 noiembrie 2016 20:32:25
Problema Ecuatii 2 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:21:5: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] for(i=0; i<=strlen(ecuatie); i++){ ^ user.c:21:17: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default] for(i=0; i<=strlen(ecuatie); i++){ ^ user.c:23:9: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration] if(isdigit(ecuatie[i])){ ^ user.c:68:5: warning: format ‘%f’ expects argument of type ‘double’, but argument 3 has type ‘int’ [-Wformat=] fprintf(file2, "%.4f\n", 0); ^ user.c:7:11: warning: unused variable ‘isAnX’ [-Wunused-variable] int N, i, isAnX; ^ user.c:15:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%d", &N); ^ user.c:19:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%s", ecuatie); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbGresit!0
20ms288kbOK!10
30ms296kbGresit!0
40ms288kbGresit!0
50ms296kbGresit!0
60ms288kbGresit!0
70ms292kbGresit!0
80ms292kbGresit!0
90ms296kbGresit!0
100ms256kbOK!10
Punctaj total20

Ceva nu functioneaza?