Pagini recente » Borderou de evaluare (job #1724289) | Borderou de evaluare (job #2144793) | Borderou de evaluare (job #3252667) | Borderou de evaluare (job #957270) | Borderou de evaluare (job #2144778)
Borderou de evaluare (job #2144778)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(unsigned int*, unsigned int*, unsigned int)’:
user.cpp:13:62: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(; i != 0x800; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:13:62: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘void read(unsigned int&)’:
user.cpp:24:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
^
user.cpp:29:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
^
user.cpp: At global scope:
user.cpp:39:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void itoa(unsigned int x)
^
user.cpp:18:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(unsigned int &num)
^
user.cpp:7: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:26:23: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p != 0x8000 || (fread(inBuffer, 0x1, 0x8000, stdin), p = 0x0);
^
user.cpp:33:23: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p != 0x8000 || (fread(inBuffer, 0x1, 0x8000, stdin), p = 0x0);
^
user.cpp: In function ‘int main()’:
user.cpp:61: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);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/5/cstdio:42,
from user.cpp:1:
In function ‘size_t fread(void*, size_t, size_t, FILE*)’,
inlined from ‘void read(unsigned int&)’ at user.cpp:26:23:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:293:71: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer
return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream);
^
In function ‘size_t fread(void*, size_t, size_t, FILE*)’,
inlined from ‘void read(unsigned int&)’ at user.cpp:33:23:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:293:71: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer
return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream);
^
In function ‘size_t fread(void*, size_t, size_t, FILE*)’,
inlined from ‘void read(unsigned int&)’ at user.cpp:26:23,
inlined from ‘int main()’ at user.cpp:63:12:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:293:71: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 3024kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 2 | 16ms | 1440kb | Incorect | 0 |
| 3 | 0ms | 3028kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 5544kb | Incorect | 0 |
| 5 | 0ms | 3028kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 6 | 16ms | 1440kb | Incorect | 0 |
| 7 | 16ms | 1440kb | Incorect | 0 |
| 8 | 0ms | 5536kb | Incorect | 0 |
| 9 | 0ms | 3028kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 10 | 16ms | 1444kb | Incorect | 0 |
| 11 | 16ms | 1444kb | Incorect | 0 |
| 12 | 16ms | 1448kb | Incorect | 0 |
| 13 | 0ms | 5536kb | Incorect | 0 | 0 |
| 14 | 0ms | 5544kb | Incorect | 0 |
| 15 | 0ms | 3028kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 0ms | 5540kb | Incorect | 0 |
| 17 | 16ms | 1444kb | Incorect | 0 | 0 |
| 18 | 0ms | 5536kb | Incorect | 0 |
| 19 | 0ms | 3028kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 0ms | 5544kb | Incorect | 0 |
| Punctaj total | 0 |