Pagini recente » Borderou de evaluare (job #1982094) | Borderou de evaluare (job #1267899) | Borderou de evaluare (job #2045138) | Borderou de evaluare (job #479524) | Borderou de evaluare (job #2221262)
Borderou de evaluare (job #2221262)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(size_t, size_t*, size_t*, size_t)’:
user.cpp:17: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:17:43: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘i32 main()’:
user.cpp:56:15: warning: operation on ‘i’ may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0x3D + 0x9) % 0x367C2DC9;
^~~
user.cpp:63:15: warning: operation on ‘i’ may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0xF + 0x3C) % 0x7CE67EF6;
^~~
user.cpp:70:15: warning: operation on ‘i’ may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0x2E + 0x22) % 0x6F6E4E7B;
^~~
user.cpp:77:15: warning: operation on ‘i’ may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0x53 + 0x2E) % 0xF4240;
^~~
user.cpp:84:15: warning: operation on ‘i’ may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0x1E + 0xE) % 0x65759;
^~~
user.cpp:91: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:24:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void put_number(size_t x)
^~~~~~~~~~
user.cpp:11: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:46: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:48:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u %u %u %u", &N, &A, &B, &C);
^
user.cpp:101: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 |
1 | 0ms | 2728kb | OK | 10 | 30 |
2 | 8ms | 3152kb | OK | 10 |
3 | 84ms | 9608kb | OK | 10 |
4 | 84ms | 9604kb | OK | 10 | 40 |
5 | 1036ms | 85520kb | OK | 10 |
6 | 1288ms | 85372kb | OK | 10 |
7 | 132ms | 10140kb | OK | 10 |
8 | 1468ms | 89016kb | OK | 10 | 30 |
9 | 1496ms | 88444kb | OK | 10 |
10 | 1516ms | 88956kb | OK | 10 |
Punctaj total | 100 |