Borderou de evaluare (job #1269787)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:20: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 3 has type ‘long double*’ [-Wformat=]
fscanf(f,"%lf",&n);
^
user.cpp:14:20: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 3 has type ‘long double*’ [-Wformat=]
fscanf(f,"%lf",&k);
^
user.cpp:10:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&t);
^
user.cpp:13:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lf",&n);
^
user.cpp:14:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lf",&k);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 280kb | Incorect | 0 |
✓ | 2 | 0ms | 284kb | Incorect | 0 |
✓ | 3 | 0ms | 276kb | Incorect | 0 |
✓ | 4 | 0ms | 284kb | OK | 10 |
✓ | 5 | 0ms | 276kb | OK | 10 |
✓ | 6 | 0ms | 280kb | Incorect | 0 |
✓ | 7 | 0ms | 280kb | Incorect | 0 |
✓ | 8 | 0ms | 284kb | Incorect | 0 |
✓ | 9 | 0ms | 284kb | Incorect | 0 |
✓ | 10 | 0ms | 280kb | Incorect | 0 |
Punctaj total | 20 |