Pagini recente » Borderou de evaluare (job #2110663) | Borderou de evaluare (job #2090816) | Borderou de evaluare (job #1476536) | Borderou de evaluare (job #2390316) | Borderou de evaluare (job #1186244)
Borderou de evaluare (job #1186244)
Raport evaluator
Compilare:
user.cpp: In function ‘double solve(double, double, double, double)’:
user.cpp:64:17: warning: variable ‘l3’ set but not used [-Wunused-but-set-variable]
double l1, l2, l3;
^
user.cpp:65:9: warning: unused variable ‘s’ [-Wunused-variable]
double s;
^
user.cpp:66:9: warning: unused variable ‘area’ [-Wunused-variable]
double area;
^
user.cpp: In function ‘int main()’:
user.cpp:105: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:106: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:108:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:113: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 |