Pagini recente » Cod sursa (job #1742673) | Cod sursa (job #2166246) | Cod sursa (job #2384439) | Cod sursa (job #2200498) | Borderou de evaluare (job #2221000)
Borderou de evaluare (job #2221000)
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 == 0x20000 && (fread(inBuffer, 0x1, 0x20000, 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 == 0x20000 && (fread(inBuffer, 0x1, 0x20000, 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 | 2660kb | OK | 5 | 20 |
2 | 0ms | 2660kb | OK | 5 |
3 | 0ms | 2664kb | OK | 5 |
4 | 0ms | 2664kb | OK | 5 |
5 | 0ms | 2680kb | OK | 5 | 20 |
6 | 0ms | 2680kb | OK | 5 |
7 | 0ms | 2684kb | OK | 5 |
8 | 0ms | 2684kb | OK | 5 |
9 | 16ms | 4040kb | OK | 5 | 20 |
10 | 16ms | 4040kb | OK | 5 |
11 | 12ms | 4040kb | OK | 5 |
12 | 12ms | 4044kb | OK | 5 |
13 | 52ms | 7308kb | OK | 5 | 20 |
14 | 52ms | 7308kb | OK | 5 |
15 | 52ms | 7304kb | OK | 5 |
16 | 48ms | 7308kb | OK | 5 |
17 | 80ms | 9388kb | OK | 5 | 20 |
18 | 76ms | 9384kb | OK | 5 |
19 | 76ms | 9384kb | OK | 5 |
20 | 72ms | 9484kb | OK | 5 |
Punctaj total | 100 |