Pagini recente » Borderou de evaluare (job #1854690) | Borderou de evaluare (job #1855883) | Borderou de evaluare (job #212706) | Borderou de evaluare (job #919012) | Borderou de evaluare (job #1814304)
Borderou de evaluare (job #1814304)
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 |
1 | 0ms | 248kb | Gresit! | 0 |
2 | 0ms | 288kb | OK! | 10 |
3 | 0ms | 296kb | Gresit! | 0 |
4 | 0ms | 288kb | Gresit! | 0 |
5 | 0ms | 296kb | Gresit! | 0 |
6 | 0ms | 288kb | Gresit! | 0 |
7 | 0ms | 292kb | Gresit! | 0 |
8 | 0ms | 292kb | Gresit! | 0 |
9 | 0ms | 296kb | Gresit! | 0 |
10 | 0ms | 256kb | OK! | 10 |
Punctaj total | 20 |