Borderou de evaluare (job #2221258)

Utilizator inquisitorAnders inquisitor Data 13 iulie 2018 15:29:40
Problema Radix Sort Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void CountingSort(size_t, size_t*, size_t*, size_t)’: user.cpp:18:43: warning: operation on ‘i’ may be undefined [-Wsequence-point] for(size_t i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]); ^~~ user.cpp:18:43: warning: operation on ‘i’ may be undefined [-Wsequence-point] user.cpp: In function ‘i32 main()’: user.cpp:49:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int*’, but argument 2 has type ‘u32* {aka unsigned int*}’ [-Wformat=] scanf("%llu %llu %llu %llu", &N, &A, &B, &C); ^ user.cpp:49:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int*’, but argument 3 has type ‘u32* {aka unsigned int*}’ [-Wformat=] user.cpp:49:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int*’, but argument 4 has type ‘u32* {aka unsigned int*}’ [-Wformat=] user.cpp:49:48: warning: format ‘%llu’ expects argument of type ‘long long unsigned int*’, but argument 5 has type ‘u32* {aka unsigned int*}’ [-Wformat=] user.cpp:57:15: warning: operation on ‘i’ may be undefined [-Wsequence-point] v[--i] = (u64(v[-~i]) * 0x3D + 0x9) % 0x367C2DC9; ^~~ user.cpp:64:15: warning: operation on ‘i’ may be undefined [-Wsequence-point] v[--i] = (u64(v[-~i]) * 0xF + 0x3C) % 0x7CE67EF6; ^~~ user.cpp:71:15: warning: operation on ‘i’ may be undefined [-Wsequence-point] v[--i] = (u64(v[-~i]) * 0x2E + 0x22) % 0x6F6E4E7B; ^~~ user.cpp:78:15: warning: operation on ‘i’ may be undefined [-Wsequence-point] v[--i] = (u64(v[-~i]) * 0x53 + 0x2E) % 0xF4240; ^~~ user.cpp:85:15: warning: operation on ‘i’ may be undefined [-Wsequence-point] v[--i] = (u64(v[-~i]) * 0x1E + 0xE) % 0x65759; ^~~ user.cpp:92:15: warning: operation on ‘i’ may be undefined [-Wsequence-point] v[--i] = (u64(v[-~i]) * A + B) % C; ^~~ user.cpp: At global scope: user.cpp:25:37: warning: always_inline function might not be inlinable [-Wattributes] __attribute__((always_inline)) void put_number(size_t x) ^~~~~~~~~~ user.cpp:12:37: warning: always_inline function might not be inlinable [-Wattributes] __attribute__((always_inline)) void CountingSort(size_t N, size_t A[], size_t B[], size_t digit) ^~~~~~~~~~~~ user.cpp: In function ‘i32 main()’: user.cpp:47:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("radixsort.in", "r", stdin); ^ user.cpp:49:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%llu %llu %llu %llu", &N, &A, &B, &C); ^ user.cpp:102:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("radixsort.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1524ms50916kbKilled by signal 11(SIGSEGV).00
2536ms50912kbKilled by signal 11(SIGSEGV).0
3536ms50916kbKilled by signal 11(SIGSEGV).0
4536ms50912kbKilled by signal 11(SIGSEGV).00
5544ms50912kbKilled by signal 11(SIGSEGV).0
6544ms50908kbKilled by signal 11(SIGSEGV).0
7536ms50912kbKilled by signal 11(SIGSEGV).0
8512ms50916kbKilled by signal 11(SIGSEGV).00
9544ms50912kbKilled by signal 11(SIGSEGV).0
10544ms50912kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?