Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

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

insert -766608
nfind -766608
inserted at3
1
Inserted (-766608, -367720).
insert -969643
nfind2 -969643
inserted at3
2
Inserted (-969643, 337405).
nfind 608470
nfind 608470
insert 608470
nfind 608470
inserted at5
insert -766608
nfind -766608
inserted at9
insert -969643
nfind -969643
inserted at1
insert -969643
nfind -969643
inserted at20
insert 608470
nfind 608470
inserted at5
insert -766608
nfind -766608
inserted at11
yfind 608470
yfind 608470
yfind 608470
yfind 608470
yfind 608470
3
Accessed (608470, 0); Updated to (608470, -702436). Rehashed table from 5 to 23.
nfind -626576
nfind -626576
yfind -626576
yfind -626576
yfind -626576
yfind -626576
yfind -626576
4
Accessed (-626576, 0); Updated to (-626576, -817460).
nfind 518895
nfind 518895
yfind 518895
yfind 518895
yfind 518895
yfind 518895
yfind 518895
5
Accessed (518895, 0); Updated to (518895, 991783).
insert -628383
nfind -628383
inserted at6
insert 608470
nfind 608470
inserted at8
insert -628383
nfind -628383
inserted at32
insert -766608
nfind -766608
in

JOJ Answer

1
Inserted (-766608, -367720).
2
Inserted (-969643, 337405).
3
Accessed (608470, 0); Updated to (608470, -702436). Rehashed table from 5 to 11.
4
Accessed (-626576, 0); Updated to (-626576, -817460).
5
Accessed (518895, 0); Updated to (518895, 991783).
6
Inserted (-628383, -829666). Rehashed table from 11 to 23.
7
Accessed (779907, 0); Updated to (779907, -246302).
8
Inserted (257087, -295961).
9
Accessed (-649217, 0); Updated to (-649217, 904947).
10
Accessed (460927, 0); Updated to (460927, 750941).
11
Accessed (430333, 0); Updated to (430333, 650666).
12
Accessed (541346, 0); Updated to (541346, -885433). Rehashed table from 23 to 47.
13
Accessed (418263, 0); Updated to (418263, -13581).
14
Accessed (-336892, 0); Updated to (-336892, 586312).
15
Inserted (331553, -267854).
16
Inserted (-626034, 146965).
17
Inserted (-241139, -178454).
18
Inserted (72428, 421440).
19
Updated (-766608, -138703).
20
Accessed (420048, 0); Updated to (420048, 658961).
21
Accessed (-102298, 0); Updated to (-102298, 879152).
22
A