Borderou de evaluare (job #2109202)

Utilizator inquisitorAnders inquisitor Data 19 ianuarie 2018 12:05:50
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void Delete(unsigned int)’: user.cpp:17:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(v[h][i] == N) ^ user.cpp: In function ‘unsigned int Find(unsigned int)’: user.cpp:34:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(v[h][i] == N) ^ user.cpp: In function ‘int get_nr()’: user.cpp:58:21: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] while(buffer[i] < 48 | buffer[i] > 57) ^ user.cpp:62: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:74: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:75: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:60: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:66: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
10ms404kbOK1010
20ms404kbOK1010
30ms408kbOK1010
48ms780kbOK1030
512ms768kbOK10
616ms1220kbOK10
744ms1320kbOK1010
880ms3100kbOK1030
9164ms5040kbOK10
10172ms4488kbOK10
Punctaj total100

Ceva nu functioneaza?