Borderou de evaluare (job #2220552)

Utilizator inquisitorAnders inquisitor Data 12 iulie 2018 09:47:30
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void CountingSort(unsigned int*, unsigned int*, unsigned int)’: user.cpp:12:29: warning: operation on ‘i’ may be undefined [-Wsequence-point] for(; i != 0x800; index[++i] = index[~-i] + frequence[~-i]); ^~~ user.cpp:12:29: warning: operation on ‘i’ may be undefined [-Wsequence-point] user.cpp: In function ‘void read(unsigned int&)’: user.cpp:23:23: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39) ~~~~~~~~~~~~^~~~~~ user.cpp:28:23: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) ~~~~~~~~~~~~^~~~~~ user.cpp: At global scope: user.cpp:38:37: warning: always_inline function might not be inlinable [-Wattributes] __attribute__((always_inline)) void itoa(unsigned int x) ^~~~ user.cpp:17:37: warning: always_inline function might not be inlinable [-Wattributes] __attribute__((always_inline)) void read(unsigned int &num) ^~~~ user.cpp:6:37: warning: always_inline function might not be inlinable [-Wattributes] __attribute__((always_inline)) void CountingSort(unsigned int A[], unsigned int B[], unsigned int digit) ^~~~~~~~~~~~ user.cpp: In function ‘void read(unsigned int&)’: 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:60: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:61: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
10ms2664kbKilled by signal 6(SIGABRT).00
20ms2664kbKilled by signal 6(SIGABRT).0
30ms2668kbKilled by signal 6(SIGABRT).0
40ms2668kbKilled by signal 6(SIGABRT).0
50ms2684kbKilled by signal 6(SIGABRT).00
60ms2684kbKilled by signal 6(SIGABRT).0
70ms2680kbKilled by signal 6(SIGABRT).0
80ms2684kbKilled by signal 6(SIGABRT).0
916ms3948kbKilled by signal 6(SIGABRT).00
1016ms3944kbKilled by signal 6(SIGABRT).0
1116ms3944kbKilled by signal 6(SIGABRT).0
1216ms3944kbKilled by signal 6(SIGABRT).0
1360ms7192kbKilled by signal 6(SIGABRT).00
1460ms7188kbKilled by signal 6(SIGABRT).0
1560ms7192kbKilled by signal 6(SIGABRT).0
1656ms7152kbKilled by signal 6(SIGABRT).0
1792ms9288kbKilled by signal 6(SIGABRT).00
1888ms9288kbKilled by signal 6(SIGABRT).0
1988ms9292kbKilled by signal 6(SIGABRT).0
2084ms9384kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?