Borderou de evaluare (job #1424678)

Utilizator goguGogu Marian gogu Data 25 aprilie 2015 12:11:26
Problema Transport Rutier Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void solve(int)’: user.cpp:122:35: error: ‘memcpy’ was not declared in this scope memcpy(a+1, &bun[1], 12*(n-1)); ^ user.cpp:69:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &x, &y, &c); ^ user.cpp: In function ‘int main()’: user.cpp:130:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rutier.in", "r", stdin); ^ user.cpp:131:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rutier.out", "w", stdout); ^ user.cpp:132:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:135:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &T, &c); ^ user.cpp:140:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^

Ceva nu functioneaza?