Pagini recente » Borderou de evaluare (job #1153530) | Borderou de evaluare (job #212138) | Borderou de evaluare (job #163144) | Borderou de evaluare (job #2491693) | Borderou de evaluare (job #1512362)
Borderou de evaluare (job #1512362)
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:78:54: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
while(fscanf(fin,"%d %s",&operations[n],&words[n])==2){
^
user.cpp:78:54: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[21]’ [-Wformat=]
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;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 268kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
3 | 0ms | 284kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 0ms | 300kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 0ms | 316kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 0ms | 348kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 4ms | 424kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 4ms | 508kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 8ms | 632kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
10 | 16ms | 820kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
11 | 20ms | 1052kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
12 | 28ms | 1324kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
13 | 36ms | 1576kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
14 | 44ms | 1844kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
15 | 52ms | 2136kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
16 | 132ms | 2452kb | OK | 5 |
17 | 48ms | 2504kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
18 | 68ms | 2672kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 56ms | 2536kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
20 | 176ms | 2832kb | OK | 5 |
Punctaj total | 0 |