Borderou de evaluare (job #1253657)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 1 noiembrie 2014 16:53:35
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:15:28: error: ‘MAX_N’ was not declared in this scope vector < pair <LL, LL> > V(MAX_N), X, Y; ^ user.cpp: In function ‘int main()’: user.cpp:51:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d", &X[i].x, &X[i].y); ^ user.cpp:51:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmap.in", "r", stdin); ^ user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmap.out", "w", stdout); ^ user.cpp:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:51:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &X[i].x, &X[i].y); ^

Ceva nu functioneaza?