Borderou de evaluare (job #2231562)

Utilizator inquisitorAnders inquisitor Data 14 august 2018 22:18:39
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:54: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:71: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:90:21: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] while(buffer[i] < 48 | buffer[i] > 57) ~~~~~~~~~~^~~~ user.cpp:94:21: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] while(buffer[i] > 47 & buffer[i] < 58) ~~~~~~~~~~^~~~ user.cpp: At global scope: user.cpp:86: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:92: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:98: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:106: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:107: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
10ms1268kbOK1010
20ms1264kbOK1010
30ms1268kbOK1010
48ms1384kbOK1030
512ms1336kbOK10
68ms1424kbOK10
736ms1852kbOK1010
864ms3440kbOK1030
9152ms5584kbOK10
10156ms4812kbOK10
Punctaj total100

Ceva nu functioneaza?