Pagini recente » Borderou de evaluare (job #197574) | Borderou de evaluare (job #754422) | Borderou de evaluare (job #1786788) | Borderou de evaluare (job #1951170) | Borderou de evaluare (job #1188110)
Borderou de evaluare (job #1188110)
Raport evaluator
Compilare:
user.cpp: In function ‘double solve(double, double, double, double)’:
user.cpp:16:17: warning: variable ‘l3’ set but not used [-Wunused-but-set-variable]
double l1, l2, l3;
^
user.cpp:17:9: warning: unused variable ‘s’ [-Wunused-variable]
double s;
^
user.cpp:18:9: warning: unused variable ‘area’ [-Wunused-variable]
double area;
^
user.cpp: In function ‘int main()’:
user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distanta.in", "r", stdin);
^
user.cpp:45:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distanta.out", "w", stdout);
^
user.cpp:47:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:52:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf %lf %lf", &a, &b, &xi, &yi);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 340kb | OK | 100 |
Punctaj total | 100 |