Pagini recente » Borderou de evaluare (job #2192406) | Borderou de evaluare (job #2335538) | Borderou de evaluare (job #892668) | Borderou de evaluare (job #802780) | Borderou de evaluare (job #1711455)
Borderou de evaluare (job #1711455)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:27: warning: unused variable ‘right_p’ [-Wunused-variable]
int i, t, low_p, left_p, right_p, max_p = 0, nrp, type, next_p;
^
user.cpp:51:52: warning: unused variable ‘type’ [-Wunused-variable]
int i, t, low_p, left_p, right_p, max_p = 0, nrp, type, next_p;
^
user.cpp:51:58: warning: unused variable ‘next_p’ [-Wunused-variable]
int i, t, low_p, left_p, right_p, max_p = 0, nrp, type, next_p;
^
user.cpp:52:12: warning: unused variable ‘alpha’ [-Wunused-variable]
double w, alpha, angle, aux;
^
user.cpp:52:19: warning: unused variable ‘angle’ [-Wunused-variable]
double w, alpha, angle, aux;
^
user.cpp:52:26: warning: unused variable ‘aux’ [-Wunused-variable]
double w, alpha, angle, aux;
^
user.cpp:48:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("norocoase.in", "r", stdin);
^
user.cpp:49:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("norocoase.out", "w", stdout);
^
user.cpp:54:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &t); t; --t)
^
user.cpp:56:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lf", &n, &w);
^
user.cpp:58:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 0; i < n; ++i) scanf("%lf %lf", &P[i].x, &P[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 472ms | 1880kb | Incorect | 0 |
Punctaj total | 0 |