Borderou de evaluare (job #1500502)

Utilizator tain1234andrei laur tain1234 Data 12 octombrie 2015 02:04:19
Problema Radiatie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:154:25: error: ‘memset’ was not declared in this scope memset(h, -1, sizeof(h)); ^ user.cpp:119:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("radiatie.in", "r", stdin); ^ user.cpp:120:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("radiatie.out", "w", stdout); ^ user.cpp:121:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &N, &M,&K); ^ user.cpp:128:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &a, &b, &d); ^ user.cpp:162:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^

Ceva nu functioneaza?