Pagini recente » Cod sursa (job #899360) | Cod sursa (job #899355) | Cod sursa (job #78624) | Borderou de evaluare (job #1968713) | Borderou de evaluare (job #1512304)
Borderou de evaluare (job #1512304)
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/ccLJKUkH.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 | 252kb | OK | 5 | 5 |
| 3 | 0ms | 264kb | OK | 5 | 5 |
| 4 | 0ms | 280kb | OK | 5 | 5 |
| 5 | 4ms | 304kb | OK | 5 | 5 |
| 6 | 8ms | 340kb | OK | 5 | 5 |
| 7 | 20ms | 428kb | OK | 5 | 5 |
| 8 | 40ms | 512kb | OK | 5 | 5 |
| 9 | 40ms | 676kb | OK | 5 | 5 |
| 10 | 48ms | 840kb | OK | 5 | 5 |
| 11 | 180ms | 1120kb | OK | 5 | 5 |
| 12 | 108ms | 1424kb | OK | 5 | 5 |
| 13 | 152ms | 1712kb | OK | 5 | 5 |
| 14 | Depăşit | 1940kb | Time limit exceeded. | 0 | 0 |
| 15 | Depăşit | 2252kb | Time limit exceeded. | 0 | 0 |
| 16 | Depăşit | 2664kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 2748kb | Time limit exceeded. | 0 | 0 |
| 18 | Depăşit | 2948kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 2748kb | Time limit exceeded. | 0 | 0 |
| 20 | Depăşit | 2968kb | Time limit exceeded. | 0 |
| Punctaj total | 65 |