Pagini recente » Borderou de evaluare (job #3176974) | Borderou de evaluare (job #90257) | Borderou de evaluare (job #2917915) | Borderou de evaluare (job #1631601) | Borderou de evaluare (job #2581050)
Borderou de evaluare (job #2581050)
Raport evaluator
Compilare:
main.cpp: In function 'void _insert(short int&)':
main.cpp:24:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short i = 0; i < v[k].size(); ++i) {
~~^~~~~~~~~~~~~
main.cpp:26:23: warning: array subscript has type 'char' [-Wchar-subscripts]
if(curr->nxt[c] == 0) {
^
main.cpp:27:24: warning: array subscript has type 'char' [-Wchar-subscripts]
curr->nxt[c] = new Node();
^
main.cpp:29:27: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp: In function 'void _count(int, int)':
main.cpp:40:33: warning: array subscript has type 'char' [-Wchar-subscripts]
if(i <= j && curr->nxt[c]) {
^
main.cpp:41:31: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp: In function 'int main()':
main.cpp:62:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < S.size(); ++i)
~~^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 42ms | 1310kb | OK | 10 |
2 | 51ms | 1179kb | OK | 10 |
3 | 13ms | 1179kb | OK | 10 |
4 | 36ms | 1835kb | OK | 10 |
5 | 50ms | 7471kb | OK | 10 |
6 | 61ms | 7602kb | OK | 10 |
7 | 73ms | 7602kb | OK | 10 |
8 | 147ms | 65552kb | Memory limit exceeded | 0 |
9 | 156ms | 65552kb | Memory limit exceeded | 0 |
10 | 183ms | 11534kb | OK | 10 |
Punctaj total | 80 |