Borderou de evaluare (job #2220316)

Utilizator inquisitorAnders inquisitor Data 11 iulie 2018 12:52:28
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void Delete(int)’: user.cpp:15:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i != v[h].size(); ++i) ~~^~~~~~~~~~~~~~ user.cpp: In function ‘bool Find(int)’: user.cpp:32:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i != v[h].size(); ++i) ~~^~~~~~~~~~~~~~ user.cpp: In function ‘int get_nr()’: user.cpp:51:21: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] while(buffer[i] < 48 | buffer[i] > 57) ~~~~~~~~~~^~~~ user.cpp:55:21: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] while(buffer[i] > 47 & buffer[i] < 58) ~~~~~~~~~~^~~~ user.cpp: At global scope: user.cpp:47:36: warning: always_inline function might not be inlinable [-Wattributes] __attribute__((always_inline)) int get_nr() ^~~~~~ user.cpp: In function ‘int get_nr()’: user.cpp:53:69: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] if(++i == buffSize) fread(buffer, 1, buffSize, stdin), i = 0; ^ user.cpp:59:69: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] if(++i == buffSize) fread(buffer, 1, buffSize, stdin), i = 0; ^ user.cpp: In function ‘int main()’: user.cpp:67:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashuri.in", "r", stdin); ^ user.cpp:68:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hashuri.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms796kbOK1010
20ms764kbOK1010
30ms804kbOK1010
48ms1112kbOK1030
512ms1072kbOK10
612ms1416kbOK10
736ms1668kbOK1010
868ms3404kbOK1030
9156ms5568kbOK10
10160ms4780kbOK10
Punctaj total100

Ceva nu functioneaza?