Pagini recente » Borderou de evaluare (job #2156568) | Borderou de evaluare (job #683) | Borderou de evaluare (job #1574712) | Borderou de evaluare (job #2365382) | Borderou de evaluare (job #2410509)
Borderou de evaluare (job #2410509)
Raport evaluator
Compilare:
main.cpp: In function 'bool AddLetter(int, bool, int)':
main.cpp:45:31: warning: array subscript has type 'char' [-Wchar-subscripts]
if (tree[node].next[letter] != 0)
^
main.cpp:47:40: warning: array subscript has type 'char' [-Wchar-subscripts]
suffix = tree[node].next[letter];
^
main.cpp:58:27: warning: array subscript has type 'char' [-Wchar-subscripts]
tree[node].next[letter] = nodes;
^
main.cpp:68:58: warning: array subscript has type 'char' [-Wchar-subscripts]
tree[nodes].fail = tree[node].next[letter];
^
main.cpp: In function 'int main()':
main.cpp:79:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
cin >> s + 1;
~~^~~
main.cpp:81:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
cin >> s + n + 1;
~~~~~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Incorect | 0 | 0 |
2 | 2ms | 131kb | Incorect | 0 | 0 |
3 | 2ms | 131kb | Incorect | 0 | 0 |
4 | 40ms | 6160kb | Incorect | 0 | 0 |
5 | 78ms | 25821kb | Incorect | 0 | 0 |
6 | 34ms | 3276kb | Incorect | 0 | 0 |
7 | 83ms | 26345kb | Incorect | 0 | 0 |
8 | 67ms | 21757kb | Incorect | 0 |
9 | 93ms | 28835kb | Incorect | 0 | 0 |
10 | 73ms | 19136kb | Incorect | 0 |
Punctaj total | 0 |