Pagini recente » Borderou de evaluare (job #2365705) | Borderou de evaluare (job #1636511) | Borderou de evaluare (job #2162723) | Borderou de evaluare (job #1402215) | Borderou de evaluare (job #1185833)
Borderou de evaluare (job #1185833)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghi2.in", "r", stdin);
^
user.cpp:18:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghi2.out", "w", stdout);
^
user.cpp:20:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:26:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:28:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &x, &y);
^
user.cpp:46:46: warning: ‘max_y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%.3lf\n", (max_x - min_x) * (max_y - min_y));
^
user.cpp:46:28: warning: ‘max_x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%.3lf\n", (max_x - min_x) * (max_y - min_y));
^
user.cpp:46:46: warning: ‘min_y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%.3lf\n", (max_x - min_x) * (max_y - min_y));
^
user.cpp:46:28: warning: ‘min_x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%.3lf\n", (max_x - min_x) * (max_y - min_y));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 292ms | 340kb | OK | 100 |
Punctaj total | 100 |