Pagini recente » Borderou de evaluare (job #2141904) | Borderou de evaluare (job #2079275) | Borderou de evaluare (job #2428001) | Borderou de evaluare (job #1499623) | Borderou de evaluare (job #1512355)
Borderou de evaluare (job #1512355)
Raport evaluator
Compilare:
user.cpp: In function ‘int common_prefix(int, int)’:
user.cpp:15: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 binary_string_search(int)’:
user.cpp:26:38: warning: NULL used in arithmetic [-Wpointer-arith]
if(words[pointer][position]==NULL&&words[dictionary[middle]][position]==NULL)
^
user.cpp:26:81: warning: NULL used in arithmetic [-Wpointer-arith]
if(words[pointer][position]==NULL&&words[dictionary[middle]][position]==NULL)
^
user.cpp: In function ‘int get_maximum_prefix(int)’:
user.cpp:55: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:75: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:76: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);
^
user.cpp: In function ‘int binary_string_search(int)’:
user.cpp:20:56: warning: ‘maximum_position’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int left=1,right=dictionary_size+1,middle,position,maximum_position,maximum_common=0;
^
/tmp/ccS6MkrY.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 | 220kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 2 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 3 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 4 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 5 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 6 | 0ms | 324kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 7 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 8 | 4ms | 492kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 9 | 4ms | 620kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 10 | 12ms | 804kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 11 | 16ms | 1028kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 12 | 24ms | 1312kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 13 | 28ms | 1560kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 14 | 36ms | 1824kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 15 | 40ms | 2116kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 16 | 124ms | 2440kb | OK | 5 |
| 17 | 36ms | 2484kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 18 | 56ms | 2656kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 44ms | 2520kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 20 | 164ms | 2812kb | OK | 5 |
| Punctaj total | 0 |