Pagini recente » Borderou de evaluare (job #2644543) | Borderou de evaluare (job #2885252) | Borderou de evaluare (job #742533) | Borderou de evaluare (job #1493337) | Borderou de evaluare (job #2588079)
Borderou de evaluare (job #2588079)
Raport evaluator
Compilare:
main.cpp: In function 'void add_string(const string&)':
main.cpp:21:29: warning: array subscript has type 'char' [-Wchar-subscripts]
if ( trie[i].link[it] == 0 ) {
^
main.cpp:22:28: warning: array subscript has type 'char' [-Wchar-subscripts]
trie[i].link[it] = n;
^
main.cpp:25:28: warning: array subscript has type 'char' [-Wchar-subscripts]
i = trie[i].link[it];
^
main.cpp: In function 'void delete_string(const string&)':
main.cpp:33:28: warning: array subscript has type 'char' [-Wchar-subscripts]
i = trie[i].link[it];
^
main.cpp: In function 'int string_appearances(const string&)':
main.cpp:41:46: warning: array subscript has type 'char' [-Wchar-subscripts]
while ( it != s.end() && trie[i].link[*it] != 0 ) {
^
main.cpp:42:29: warning: array subscript has type 'char' [-Wchar-subscripts]
i = trie[i].link[*it];
^
main.cpp: In function 'int longest_common_prefix(const string&)':
main.cpp:54:29: warning: array subscript has type 'char' [-Wchar-subscripts]
i = trie[i].link[*it];
^
main.cpp:51:16: warning: unused variable 'maxim' [-Wunused-variable]
int j = 0, maxim;
^~~~~
main.cpp: In function 'int main()':
main.cpp:64:9: warning: unused variable 'i' [-Wunused-variable]
int i, cer;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 5 | 5 |
| 2 | 3ms | 131kb | Incorect | 0 | 0 |
| 3 | 6ms | 131kb | Incorect | 0 | 0 |
| 4 | 6ms | 131kb | Incorect | 0 | 0 |
| 5 | 11ms | 131kb | Incorect | 0 | 0 |
| 6 | 21ms | 131kb | Incorect | 0 | 0 |
| 7 | 36ms | 393kb | Incorect | 0 | 0 |
| 8 | 40ms | 393kb | Incorect | 0 | 0 |
| 9 | 99ms | 524kb | Incorect | 0 | 0 |
| 10 | 82ms | 2621kb | Incorect | 0 | 0 |
| 11 | 151ms | 1048kb | Incorect | 0 | 0 |
| 12 | 128ms | 3670kb | Killed by Signal 11 | 0 | 0 |
| 13 | 242ms | 3145kb | Incorect | 0 | 0 |
| 14 | 223ms | 2228kb | Killed by Signal 11 | 0 | 0 |
| 15 | 193ms | 2228kb | Killed by Signal 11 | 0 | 0 |
| 16 | 165ms | 11403kb | Killed by Signal 11 | 0 |
| 17 | 328ms | 524kb | Killed by Signal 11 | 0 | 0 |
| 18 | 373ms | 9175kb | Killed by Signal 11 | 0 |
| 19 | 402ms | 1966kb | Time limit exceeded | 0 | 0 |
| 20 | 191ms | 11403kb | Killed by Signal 11 | 0 |
| Punctaj total | 5 |