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 Memory 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

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). Rehashed table from 11 to 23.
6
Inserted (-628383, -829666).
7
Accessed (779907, 0); Updated to (779907, -246302).
8
Inserted (257087, -295961).
9
Accessed (-649217, 0); Updated to (-649217, 904947). Rehashed table from 23 to 47.
10
Accessed (460927, 0); Updated to (460927, 750941). Rehashed table from 47 to 97.
11
Accessed (430333, 0); Updated to (430333, 650666). Rehashed table from 97 to 199.
12
Accessed (541346, 0); Updated to (541346, -885433).
13
Accessed (418263, 0); Updated to (418263, -13581). Rehashed table from 199 to 409.
14
Accessed (-336892, 0); Updated to (-336892, 586312). Rehashed table from 409 to 823.
15
Inserted (331553, -267854).
16
Inserted (-626034, 146965).
17
Inserted (-241139, -178454).
18
Inserted (72428, 421440).
19
Inserted (-766608

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