Pagini recente » Borderou de evaluare (job #1058077) | Cod sursa (job #2425477) | Borderou de evaluare (job #1347047) | Borderou de evaluare (job #2495216) | Borderou de evaluare (job #2146547)
Borderou de evaluare (job #2146547)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort1()’:
user.cpp:18:73: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(u32 i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:18:73: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘void CountingSort2()’:
user.cpp:29:73: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(u32 i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:29:73: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘void CountingSort3()’:
user.cpp:40:73: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(u32 i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:40:73: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘i32 main()’:
user.cpp:77:61: warning: operation on ‘i’ may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0x3D + 0x9) % 0x367C2DC9;
^
user.cpp:84:61: warning: operation on ‘i’ may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0xF + 0x3C) % 0x7CE67EF6;
^
user.cpp:91:62: warning: operation on ‘i’ may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0x2E + 0x22) % 0x6F6E4E7B;
^
user.cpp:98:59: warning: operation on ‘i’ may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0x53 + 0x2E) % 0xF4240;
^
user.cpp:105:58: warning: operation on ‘i’ may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0x1E + 0xE) % 0x65759;
^
user.cpp:112:47: warning: operation on ‘i’ may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * A + B) % C;
^
user.cpp: At global scope:
user.cpp:47:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(unsigned int x)
^
user.cpp:34:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort3()
^
user.cpp:23:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort2()
^
user.cpp:12:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort1()
^
user.cpp: In function ‘i32 main()’:
user.cpp:69:79: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(freopen("radixsort.in", "r", stdin), "%d %d %d %d", &N, &A, &B, &C);
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 4932kb | OK | 10 | 30 |
| 2 | 8ms | 4968kb | OK | 10 |
| 3 | 76ms | 13600kb | OK | 10 |
| 4 | 76ms | 13600kb | OK | 10 | 40 |
| 5 | 664ms | 87648kb | OK | 10 |
| 6 | 664ms | 87652kb | OK | 10 |
| 7 | 96ms | 14132kb | OK | 10 |
| 8 | 776ms | 89696kb | OK | 10 | 30 |
| 9 | 760ms | 89696kb | OK | 10 |
| 10 | 792ms | 89700kb | OK | 10 |
| Punctaj total | 100 |