Borderou de evaluare (job #823337)

Utilizator stefan.friptuPetru Stefan Friptu stefan.friptu Data 24 noiembrie 2012 21:42:09
Problema Divk Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6: error: conflicting declaration ‘long int v [500005]’ user.cpp:6: error: ‘v’ has a previous declaration as ‘long int v’ user.cpp: In function ‘int main()’: user.cpp:13: warning: format ‘%d’ expects type ‘int*’, but argument 2 has type ‘long int*’ user.cpp:13: warning: format ‘%d’ expects type ‘int*’, but argument 3 has type ‘long int*’ user.cpp:13: warning: format ‘%d’ expects type ‘int*’, but argument 4 has type ‘long int*’ user.cpp:13: warning: format ‘%d’ expects type ‘int*’, but argument 5 has type ‘long int*’ user.cpp:18: error: invalid types ‘long int[long int]’ for array subscript user.cpp:18: error: invalid types ‘long int[long int]’ for array subscript user.cpp:23: error: invalid types ‘long int[long int]’ for array subscript user.cpp:25: error: invalid types ‘long int[long int]’ for array subscript user.cpp:26: error: invalid types ‘long int[long int]’ for array subscript user.cpp:29: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’ user.cpp:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:11: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?