Borderou de evaluare (job #2221692)

Utilizator inquisitorAnders inquisitor Data 15 iulie 2018 15:22:22
Problema Aria Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:8:37: error: ‘x0’ was not declared in this scope int N; scanf("%d %lf %lf", &N, &x0, &y0); ^~ user.cpp:8:42: error: ‘y0’ was not declared in this scope int N; scanf("%d %lf %lf", &N, &x0, &y0); ^~ user.cpp:10:5: error: ‘x1’ was not declared in this scope x1 = x0; y1 = y0; ^~ user.cpp:10:14: error: ‘y1’ was not declared in this scope x1 = x0; y1 = y0; ^~ user.cpp:14:27: error: ‘x2’ was not declared in this scope scanf("%lf %lf", &x2, &y2); ^~ user.cpp:14:32: error: ‘y2’ was not declared in this scope scanf("%lf %lf", &x2, &y2); ^~ user.cpp:16:9: error: ‘area’ was not declared in this scope area += x1 * y2 - x2 * y1; ^~~~ user.cpp:21:5: error: ‘area’ was not declared in this scope area += x1 * y0 - x0 * y1; ^~~~ user.cpp:5:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aria.in", "r", stdin); ^ user.cpp:6:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("aria.out", "w", stdout); ^

Ceva nu functioneaza?