Borderou de evaluare (job #2909274)

Utilizator vladiiiVlad Martiniuc vladiii Data 11 iunie 2022 01:17:12
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 12 | for (size_t i = 0; i < n; i++) f >> a[i]; | ~~^~~ main.cpp:13:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 13 | for (size_t i = 0; i < m; i++) f >> b[i]; | ~~^~~ main.cpp:18:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 18 | for (size_t j = 0; j < m; j++) | ~~^~~ main.cpp:20:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 20 | if (in == -1 || j >= common[in]) common[++in] = j; | ~~^~~~~~~~~~~~~ main.cpp:25:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 25 | if (common[mij] > j) dr = mij; | ~~~~~~~~~~~~^~~ main.cpp:16:9: warning: unused variable 'l' [-Wunused-variable] 16 | int l = 0; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbLungime incorecta!0
21ms184kbLungime incorecta!0
31ms184kbLungime incorecta!0
41ms184kbLungime incorecta!0
52ms184kbLungime incorecta!0
61ms184kbLungime incorecta!0
71ms184kbLungime incorecta!0
81ms184kbLungime incorecta!0
91ms184kbLungime incorecta!0
109ms184kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?