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

Inserting key-value pairs:
key  = -103034value = 0
1
Accessed (-103034, 0); Updated to (-103034, 71947).
Inserting key-value pairs:
key  = -62656value = 0
2
Accessed (-62656, 0); Updated to (-62656, 870048).
Inserting key-value pairs:
key  = -315059value = 0
Inserting key-value pairs:
key  = -62656value = 870048
Inserting key-value pairs:
key  = -103034value = 71947
Inserting key-value pairs:
key  = -315059value = 0
3
Accessed (-315059, 0); Updated to (-315059, 22906). Rehashed table from 5 to 11.
Inserting key-value pairs:
key  = 308291value = 0
4
Accessed (308291, 0); Updated to (308291, -231234).
Inserting key-value pairs:
key  = -357863value = 0
5
Accessed (-357863, 0); Updated to (-357863, 619784).
Inserting key-value pairs:
key  = -107171value = 0
Inserting key-value pairs:
key  = -62656value = 870048
Inserting key-value pairs:
key  = 308291value = -231234
Inserting key-value pairs:
key  = -357863value = 619784
Inserting key-value pairs:
key  = -107171value = 0
Inserting key-value pairs:
key  = -103034v

JOJ Answer

1
Accessed (-103034, 0); Updated to (-103034, 71947).
2
Accessed (-62656, 0); Updated to (-62656, 870048).
3
Accessed (-315059, 0); Updated to (-315059, 22906). Rehashed table from 5 to 11.
4
Accessed (308291, 0); Updated to (308291, -231234).
5
Accessed (-357863, 0); Updated to (-357863, 619784).
6
Accessed (-107171, 0); Updated to (-107171, 495847). Rehashed table from 11 to 23.
7
Inserted (30277, -822639).
8
Accessed (-83574, 0); Updated to (-83574, -674911).
9
Accessed (-926321, 0); Updated to (-926321, -731722).
10
Inserted (403591, 738996).
11
Accessed (-800816, 0); Updated to (-800816, 874773).
12
Inserted (-620890, -388664). Rehashed table from 23 to 47.
13
Accessed (-277541, 0); Updated to (-277541, 505919).
14
Accessed (770791, 0); Updated to (770791, 265466).
15
Inserted (136468, 759132).
16
Inserted (-820008, -284236).
17
Inserted (-373913, 9287).
18
Inserted (542129, -418329).
19
Inserted (-732582, -407810).
20
Accessed (-527752, 0); Updated to (-527752, 103093).
21
Accessed (-923102, 0); Updated