Pagini recente » Borderou de evaluare (job #31172) | Borderou de evaluare (job #1117041) | Borderou de evaluare (job #2174910) | Borderou de evaluare (job #2517755) | Borderou de evaluare (job #2252040)
Borderou de evaluare (job #2252040)
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:83:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1, j = 1; j <= N; j++) {
~~^~~~
user.cpp:84:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i <= N && w[i] <= sol + 1)
~~^~~~
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("valoare.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("valoare.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 2672kb | Incorect | 0 | 0 |
2 | 0ms | 2672kb | Incorect | 0 | 0 |
3 | 20ms | 3048kb | Incorect | 0 | 0 |
4 | 20ms | 3052kb | Incorect | 0 |
5 | 16ms | 2884kb | Incorect | 0 | 0 |
Punctaj total | 0 |