Pagini recente » Borderou de evaluare (job #1370973) | Borderou de evaluare (job #1815494) | Borderou de evaluare (job #3003873) | Borderou de evaluare (job #1635615) | Borderou de evaluare (job #2581100)
Borderou de evaluare (job #2581100)
Raport evaluator
Compilare:
main.cpp: In function 'void _insert()':
main.cpp:25:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short i = 0; i < str.size(); ++i) {
~~^~~~~~~~~~~~
main.cpp:27:23: warning: array subscript has type 'char' [-Wchar-subscripts]
if(curr->nxt[c] == 0) {
^
main.cpp:28:24: warning: array subscript has type 'char' [-Wchar-subscripts]
curr->nxt[c] = new Node();
^
main.cpp:30:27: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp: In function 'void _count(int, int)':
main.cpp:43:33: warning: array subscript has type 'char' [-Wchar-subscripts]
if(i <= j && curr->nxt[c]) {
^
main.cpp:44:31: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp: In function 'int main()':
main.cpp:74:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < S.size(); ++i)
~~^~~~~~~~~~
main.cpp:76: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 | 40ms | 393kb | OK | 10 |
2 | 67ms | 262kb | OK | 10 |
3 | 12ms | 262kb | OK | 10 |
4 | 48ms | 917kb | OK | 10 |
5 | 58ms | 6553kb | OK | 10 |
6 | 71ms | 6553kb | OK | 10 |
7 | 85ms | 6553kb | OK | 10 |
8 | 182ms | 65552kb | Memory limit exceeded | 0 |
9 | 172ms | 65552kb | Memory limit exceeded | 0 |
10 | 193ms | 9175kb | OK | 10 |
Punctaj total | 80 |