Borderou de evaluare (job #1828830)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 13 decembrie 2016 21:55:19
Problema Permut Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘QuickSort’: user.c:39:1: warning: implicit declaration of function ‘swap’ [-Wimplicit-function-declaration] swap(v,left,(left+right)/2); ^ user.c: At top level: user.c:52:6: warning: conflicting types for ‘swap’ [enabled by default] void swap(int v[],int i,int j){ ^ user.c:39:1: note: previous implicit declaration of ‘swap’ was here swap(v,left,(left+right)/2); ^ user.c: In function ‘main’: user.c:82:5: warning: passing argument 2 of ‘HugeAdd’ from incompatible pointer type [enabled by default] HugeAdd(result, operand); ^ user.c:12:6: note: expected ‘long long int *’ but argument is of type ‘int *’ void HugeAdd(int A[], long long B[]){ ^ user.c:83:5: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset(operand, 0, 20 * sizeof(int)); ^ user.c:83:5: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default] user.c:90:27: warning: integer overflow in expression [-Woverflow] printf("%lld", 2000000000 * 2); ^ user.c:90:1: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld", 2000000000 * 2); ^ user.c:69:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%d", &N); ^ user.c:72:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%d", &A[i]); ^ user.c:75:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%d", &B[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms632kbKilled by signal 11(SIGSEGV).0
20ms628kbKilled by signal 11(SIGSEGV).0
30ms636kbKilled by signal 11(SIGSEGV).0
40ms636kbKilled by signal 11(SIGSEGV).0
544ms820kbKilled by signal 11(SIGSEGV).0
684ms1024kbKilled by signal 11(SIGSEGV).0
792ms1020kbKilled by signal 11(SIGSEGV).0
892ms1020kbKilled by signal 11(SIGSEGV).0
992ms1016kbKilled by signal 11(SIGSEGV).0
1088ms1020kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?