Borderou de evaluare (job #2109154)

Utilizator inquisitorAnders inquisitor Data 19 ianuarie 2018 11:21:26
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:14:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i != table[hashCode].size(); ++i) ^ user.cpp: In function ‘bool Find(int)’: user.cpp:31:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i != table[hashCode].size(); ++i) ^ user.cpp: In function ‘int get_nr()’: user.cpp:60:21: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] while(buffer[i] < 48 | buffer[i] > 57) ^ user.cpp:64:21: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] while(buffer[i] > 47 & buffer[i] < 58) ^ user.cpp: In function ‘int main()’: user.cpp:76: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:77: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); ^ user.cpp: In function ‘int get_nr()’: user.cpp:62: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:68: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; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
136ms23808kbOK1010
236ms23808kbOK1010
336ms23808kbOK1010
452ms25032kbOK1030
564ms25756kbOK10
656ms26976kbOK10
7116ms28736kbOK1010
8240ms35164kbOK1030
9428ms44088kbOK10
10384ms42100kbOK10
Punctaj total100

Ceva nu functioneaza?