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

bs:5insert -766608(3)
nfind -766608at3
inserted at3
1
Inserted (-766608, -367720).
bs:5insert -969643(3)
nfind2 -969643
inserted at3
2
Inserted (-969643, 337405).
nfind 608470at0
nfind 608470at0
bs:11insert -766608(9)
nfind -766608at9
inserted at9
bs:11insert -969643(1)
nfind -969643at1
inserted at1
nbs:11
nfind 608470at5
yfind 608470at5
yfind 608470at5
yfind 608470at5
yfind 608470at5
yfind 608470at5
3
Accessed (608470, 0); Updated to (608470, -702436). Rehashed table from 5 to 11.
nfind -626576at0
nfind -626576at0
bs:23insert -969643(20)
nfind -969643at20
inserted at20
bs:23insert 608470(5)
nfind 608470at5
inserted at5
bs:23insert -766608(11)
nfind -766608at11
inserted at11
nbs:23
nfind -626576at19
yfind -626576at19
yfind -626576at19
yfind -626576at19
yfind -626576at19
yfind -626576at19
4
Accessed (-626576, 0); Updated to (-626576, -817460). Rehashed table from 11 to 23.
nfind 518895at15
nfind 518895at15
nfind 518895at15
yfind 518895at15
yfind 518895at15
yfind 518895at15
yfind 518895at15
yfind 518895at15
5
A

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