Borderou de evaluare (job #1948051)

Utilizator goguGogu Marian gogu Data 31 martie 2017 17:17:42
Problema Colete Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:83:18: error: stray ‘#’ in program void ReadInput() #include <iostream> ^ user.cpp:88:0: warning: "MaxN" redefined [enabled by default] #define MaxN 50500 ^ user.cpp:9:0: note: this is the location of the previous definition #define MaxN 401 ^ user.cpp:83:19: error: expected initializer before ‘include’ void ReadInput() #include <iostream> ^ user.cpp:110:5: error: redefinition of ‘int N’ int N; ^ user.cpp:11:5: error: ‘int N’ previously declared here int N, K; ^ user.cpp:157:10: error: expected constructor, destructor, or type conversion before ‘(’ token scanf("%d %d", &N, &K); ^ user.cpp:158:10: error: expected constructor, destructor, or type conversion before ‘(’ token scanf("%d %d", &sizeSmall, &sizeBig); ^ user.cpp:159:5: error: expected unqualified-id before ‘for’ for (int i = 0; i < N; i++) { ^ user.cpp:159:21: error: ‘i’ does not name a type for (int i = 0; i < N; i++) { ^ user.cpp:159:28: error: ‘i’ does not name a type for (int i = 0; i < N; i++) { ^ user.cpp:168:1: error: expected declaration before ‘}’ token } ^ user.cpp: In function ‘int main()’: user.cpp:139:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("colete.in", "rb", stdin); ^ user.cpp:140:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("colete.out", "wb", stdout); ^ user.cpp:141:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp: In member function ‘void Point::read()’: user.cpp:97:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d", &x, &y, &v, &h, &d); ^

Ceva nu functioneaza?