Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
f-120713at3 f1:0 i4:1 1 Inserted (-120713, 224479). f-91652at4 f1:1 i4:2 2 Inserted (-91652, -666732). f808146at1 f1:2 f808146at1 f1:2 bs:5 bs1:11 f808146at9 f1:3 i4:4 f-120713at6 f1:4 i4:5 f-91652at5 f1:5 bs:11 bs1:23 f-91652at9 f1:6 i4:7 f-120713at20 f1:7 i4:8 f808146at18 f1:8 i4:9 nbs0:23 nbs1:23 i4:9 nbs0:23 nbs1:23 []2:9,23 f808146at18 f3:9 f808146at18 f3:9 f808146at18 f3:9 []1:9,23 f808146at18 f3:9 f808146at18 f3:9 []1:9,23 3 Accessed (808146, 0); Updated to (808146, -887192). Rehashed table from 5 to 23. f253894at20 f2:9 f253894at20 f2:9 []2:10,23 f253894at20 f3:10 f253894at20 f3:10 f253894at20 f3:10 []1:10,23 f253894at20 f3:10 f253894at20 f3:10 []1:10,23 4 Accessed (253894, 0); Updated to (253894, -427810). f-770319at3 f1:10 f-770319at3 f1:10 []2:11,23 f-770319at3 f3:11 f-770319at3 f3:11 f-770319at3 f3:11 []1:11,23 f-770319at3 f3:11 f-770319at3 f3:11 []1:11,23 5 Accessed (-770319, 0); Updated to (-770319, 406680). f126041at1 f1:11 bs:23 bs1:47 f126041at34 f1:12 i4:13 f-770319at36 f1:13 i4:14 f-91652at
JOJ Answer
1 Inserted (-120713, 224479). 2 Inserted (-91652, -666732). 3 Accessed (808146, 0); Updated to (808146, -887192). Rehashed table from 5 to 11. 4 Accessed (253894, 0); Updated to (253894, -427810). 5 Accessed (-770319, 0); Updated to (-770319, 406680). 6 Inserted (126041, 522714). Rehashed table from 11 to 23. 7 Accessed (-268931, 0); Updated to (-268931, 759279). 8 Inserted (-493099, 383471). 9 Inserted (-957690, -685534). 10 Inserted (-252343, 742156). 11 Inserted (-253432, -896689). 12 Inserted (-555953, -672395). Rehashed table from 23 to 47. 13 Accessed (-236719, 0); Updated to (-236719, 593814). 14 Inserted (-716988, 201594). 15 Inserted (-867093, -79365). 16 Accessed (-483784, 0); Updated to (-483784, -287852). 17 Accessed (-436376, 0); Updated to (-436376, 258503). 18 Inserted (-921911, -930617). 19 Accessed (-856855, 0); Updated to (-856855, 775493). 20 Accessed (-601365, 0); Updated to (-601365, -508109). 21 Accessed (177549, 0); Updated to (177549, -971613). 22 Accessed (107375, 0); Updated to (1073