Borderou de evaluare (job #1732902)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 23 iulie 2016 00:27:15
Problema Casute Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:0: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable : 4996) ^ user.cpp: In function ‘int main()’: user.cpp:56:27: error: ‘memset’ was not declared in this scope memset(color, 0, N); ^ user.cpp:32:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("casute.in", "rb", stdin); ^ user.cpp:33:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("casute.out", "wb", stdout); ^ user.cpp:36:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:38:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", height + i); ^ user.cpp:42:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &u, &v); ^

Ceva nu functioneaza?