Pagini recente » Borderou de evaluare (job #1344319) | Borderou de evaluare (job #1642573) | Borderou de evaluare (job #3271695) | Borderou de evaluare (job #623681) | Borderou de evaluare (job #2252049)
Borderou de evaluare (job #2252049)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(unsigned int, unsigned int*, unsigned int*, unsigned int)’:
user.cpp:12: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:12:49: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘int main()’:
user.cpp:81:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < N; ++i)
~~^~~
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 int x)
^~~~~~~~~~
user.cpp:17:45: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) unsigned int get_number()
^~~~~~~~~~
user.cpp:6: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:25: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:32: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: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 | 2660kb | OK | 5 | 20 |
2 | 0ms | 2664kb | OK | 5 |
3 | 0ms | 2668kb | OK | 5 |
4 | 0ms | 2660kb | OK | 5 |
5 | 0ms | 2676kb | OK | 5 | 20 |
6 | 0ms | 2672kb | OK | 5 |
7 | 0ms | 2676kb | OK | 5 |
8 | 0ms | 2680kb | OK | 5 |
9 | 36ms | 3080kb | OK | 5 | 20 |
10 | 36ms | 3084kb | OK | 5 |
11 | 36ms | 3084kb | OK | 5 |
12 | 36ms | 3088kb | OK | 5 |
13 | 132ms | 4056kb | OK | 5 | 20 |
14 | 124ms | 4728kb | OK | 5 |
15 | 128ms | 4060kb | OK | 5 |
16 | 128ms | 4056kb | OK | 5 |
17 | 192ms | 4648kb | OK | 5 | 20 |
18 | 188ms | 4644kb | OK | 5 |
19 | 192ms | 4648kb | OK | 5 |
20 | 184ms | 4644kb | OK | 5 |
Punctaj total | 100 |