Pagini recente » Cod sursa (job #303401) | Cod sursa (job #449247) | Cod sursa (job #3227855) | Guguștiuc | Borderou de evaluare (job #1512330)
Borderou de evaluare (job #1512330)
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/ccD8gDUG.o: In function `main':
user.cpp:(.text.startup+0xa2): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 244kb | Incorect | 0 | 0 |
| 2 | 0ms | 244kb | Incorect | 0 | 0 |
| 3 | 0ms | 264kb | Incorect | 0 | 0 |
| 4 | 0ms | 276kb | Incorect | 0 | 0 |
| 5 | 0ms | 296kb | Incorect | 0 | 0 |
| 6 | 0ms | 324kb | Incorect | 0 | 0 |
| 7 | 4ms | 408kb | Incorect | 0 | 0 |
| 8 | 8ms | 492kb | Incorect | 0 | 0 |
| 9 | 12ms | 616kb | Incorect | 0 | 0 |
| 10 | 24ms | 804kb | Incorect | 0 | 0 |
| 11 | 28ms | 1028kb | Incorect | 0 | 0 |
| 12 | 52ms | 1308kb | Incorect | 0 | 0 |
| 13 | 64ms | 1556kb | Incorect | 0 | 0 |
| 14 | 72ms | 1824kb | Incorect | 0 | 0 |
| 15 | 80ms | 2112kb | Incorect | 0 | 0 |
| 16 | 136ms | 2440kb | Incorect | 0 |
| 17 | 72ms | 2484kb | Incorect | 0 | 0 |
| 18 | 148ms | 2648kb | Incorect | 0 |
| 19 | 84ms | 2516kb | Incorect | 0 | 0 |
| 20 | 180ms | 2820kb | Incorect | 0 |
| Punctaj total | 0 |