Borderou de evaluare (job #3272802)
Utilizator | Data | 30 ianuarie 2025 21:05:19 | |
---|---|---|---|
Problema | Spirala2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void calc()':
main.cpp:40:5: error: 'memcpy' was not declared in this scope
40 | memcpy(b, a, sizeof(a));
| ^~~~~~
main.cpp:3:1: note: 'memcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
2 | #include <limits.h>
+++ |+#include <cstring>
3 |
main.cpp: In function 'void calc2()':
main.cpp:107:30: warning: narrowing conversion of 'j' from 'int' to 'short unsigned int' [-Wnarrowing]
107 | fp[++cfp] = {j, 0};
| ^
main.cpp: In function 'void calc3()':
main.cpp:123:9: error: 'memcpy' was not declared in this scope
123 | memcpy(soll, sol, sizeof(sol));
| ^~~~~~
main.cpp:123:9: note: 'memcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !