Borderou de evaluare (job #3257940)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:62:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 62 | for (size_t i = 0; i <= n; i++) { | ~~^~~~ main.cpp:66:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 66 | for (size_t i = 1; i <= n; i++) | ~~^~~~ main.cpp:68:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short unsigned int*' [-Wformat=] 68 | scanf("%d", &a[i]); | ~^ ~~~~~ | | | | | short unsigned int* | int* | %hd main.cpp:71:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 71 | for (size_t j = 1; j <= m; j++) | ~~^~~~ main.cpp:79: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=] 79 | printf("%hu\n", solution.size()); | ~~^ ~~~~~~~~~~~~~~~ | | | | int std::vector<short unsigned int>::size_type {aka long unsigned int} | %lu
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbRaspuns corect!10
20ms303kbRaspuns corect!10
30ms303kbRaspuns corect!10
40ms303kbRaspuns corect!10
50ms303kbRaspuns corect!10
61ms1081kbRaspuns corect!10
72ms2129kbRaspuns corect!10
82ms2129kbRaspuns corect!10
93ms2392kbRaspuns corect!10
102ms1867kbRaspuns corect!10
Punctaj total100

Ceva nu functioneaza?