Pagini recente » Borderou de evaluare (job #1932945) | Borderou de evaluare (job #1127151) | Borderou de evaluare (job #2421091) | Borderou de evaluare (job #171274) | Borderou de evaluare (job #2139035)
Borderou de evaluare (job #2139035)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(u32*, u32*, u32)’:
user.cpp:19:73: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(u32 i = 0x0; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:19:73: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘i32 main()’:
user.cpp:121:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i32 i = 0x1; i != N; ++i)
^
user.cpp:132:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i32 i = 1; i != N; ++i)
^
user.cpp:143:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i32 i = 0x1; i != N; ++i)
^
user.cpp: At global scope:
user.cpp:26:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(u32 x)
^
user.cpp:13:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort(u32 A[], u32 B[], u32 digit)
^
user.cpp: In function ‘void CountingSort(u32*, u32*, u32)’:
user.cpp:19:5: warning: iteration 255u invokes undefined behavior [-Waggressive-loop-optimizations]
for(u32 i = 0x0; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:19:24: note: containing loop
for(u32 i = 0x0; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 5588kb | OK | 10 | 30 |
2 | 8ms | 5592kb | OK | 10 |
3 | 80ms | 13780kb | OK | 10 |
4 | 80ms | 13784kb | OK | 10 | 40 |
5 | 852ms | 87960kb | OK | 10 |
6 | 744ms | 87964kb | OK | 10 |
7 | 92ms | 13784kb | OK | 10 |
8 | 920ms | 90012kb | OK | 10 | 30 |
9 | 892ms | 90008kb | OK | 10 |
10 | 920ms | 90004kb | OK | 10 |
Punctaj total | 100 |