Borderou de evaluare (job #2221257)

Utilizator inquisitorAnders inquisitor Data 13 iulie 2018 15:27:50
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: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); ^ 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
10ms2704kbKilled by signal 8(SIGFPE).00
20ms2704kbKilled by signal 8(SIGFPE).0
30ms2708kbKilled by signal 8(SIGFPE).0
40ms2704kbKilled by signal 8(SIGFPE).00
50ms2704kbKilled by signal 8(SIGFPE).0
60ms2700kbKilled by signal 8(SIGFPE).0
70ms2700kbKilled by signal 8(SIGFPE).0
80ms2704kbKilled by signal 8(SIGFPE).00
90ms2700kbKilled by signal 8(SIGFPE).0
100ms2704kbKilled by signal 8(SIGFPE).0
Punctaj total0

Ceva nu functioneaza?