Record Case Detail

Notes

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

Stderr

=================================================================
==20221==ERROR: AddressSanitizer: stack-use-after-scope on address 0x7fff8a860140 at pc 0x00000051ab95 bp 0x7fff8a85fdb0 sp 0x7fff8a85fda8
READ of size 4 at 0x7fff8a860140 thread T0
    #0 0x51ab94  (/out/package/call_mem+0x51ab94)
    #1 0x51cc16  (/out/package/call_mem+0x51cc16)
    #2 0x7fb061a86b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #3 0x41d869  (/out/package/call_mem+0x41d869)

Address 0x7fff8a860140 is located in stack of thread T0 at offset 544 in frame
    #0 0x51aecf  (/out/package/call_mem+0x51aecf)

  This frame has 21 object(s):
    [32, 40) '__dnew.i.i.i.i273'
    [64, 72) '__dnew.i.i.i.i235'
    [96, 104) '__dnew.i.i.i.i197'
    [128, 136) '__dnew.i.i.i.i'
    [160, 164) 'peoplenum'
    [176, 180) 'starttime'
    [192, 224) 'name'
    [256, 288) 'priority'
    [320, 324) 'waittime'
    [336, 352) 'platinumlist'
    [368, 384) 'goldlist'
    [400, 416) 'silverlist'
    [432, 448) 'regularlist'
    [464, 504) 'temppe'
  

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.

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

Your Answer

Starting tick #0
16
1

JOJ Answer

Starting tick #0
Starting tick #1
Call from Jeff a gold member
Answering call from Jeff
Starting tick #2