Pagini recente » Borderou de evaluare (job #283114) | Borderou de evaluare (job #630637) | Borderou de evaluare (job #1287180) | Borderou de evaluare (job #2948751) | Borderou de evaluare (job #2360686)
Borderou de evaluare (job #2360686)
Raport evaluator
Compilare:
main.cpp: In function 'void CountingSort1()':
main.cpp:18:40: warning: operation on 'i' may be undefined [-Wsequence-point]
for(u32 i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^~~
main.cpp:18:40: warning: operation on 'i' may be undefined [-Wsequence-point]
main.cpp: In function 'void CountingSort2()':
main.cpp:29:40: warning: operation on 'i' may be undefined [-Wsequence-point]
for(u32 i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^~~
main.cpp:29:40: warning: operation on 'i' may be undefined [-Wsequence-point]
main.cpp: In function 'void CountingSort3()':
main.cpp:40:40: warning: operation on 'i' may be undefined [-Wsequence-point]
for(u32 i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^~~
main.cpp:40:40: warning: operation on 'i' may be undefined [-Wsequence-point]
main.cpp: In function 'i32 main()':
main.cpp:77:15: warning: operation on 'i' may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0x3D + 0x9) % 0x367C2DC9;
^~~
main.cpp:84:15: warning: operation on 'i' may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0xF + 0x3C) % 0x7CE67EF6;
^~~
main.cpp:91:15: warning: operation on 'i' may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0x2E + 0x22) % 0x6F6E4E7B;
^~~
main.cpp:98:15: warning: operation on 'i' may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0x53 + 0x2E) % 0xF4240;
^~~
main.cpp:105:15: warning: operation on 'i' may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * 0x1E + 0xE) % 0x65759;
^~~
main.cpp:112:15: warning: operation on 'i' may be undefined [-Wsequence-point]
v[--i] = (u64(v[-~i]) * A + B) % C;
^~~
main.cpp: At global scope:
main.cpp:47:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(unsigned int x)
^~~~
main.cpp:34:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort3()
^~~~~~~~~~~~~
main.cpp:23:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort2()
^~~~~~~~~~~~~
main.cpp:12:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort1()
^~~~~~~~~~~~~
main.cpp: In function 'i32 main()':
main.cpp:120: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 | 2ms | 131kb | OK | 10 | 30 |
2 | 12ms | 1048kb | OK | 10 |
3 | 105ms | 9175kb | OK | 10 |
4 | 106ms | 9175kb | OK | 10 | 40 |
5 | 880ms | 93847kb | OK | 10 |
6 | 883ms | 93585kb | OK | 10 |
7 | 140ms | 10223kb | OK | 10 |
8 | 1375ms | 101056kb | OK | 10 | 30 |
9 | 1046ms | 99876kb | OK | 10 |
10 | 1362ms | 100925kb | OK | 10 |
Punctaj total | 100 |