Pagini recente » Cod sursa (job #38352) | Cod sursa (job #406366) | Borderou de evaluare (job #2341544) | Cod sursa (job #195331) | Borderou de evaluare (job #1512335)
Borderou de evaluare (job #1512335)
Raport evaluator
Compilare:
user.cpp: In function ‘int common_prefix(int, int)’:
user.cpp:39: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:49: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:69: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:70: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/ccPt6VOE.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 | 248kb | OK | 5 | 5 |
| 2 | 0ms | 248kb | Incorect | 0 | 0 |
| 3 | 0ms | 260kb | Incorect | 0 | 0 |
| 4 | 0ms | 276kb | Incorect | 0 | 0 |
| 5 | 0ms | 300kb | Incorect | 0 | 0 |
| 6 | 0ms | 328kb | Incorect | 0 | 0 |
| 7 | 4ms | 400kb | Incorect | 0 | 0 |
| 8 | 8ms | 488kb | Incorect | 0 | 0 |
| 9 | 12ms | 616kb | Incorect | 0 | 0 |
| 10 | 24ms | 800kb | Incorect | 0 | 0 |
| 11 | 28ms | 1032kb | Incorect | 0 | 0 |
| 12 | 52ms | 1308kb | Incorect | 0 | 0 |
| 13 | 68ms | 1560kb | Incorect | 0 | 0 |
| 14 | 72ms | 1824kb | Incorect | 0 | 0 |
| 15 | 84ms | 2120kb | Incorect | 0 | 0 |
| 16 | 136ms | 2436kb | Incorect | 0 |
| 17 | 72ms | 2484kb | Incorect | 0 | 0 |
| 18 | 148ms | 2656kb | Incorect | 0 |
| 19 | 80ms | 2512kb | Incorect | 0 | 0 |
| 20 | 184ms | 2816kb | Incorect | 0 |
| Punctaj total | 5 |