Borderou de evaluare (job #2989701)

Utilizator andrei_marciucMarciuc Andrei andrei_marciuc Data 6 martie 2023 22:02:02
Problema Smooth2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:18:9: error: 'memset' was not declared in this scope 18 | memset( nr, 0, sizeof(nr) ); | ^~~~~~ main.cpp:2:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 1 | #include <fstream> +++ |+#include <cstring> 2 | using namespace std; main.cpp:27:9: error: 'sort' was not declared in this scope; did you mean 'short'? 27 | sort( nr, nr + 26 ); | ^~~~ | short Non zero exit status: 1

Ceva nu functioneaza?