Borderou de evaluare (job #652676)

Utilizator avatar vladiii Vlad Martiniuc vladiii IP ascuns
Problemă Cel mai lung subşir comun Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 11 iun. 2022 17:07:01 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 '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 'unsigned int'} and 'int' [-Wsign-compare] 13 | for (size_t i = 0; i < m; i++) f >> b[i]; | ~~^~~ main.cpp:17:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 17 | for (size_t j = 0; j < m; j++) | ~~^~~ main.cpp:19:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 19 | if (in == -1 || j >= common[in]) common[++in] = j; | ~~^~~~~~~~~~~~~ main.cpp:24:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 24 | if (common[mij] > j) dr = mij; | ~~~~~~~~~~~~^~~ main.cpp:36:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 36 | for (size_t i = 0; i < in + 1; i++) g << b[common[i]] <<" "; | ~~^~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Subsir incorect! 0
2 1 ms 114 kb Subsir incorect! 0
3 1 ms 114 kb Lungime incorecta! 0
4 2 ms 114 kb Lungime incorecta! 0
5 1 ms 114 kb Lungime incorecta! 0
6 1 ms 114 kb Lungime incorecta! 0
7 1 ms 114 kb Lungime incorecta! 0
8 1 ms 114 kb Lungime incorecta! 0
9 1 ms 114 kb Lungime incorecta! 0
10 1 ms 114 kb Lungime incorecta! 0
Punctaj total 0