Borderou de evaluare (job #1711455)

Utilizator Cristian1997Vintur Cristian Cristian1997 Data 31 mai 2016 11:56:57
Problema Norocoase Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

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
1472ms1880kbIncorect0
Punctaj total0

Ceva nu functioneaza?