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, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

nfind -103034at2
nfind -103034at2
nfind -103034at2
yfind -103034at2
yfind -103034at2
yfind -103034at2
yfind -103034at2
yfind -103034at2
1
Accessed (-103034, 0); Updated to (-103034, 71947).
nfind -62656at0
nfind -62656at0
nfind -62656at0
yfind -62656at0
yfind -62656at0
yfind -62656at0
yfind -62656at0
yfind -62656at0
2
Accessed (-62656, 0); Updated to (-62656, 870048).
nfind2 -315059
nfind2 -315059
bs:11insert -62656(5)
nfind -62656at5
inserted at5
bs:11insert -103034(8)
nfind -103034at8
inserted at8
nbs:11
nfind2 -315059
yfind -315059at8
yfind -315059at8
yfind -315059at8
yfind -315059at8
yfind -315059at8
3
Accessed (-315059, 0); Updated to (-315059, 22906). Rehashed table from 5 to 11.
nfind2 308291
nfind2 308291
bs:23insert -62656(2)
nfind -62656at2
inserted at2
bs:23insert -103034(12)
nfind -103034at12
inserted at12
bs:23insert -315059(1)
nfind -315059at1
inserted at1
nbs:23
nfind 308291at22
yfind 308291at22
yfind 308291at22
yfind 308291at22
yfind 308291at22
yfind 308291at22
4
Accessed (308291, 0); Updated 

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