Pagini recente » Borderou de evaluare (job #1594511) | Borderou de evaluare (job #2267981) | Borderou de evaluare (job #483746) | Borderou de evaluare (job #1651563) | Borderou de evaluare (job #1478489)
Borderou de evaluare (job #1478489)
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 |
1 | 20ms | 15884kb | OK | 10 | 10 |
2 | 20ms | 15876kb | OK | 10 | 10 |
3 | 20ms | 16076kb | OK | 10 | 10 |
4 | 40ms | 16144kb | OK | 10 | 30 |
5 | 40ms | 16808kb | OK | 10 |
6 | 48ms | 16688kb | OK | 10 |
7 | 104ms | 16816kb | OK | 10 | 10 |
8 | 244ms | 16820kb | OK | 10 | 30 |
9 | 648ms | 16812kb | OK | 10 |
10 | 608ms | 16816kb | OK | 10 |
Punctaj total | 100 |