Pagini recente » Borderou de evaluare (job #1794412) | Borderou de evaluare (job #134411) | Borderou de evaluare (job #1094122) | Borderou de evaluare (job #2909095) | Borderou de evaluare (job #2137904)
Borderou de evaluare (job #2137904)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(unsigned int*, unsigned int*, unsigned int)’:
user.cpp:11:82: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(unsigned int i = 0x0; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:11:82: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘unsigned int read()’:
user.cpp:22:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:31:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
^
user.cpp: At global scope:
user.cpp:48:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(unsigned int x)
^
user.cpp:18:45: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) unsigned int read()
^
user.cpp:5:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort(unsigned int A[], unsigned int B[], unsigned int digit)
^
user.cpp: In function ‘unsigned int read()’:
user.cpp:26:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(inBuffer, 0x1, 0x8000, stdin);
^
user.cpp:37:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(inBuffer, 0x1, 0x8000, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:74:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algsort.in", "r", stdin);
^
user.cpp:75:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algsort.out", "w", stdout);
^
user.cpp: In function ‘void CountingSort(unsigned int*, unsigned int*, unsigned int)’:
user.cpp:11:5: warning: iteration 255u invokes undefined behavior [-Waggressive-loop-optimizations]
for(unsigned int i = 0x0; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:11:33: note: containing loop
for(unsigned int i = 0x0; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 4848kb | Incorect | 0 | 0 |
2 | 0ms | 4844kb | Incorect | 0 |
3 | 0ms | 4844kb | Incorect | 0 |
4 | 0ms | 4848kb | Incorect | 0 |
5 | 0ms | 4860kb | Incorect | 0 | 0 |
6 | 0ms | 4864kb | Incorect | 0 |
7 | 0ms | 4860kb | Incorect | 0 |
8 | 0ms | 4860kb | Incorect | 0 |
9 | 20ms | 5904kb | Incorect | 0 | 0 |
10 | 20ms | 5900kb | Incorect | 0 |
11 | 20ms | 5900kb | Incorect | 0 |
12 | 20ms | 5900kb | Incorect | 0 |
13 | 68ms | 8984kb | Incorect | 0 | 0 |
14 | 68ms | 8992kb | Incorect | 0 |
15 | 68ms | 8992kb | Incorect | 0 |
16 | 68ms | 8992kb | Incorect | 0 |
17 | 100ms | 9576kb | Incorect | 0 | 0 |
18 | 96ms | 9576kb | Incorect | 0 |
19 | 96ms | 9576kb | Incorect | 0 |
20 | 96ms | 9576kb | Incorect | 0 |
Punctaj total | 0 |