Pagini recente » Borderou de evaluare (job #557052) | Borderou de evaluare (job #267841) | Borderou de evaluare (job #2712658) | Borderou de evaluare (job #301523) | Borderou de evaluare (job #2581135)
Borderou de evaluare (job #2581135)
Raport evaluator
Compilare:
main.cpp: In function 'void _insert()':
main.cpp:30:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(char i = 0; i < str.size(); ++i) {
~~^~~~~~~~~~~~
main.cpp:32:23: warning: array subscript has type 'char' [-Wchar-subscripts]
if(curr->nxt[c] == 0) {
^
main.cpp:33:24: warning: array subscript has type 'char' [-Wchar-subscripts]
curr->nxt[c] = new Node();
^
main.cpp:35:27: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp: In function 'void _count(int, int)':
main.cpp:48:33: warning: array subscript has type 'char' [-Wchar-subscripts]
if(i <= j && curr->nxt[c]) {
^
main.cpp:49:31: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp: In function 'int main()':
main.cpp:79:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < S.size(); ++i)
~~^~~~~~~~~~
main.cpp:81:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short i = 0; i < q.size(); ++i)
~~^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 39ms | 393kb | OK | 10 |
2 | 68ms | 262kb | OK | 10 |
3 | 9ms | 262kb | OK | 10 |
4 | 48ms | 917kb | OK | 10 |
5 | 51ms | 6684kb | OK | 10 |
6 | 71ms | 6553kb | OK | 10 |
7 | 85ms | 6553kb | OK | 10 |
8 | 189ms | 65552kb | Memory limit exceeded | 0 |
9 | 195ms | 65552kb | Memory limit exceeded | 0 |
10 | 200ms | 9175kb | OK | 10 |
Punctaj total | 80 |