Pagini recente » Borderou de evaluare (job #2960369) | Cod sursa (job #2139109) | Borderou de evaluare (job #1839442) | Borderou de evaluare (job #1642628) | Borderou de evaluare (job #2220996)
Borderou de evaluare (job #2220996)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(unsigned int, unsigned int*, unsigned int*, unsigned int)’:
user.cpp:9:49: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(unsigned int i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^~~
user.cpp:9:49: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: At global scope:
user.cpp:39:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void put_number(unsigned int x)
^~~~~~~~~~
user.cpp:14:45: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) unsigned int get_number()
^~~~~~~~~~
user.cpp:3:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void CountingSort(unsigned int N, unsigned int A[], unsigned int B[], unsigned int digit)
^~~~~~~~~~~~
user.cpp: In function ‘unsigned int get_number()’:
user.cpp:22:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p == 0x80000 && (fread(inBuffer, 0x1, 0x80000, stdin), p = 0x0);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user.cpp:29:24: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
++p == 0x80000 && (fread(inBuffer, 0x1, 0x80000, 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);
^
user.cpp:62: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 | 4712kb | OK | 5 | 20 |
| 2 | 0ms | 4704kb | OK | 5 |
| 3 | 0ms | 4712kb | OK | 5 |
| 4 | 0ms | 4708kb | OK | 5 |
| 5 | 0ms | 4720kb | OK | 5 | 20 |
| 6 | 0ms | 4716kb | OK | 5 |
| 7 | 0ms | 4716kb | OK | 5 |
| 8 | 0ms | 4716kb | OK | 5 |
| 9 | 16ms | 6148kb | OK | 5 | 20 |
| 10 | 16ms | 6152kb | OK | 5 |
| 11 | 16ms | 6152kb | OK | 5 |
| 12 | 16ms | 6148kb | OK | 5 |
| 13 | 56ms | 9416kb | OK | 5 | 20 |
| 14 | 52ms | 9416kb | OK | 5 |
| 15 | 52ms | 9420kb | OK | 5 |
| 16 | 48ms | 9416kb | OK | 5 |
| 17 | 80ms | 10004kb | OK | 5 | 20 |
| 18 | 76ms | 10000kb | OK | 5 |
| 19 | 76ms | 10008kb | OK | 5 |
| 20 | 72ms | 10004kb | OK | 5 |
| Punctaj total | 100 |