Borderou de evaluare (job #1914981)

Utilizator Zamfirescuste2Zamfirescu Stefan Zamfirescuste2 Data 8 martie 2017 19:13:45
Problema Nori Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:43:28: error: expected ‘)’ before ‘x’ double d = sqrt(x x 1.0 + y y 1.0); ^ user.cpp:49:16: warning: unused variable ‘a1’ [-Wunused-variable] double a1 = ang1 * 180.0 / PI; ^ user.cpp:50:16: warning: unused variable ‘a2’ [-Wunused-variable] double a2 = ang2 * 180.0 / PI; ^ user.cpp:57:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i < v.size(); i++) ^ user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nori.in", "r", stdin); ^ user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nori.out", "w", stdout); ^ user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:41:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &r); ^ user.cpp:61:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Q); ^ user.cpp:65:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^

Ceva nu functioneaza?