Pagini recente » Borderou de evaluare (job #1112154) | Borderou de evaluare (job #981767) | Borderou de evaluare (job #43857) | Borderou de evaluare (job #2239013) | Borderou de evaluare (job #2137785)
Borderou de evaluare (job #2137785)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(uint_fast32_t*, uint_fast32_t*, uint_fast32_t)’:
user.cpp:12:83: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(uint_fast32_t i = 0x0; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:12:83: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘int main()’:
user.cpp:46:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘uint_fast32_t* {aka long unsigned int*}’ [-Wformat=]
scanf("%d %d %d %d", &N, &A, &B, &C);
^
user.cpp:46:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘uint_fast32_t* {aka long unsigned int*}’ [-Wformat=]
user.cpp:46:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘uint_fast32_t* {aka long unsigned int*}’ [-Wformat=]
user.cpp:46:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘uint_fast32_t* {aka long unsigned int*}’ [-Wformat=]
user.cpp:43: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:44: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:46:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &N, &A, &B, &C);
^
user.cpp: In function ‘void CountingSort(uint_fast32_t*, uint_fast32_t*, uint_fast32_t)’:
user.cpp:12:5: warning: iteration 255ul invokes undefined behavior [-Waggressive-loop-optimizations]
for(uint_fast32_t i = 0x0; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:12:34: note: containing loop
for(uint_fast32_t i = 0x0; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 4920kb | OK | 10 | 30 |
2 | 12ms | 9052kb | OK | 10 |
3 | 104ms | 21780kb | OK | 10 |
4 | 104ms | 21780kb | OK | 10 | 0 |
5 | 496ms | Depăşit | Memory limit exceeded. | 0 |
6 | 496ms | Depăşit | Memory limit exceeded. | 0 |
7 | 128ms | 22312kb | OK | 10 |
8 | 496ms | Depăşit | Memory limit exceeded. | 0 | 0 |
9 | 496ms | Depăşit | Memory limit exceeded. | 0 |
10 | 496ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |