Borderou de evaluare (job #1478489)

Utilizator retrogradLucian Bicsi retrograd Data 28 august 2015 19:23:52
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In constructor ‘HMap::HMap(int)’: user.cpp:23:28: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(B, 0, sizeof(B)); ^ user.cpp:24:31: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(Size, 0, sizeof(Size)); ^ user.cpp: In function ‘int main()’: user.cpp:90: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:91: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 member function ‘Scanner& Scanner::operator>>(var&)’: user.cpp:79:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] for(sign = 0; !isdigit(buff[poz]) && buff[poz] != '-'; adv()); ^ user.cpp:80:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] if(buff[poz] == '-') sign = 1, adv(); ^ user.cpp:81:9: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] for(a = 0; isdigit(buff[poz]); a = a * 10 + buff[poz] - '0', adv()); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
120ms15884kbOK1010
220ms15876kbOK1010
320ms16076kbOK1010
440ms16144kbOK1030
540ms16808kbOK10
648ms16688kbOK10
7104ms16816kbOK1010
8244ms16820kbOK1030
9648ms16812kbOK10
10608ms16816kbOK10
Punctaj total100

Ceva nu functioneaza?