Borderou de evaluare (job #2220308)

Utilizator inquisitorAnders inquisitor Data 11 iulie 2018 12:27:01
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:31: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:49:21: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] while(buffer[i] < 48 | buffer[i] > 57) ~~~~~~~~~~^~~~ user.cpp:53:21: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] while(buffer[i] > 47 & buffer[i] < 58) ~~~~~~~~~~^~~~ user.cpp: At global scope: user.cpp:45: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:51: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:57: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:65: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:66: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
10ms800kbOK1010
20ms880kbOK1010
30ms936kbOK1010
48ms1116kbOK1030
512ms1072kbOK10
612ms1408kbOK10
736ms1668kbOK1010
868ms3408kbOK1030
9152ms5572kbOK10
10160ms4772kbOK10
Punctaj total100

Ceva nu functioneaza?