Borderou de evaluare (job #2546872)

Utilizator YusyBossFares Yusuf YusyBoss Data 14 februarie 2020 18:00:24
Problema Balbaiala Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int test(int, int)': main.cpp:20:30: warning: array subscript has type 'char' [-Wchar-subscripts] pozc = v1[pozc + 1][vq[i]]; ^ main.cpp:22:29: warning: array subscript has type 'char' [-Wchar-subscripts] poz1 = poz[pozc][vq[i]]; ^ main.cpp:23:34: warning: array subscript has type 'char' [-Wchar-subscripts] if (poz1 + k - 1 < v2[vq[i]].size()) ^ main.cpp:23:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (poz1 + k - 1 < v2[vq[i]].size()) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:24:24: warning: array subscript has type 'char' [-Wchar-subscripts] pozc = v2[vq[i]][poz1 + k - 1]; ^ main.cpp: In function 'int main()': main.cpp:51:16: warning: unused variable 'cnt' [-Wunused-variable] int n, q, i, cnt, m, pozc, j; ^~~ main.cpp:51:21: warning: unused variable 'm' [-Wunused-variable] int n, q, i, cnt, m, pozc, j; ^ main.cpp:52:8: warning: unused variable 'ch' [-Wunused-variable] char ch; ^~ main.cpp: In function 'int cb(int, int)': main.cpp:47:10: warning: 'sol' may be used uninitialized in this function [-Wmaybe-uninitialized] return sol; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1020
22ms131kbOK10
314ms1441kbOK1020
415ms1441kbOK10
5253ms7733kbOK1030
6419ms7864kbOK10
7540ms7733kbOK10
8702ms25026kbTime limit exceeded00
9595ms25026kbOK10
10703ms25423kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?