Pagini recente » Borderou de evaluare (job #323354) | Borderou de evaluare (job #773603) | Borderou de evaluare (job #655277) | Borderou de evaluare (job #1352291) | Borderou de evaluare (job #2252023)
Borderou de evaluare (job #2252023)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(unsigned int, unsigned int*, unsigned int*, unsigned int)’:
user.cpp:10:47: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(unsigned int i = 0x0; i != 0x7FF; index[++i] = index[~-i] + frequence[~-i]);
^~~
user.cpp:10:47: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘int main()’:
user.cpp:81:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1, j = 1; j <= N; j++) {
~~^~~~
user.cpp:82: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:40:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void put_number(unsigned int x)
^~~~~~~~~~
user.cpp:15:45: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) unsigned int get_number()
^~~~~~~~~~
user.cpp:4: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:23:19: 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:30:19: 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:62:36: 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:63:38: 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 | 4716kb | Incorect | 0 | 0 |
2 | 0ms | 4716kb | Incorect | 0 | 0 |
3 | 20ms | 4924kb | Incorect | 0 | 0 |
4 | 20ms | 4888kb | Incorect | 0 |
5 | 16ms | 4744kb | Incorect | 0 | 0 |
Punctaj total | 0 |