Pagini recente » Borderou de evaluare (job #2454568) | Borderou de evaluare (job #12517) | Borderou de evaluare (job #2977400) | Borderou de evaluare (job #3154222) | Borderou de evaluare (job #2230332)
Borderou de evaluare (job #2230332)
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);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 2672kb | OK | 5 | 20 |
| 2 | 0ms | 2664kb | OK | 5 |
| 3 | 0ms | 2664kb | OK | 5 |
| 4 | 0ms | 2660kb | OK | 5 |
| 5 | 0ms | 2684kb | OK | 5 | 20 |
| 6 | 0ms | 2684kb | OK | 5 |
| 7 | 0ms | 2684kb | OK | 5 |
| 8 | 0ms | 2680kb | OK | 5 |
| 9 | 16ms | 3972kb | OK | 5 | 20 |
| 10 | 16ms | 3976kb | OK | 5 |
| 11 | 12ms | 3972kb | OK | 5 |
| 12 | 12ms | 3976kb | OK | 5 |
| 13 | 52ms | 7244kb | OK | 5 | 20 |
| 14 | 52ms | 7248kb | OK | 5 |
| 15 | 52ms | 7244kb | OK | 5 |
| 16 | 48ms | 7244kb | OK | 5 |
| 17 | 80ms | 9328kb | OK | 5 | 20 |
| 18 | 76ms | 9320kb | OK | 5 |
| 19 | 76ms | 9320kb | OK | 5 |
| 20 | 72ms | 9420kb | OK | 5 |
| Punctaj total | 100 |