Pagini recente » Borderou de evaluare (job #1309749) | Borderou de evaluare (job #2759674) | Borderou de evaluare (job #2502036) | Borderou de evaluare (job #2061158) | Borderou de evaluare (job #1706173)
Borderou de evaluare (job #1706173)
Raport evaluator
Compilare:
user.cpp: In function ‘unsigned int readInt()’:
user.cpp:24:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (!digit[c])
^
user.cpp:26:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (digit[c]) {
^
user.cpp: In function ‘void hashInsert(unsigned int)’:
user.cpp:43:59: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
const unsigned headPtr = (arg ^ 0x9e3779b9 + (arg << 6) + (arg >> 2)) & MOD;
^
user.cpp: In function ‘void hashErase(unsigned int)’:
user.cpp:50:59: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
const unsigned headPtr = (arg ^ 0x9e3779b9 + (arg << 6) + (arg >> 2)) & MOD;
^
user.cpp: In function ‘bool hashFind(unsigned int)’:
user.cpp:63:59: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
const unsigned headPtr = (arg ^ 0x9e3779b9 + (arg << 6) + (arg >> 2)) & MOD;
^
user.cpp: In function ‘int main()’:
user.cpp:75:36: 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:76:38: 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 ‘char getChar()’:
user.cpp:15:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, BUFFSIZE, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 400kb | OK | 10 | 10 |
2 | 0ms | 400kb | OK | 10 | 10 |
3 | 0ms | 512kb | OK | 10 | 10 |
4 | 8ms | 1180kb | OK | 10 | 30 |
5 | 8ms | 1284kb | OK | 10 |
6 | 8ms | 1688kb | OK | 10 |
7 | 32ms | 1860kb | OK | 10 | 10 |
8 | 84ms | 4204kb | OK | 10 | 30 |
9 | 232ms | 6752kb | OK | 10 |
10 | 224ms | 5768kb | OK | 10 |
Punctaj total | 100 |