Pagini recente » Borderou de evaluare (job #2194126) | Concursul Centrelor de Excelenta | Borderou de evaluare (job #1483462) | Borderou de evaluare (job #224369) | Borderou de evaluare (job #2230330)
Borderou de evaluare (job #2230330)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(unsigned int, unsigned int*, unsigned int*, unsigned int)’:
user.cpp:10:45: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(unsigned i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^~~
user.cpp:10:45: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: At global scope:
user.cpp:42:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void put_number(unsigned x)
^~~~~~~~~~
user.cpp:17:41: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) unsigned get_number()
^~~~~~~~~~
user.cpp:4:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort(unsigned N, unsigned A[], unsigned B[], unsigned digit)
^~~~~~~~~~~~
user.cpp: In function ‘unsigned int get_number()’:
user.cpp:25:31: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p == IN_BUFFER_SIZE && (fread(inBuffer, 0x1, IN_BUFFER_SIZE, stdin), p = 0x0);
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp:32:31: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p == IN_BUFFER_SIZE && (fread(inBuffer, 0x1, IN_BUFFER_SIZE, stdin), p = 0x0);
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:64: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:65: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 ‘unsigned int get_number()’:
user.cpp:23:21: warning: array subscript is above array bounds [-Warray-bounds]
while(inBuffer[p] < 0x30 || inBuffer[p] > 0x39)
~~~~~~~~~~^
user.cpp:30:43: warning: array subscript is above array bounds [-Warray-bounds]
number = number * 0xA + inBuffer[p] - 0x30;
~~~~~~~~~~^
user.cpp:34:22: warning: array subscript is above array bounds [-Warray-bounds]
if(inBuffer[p] < 0x30 || inBuffer[p] > 0x39) break;
~~~~~~~~~~^
user.cpp: In function ‘int main()’:
user.cpp:23:21: warning: array subscript is above array bounds [-Warray-bounds]
while(inBuffer[p] < 0x30 || inBuffer[p] > 0x39)
~~~~~~~~~~^
user.cpp:30:43: warning: array subscript is above array bounds [-Warray-bounds]
number = number * 0xA + inBuffer[p] - 0x30;
~~~~~~~~~~^
user.cpp:34:22: warning: array subscript is above array bounds [-Warray-bounds]
if(inBuffer[p] < 0x30 || inBuffer[p] > 0x39) break;
~~~~~~~~~~^
user.cpp:23:21: warning: array subscript is above array bounds [-Warray-bounds]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 2656kb | Incorect | 0 | 0 |
| 2 | 0ms | 800kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 808kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 800kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 876kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 6 | 0ms | 936kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 868kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 868kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 10 | 0ms | 2656kb | Incorect | 0 |
| 11 | 0ms | 860kb | Killed by signal 11(SIGSEGV). | 0 |
| 12 | 0ms | 876kb | Killed by signal 11(SIGSEGV). | 0 |
| 13 | 0ms | 800kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 14 | 0ms | 2652kb | Incorect | 0 |
| 15 | 0ms | 796kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 0ms | 796kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 0ms | 876kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 18 | 0ms | 804kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 0ms | 2652kb | Incorect | 0 |
| 20 | 0ms | 864kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |