Pagini recente » Cod sursa (job #2411234) | Borderou de evaluare (job #2047254) | Borderou de evaluare (job #2793812) | Borderou de evaluare (job #2210359) | Borderou de evaluare (job #1711453)
Borderou de evaluare (job #1711453)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:12: warning: unused variable ‘low_p’ [-Wunused-variable]
int i, t, low_p, left_p, right_p, max_p = 0, nrp, type, next_p;
^
user.cpp:51:19: warning: unused variable ‘left_p’ [-Wunused-variable]
int i, t, low_p, left_p, right_p, max_p = 0, nrp, type, next_p;
^
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:47: warning: unused variable ‘nrp’ [-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 | 468ms | 1868kb | Incorect | 0 |
Punctaj total | 0 |