Pagini recente » Borderou de evaluare (job #2401794) | Borderou de evaluare (job #2676745) | Borderou de evaluare (job #968619) | Borderou de evaluare (job #2741425) | Borderou de evaluare (job #2546871)
Borderou de evaluare (job #2546871)
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 | 19ms | 1441kb | OK | 10 | 20 |
4 | 15ms | 1441kb | OK | 10 |
5 | 260ms | 7864kb | OK | 10 | 30 |
6 | 404ms | 7864kb | OK | 10 |
7 | 544ms | 7733kb | OK | 10 |
8 | 703ms | 25026kb | Time limit exceeded | 0 | 0 |
9 | 581ms | 25026kb | OK | 10 |
10 | 664ms | 25423kb | OK | 10 |
Punctaj total | 70 |