Borderou de evaluare (job #1683064)

Utilizator sucureiSucureiRobert sucurei Data 10 aprilie 2016 13:52:40
Problema Robot Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void convexhull(spct*, int)’: user.cpp:60:33: error: ‘memset’ was not declared in this scope memset(used, 0, sizeof(used)); ^ user.cpp: In function ‘void dijkstra()’: user.cpp:103:33: error: ‘memset’ was not declared in this scope memset(used, 0, sizeof(used)); ^ user.cpp: In function ‘int main()’: user.cpp:170:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("robot.in", "rt", stdin); ^ user.cpp:171:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("robot.out", "wt", stdout); ^ user.cpp:172:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:176:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &rob[i].x, &rob[i].y); ^ user.cpp:182:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:185:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nr[i]); ^ user.cpp:188:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &pol[i][j].x, &pol[i][j].y); ^ user.cpp:198:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &pct[NR].x, &pct[NR].y); ^

Ceva nu functioneaza?