Borderou de evaluare (job #2782025)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 11 octombrie 2021 13:49:07
Problema Pal Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void C()': main.cpp:14:13: error: 'memcpy' was not declared in this scope 14 | memcpy(x,a,sizeof(a)), | ^~~~~~ main.cpp:2:1: note: 'memcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 1 | #include<fstream> +++ |+#include <cstring> 2 | using namespace std; main.cpp: In function 'short int D(short int, short int, short int*)': main.cpp:26:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 26 | for(t=a;(t<10&&(!d[t]||!(d[t]%2)));++t); | ^~~ main.cpp:27:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 27 | if(9<t) { | ^~ Non zero exit status: 1

Ceva nu functioneaza?