Pagini recente » Borderou de evaluare (job #1714911) | Borderou de evaluare (job #774518) | Borderou de evaluare (job #1979635) | Borderou de evaluare (job #550767) | Borderou de evaluare (job #1512313)
Borderou de evaluare (job #1512313)
Raport evaluator
Compilare:
user.cpp: In function ‘int common_prefix(int, int)’:
user.cpp:37:96: warning: NULL used in arithmetic [-Wpointer-arith]
while(words[pointer][result]==words[dictionary[position]][result]&&words[pointer][result]!=NULL)
^
user.cpp: In function ‘int get_maximum_prefix(int)’:
user.cpp:47:62: warning: unused variable ‘auxiliar’ [-Wunused-variable]
int position=binary_string_search(pointer),position_copy,auxiliar,maximum_prefix=0;
^
user.cpp: In function ‘int main()’:
user.cpp:67:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.in","r",stdin);
^
user.cpp:68:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.out","w",stdout);
^
/tmp/ccT1PUYz.o: In function `main':
user.cpp:(.text.startup+0x8d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 248kb | OK | 5 | 5 |
2 | 0ms | 244kb | OK | 5 | 5 |
3 | 0ms | 272kb | OK | 5 | 5 |
4 | 0ms | 276kb | OK | 5 | 5 |
5 | 0ms | 308kb | OK | 5 | 5 |
6 | 4ms | 332kb | OK | 5 | 5 |
7 | 8ms | 420kb | OK | 5 | 5 |
8 | 12ms | 516kb | OK | 5 | 5 |
9 | 24ms | 676kb | OK | 5 | 5 |
10 | 32ms | 840kb | OK | 5 | 5 |
11 | 52ms | 1120kb | OK | 5 | 5 |
12 | 76ms | 1424kb | OK | 5 | 5 |
13 | 100ms | 1708kb | OK | 5 | 5 |
14 | 116ms | 1992kb | OK | 5 | 5 |
15 | 144ms | 2336kb | OK | 5 | 10 |
16 | 180ms | 2672kb | OK | 5 |
17 | Depăşit | 2848kb | Time limit exceeded. | 0 | 0 |
18 | Depăşit | 2952kb | Time limit exceeded. | 0 |
19 | Depăşit | 2840kb | Time limit exceeded. | 0 | 0 |
20 | Depăşit | 2968kb | Time limit exceeded. | 0 |
Punctaj total | 80 |