Pagini recente » Borderou de evaluare (job #414172) | Borderou de evaluare (job #35994) | Borderou de evaluare (job #3005614) | Borderou de evaluare (job #2357844) | Borderou de evaluare (job #2546872)
Borderou de evaluare (job #2546872)
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 |
1 | 2ms | 131kb | OK | 10 | 20 |
2 | 2ms | 131kb | OK | 10 |
3 | 14ms | 1441kb | OK | 10 | 20 |
4 | 15ms | 1441kb | OK | 10 |
5 | 253ms | 7733kb | OK | 10 | 30 |
6 | 419ms | 7864kb | OK | 10 |
7 | 540ms | 7733kb | OK | 10 |
8 | 702ms | 25026kb | Time limit exceeded | 0 | 0 |
9 | 595ms | 25026kb | OK | 10 |
10 | 703ms | 25423kb | Time limit exceeded | 0 |
Punctaj total | 70 |