Pagini recente » Borderou de evaluare (job #2266879) | Borderou de evaluare (job #1331264) | Borderou de evaluare (job #587424) | Borderou de evaluare (job #730424) | Borderou de evaluare (job #2144587)
Borderou de evaluare (job #2144587)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(unsigned int*, unsigned int*, unsigned int)’:
user.cpp:12:62: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:12:62: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘void read(unsigned int&)’:
user.cpp:23:24: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p0] < 0x30 | inBuffer[p0] > 0x39)
^
user.cpp:28:24: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p0] > 0x2F & inBuffer[p0] < 0x3A)
^
user.cpp: At global scope:
user.cpp:38:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(unsigned int x)
^
user.cpp:19:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(unsigned int &num)
^
user.cpp:6: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 ‘void read(unsigned int&)’:
user.cpp:25:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p0 != 0x8000 || (fread(inBuffer, 0x1, 0x8000, stdin), p0 = 0x0);
^
user.cpp:32:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p0 != 0x8000 || (fread(inBuffer, 0x1, 0x8000, stdin), p0 = 0x0);
^
user.cpp: In function ‘int main()’:
user.cpp:60: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:61: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 4852kb | OK | 5 | 20 |
2 | 0ms | 4852kb | OK | 5 |
3 | 0ms | 4848kb | OK | 5 |
4 | 0ms | 4848kb | OK | 5 |
5 | 0ms | 4856kb | OK | 5 | 20 |
6 | 0ms | 4856kb | OK | 5 |
7 | 0ms | 4856kb | OK | 5 |
8 | 0ms | 4860kb | OK | 5 |
9 | 16ms | 5704kb | OK | 5 | 20 |
10 | 16ms | 5704kb | OK | 5 |
11 | 16ms | 5704kb | OK | 5 |
12 | 16ms | 5716kb | OK | 5 |
13 | 60ms | 8988kb | OK | 5 | 20 |
14 | 56ms | 8988kb | OK | 5 |
15 | 56ms | 8992kb | OK | 5 |
16 | 56ms | 8992kb | OK | 5 |
17 | 88ms | 9572kb | OK | 5 | 20 |
18 | 84ms | 9572kb | OK | 5 |
19 | 84ms | 9576kb | OK | 5 |
20 | 80ms | 9576kb | OK | 5 |
Punctaj total | 100 |