Borderou de evaluare (job #3257939)

Utilizator CezarTDTodirisca Cezar CezarTD Data 20 noiembrie 2024 02:16:33
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:49:9: error: 'freopen_s' was not declared in this scope; did you mean 'freopen64'? 49 | freopen_s(&stream, "cmlsc.in", "r", stdin); | ^~~~~~~~~ | freopen64 main.cpp:57:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'? 57 | scanf_s("%d %d", &n, &m); | ^~~~~~~ | scanf main.cpp:64:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 64 | for (size_t i = 0; i <= n; i++) { | ~~^~~~ main.cpp:68:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 68 | for (size_t i = 1; i <= n; i++) | ~~^~~~ main.cpp:73:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 73 | for (size_t j = 1; j <= m; j++) | ~~^~~~ main.cpp:81:19: warning: format '%hu' expects argument of type 'int', but argument 2 has type 'std::vector<short unsigned int>::size_type' {aka 'long unsigned int'} [-Wformat=] 81 | printf("%hu\n", solution.size()); | ~~^ ~~~~~~~~~~~~~~~ | | | | int std::vector<short unsigned int>::size_type {aka long unsigned int} | %lu Non zero exit status: 1

Ceva nu functioneaza?