Borderou de evaluare (job #652677)

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:37:55 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 14 | for (size_t i = 0; i < n; i++) f >> a[i]; | ~~^~~ main.cpp:15:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 15 | for (size_t i = 0; i < m; i++) f >> b[i]; | ~~^~~ main.cpp:18:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 18 | for (size_t i = 0; i < n; i++) { | ~~^~~ main.cpp:20:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 20 | for (size_t j = s; j < m; j++) | ~~^~~ main.cpp:23:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 23 | if (in == -1 || j >= common[in]) common[++in] = j; | ~~^~~~~~~~~~~~~ main.cpp:28:41: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 28 | if (common[mij] > j) dr = mij; | ~~~~~~~~~~~~^~~ main.cpp:41:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 41 | 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 118 kb Subsir incorect! 0
2 1 ms 114 kb Lungime incorecta! 0
3 1 ms 114 kb Lungime incorecta! 0
4 1 ms 114 kb Lungime incorecta! 0
5 1 ms 114 kb Lungime incorecta! 0
6 1 ms 114 kb Lungime incorecta! 0
7 2 ms 241 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