Borderou de evaluare (job #3193605)

Utilizator alexnohai04Nohai Alexandru alexnohai04 Data 15 ianuarie 2024 01:04:15
Problema Senat 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:56:13: error: 'memset' was not declared in this scope 56 | memset(viz, 0, n + 1); | ^~~~~~ main.cpp:5:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 4 | #include <vector> +++ |+#include <cstring> 5 | main.cpp:62:20: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 62 | if (sol.size() == m) | ~~~~~~~~~~~^~~~ Non zero exit status: 1

Ceva nu functioneaza?