Pagini recente » Borderou de evaluare (job #3233114) | Borderou de evaluare (job #2247329) | Borderou de evaluare (job #905005) | Borderou de evaluare (job #3200762) | Borderou de evaluare (job #1358656)
Borderou de evaluare (job #1358656)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:124:49: warning: format ‘%f’ expects argument of type ‘double’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(pFout, "%11.9f ", (sumDet - diffDet));// / (genDet * max));
^
user.cpp:87:10: warning: unused variable ‘sums’ [-Wunused-variable]
double sums[MAT_MAX_SIZE], diffs[MAT_MAX_SIZE];
^
user.cpp:87:30: warning: unused variable ‘diffs’ [-Wunused-variable]
double sums[MAT_MAX_SIZE], diffs[MAT_MAX_SIZE];
^
user.cpp:89:10: warning: unused variable ‘genDet’ [-Wunused-variable]
double genDet = 1;
^
user.cpp:90:10: warning: unused variable ‘dets’ [-Wunused-variable]
double dets[MAT_MAX_SIZE][MAT_MAX_SIZE];
^
user.cpp:60:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFin, "%d", &tests);
^
user.cpp:64:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFin, "%d", &n);
^
user.cpp:73:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFin, "%d", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 616kb | Time limit exceeded. | 0 |
Punctaj total | 0 |