Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 6250
   1: WRITELN sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | sleep 10 | echo 123
   2: CTRL+C
Scan child pids of ppid: 6250
SIGINT
Send signal 2 to pid: 6250
Scan child pids of ppid: 6251
Send signal 2 to pid: 6251
Scan child pids of ppid: 6252
Send signal 2 to pid: 6252
Scan child pids of ppid: 6253
Send signal 2 to pid: 6253
   3: CTRL+C
Scan child pids of ppid: 6250
SIGINT
Send signal 2 to pid: 6250
Scan child pids of ppid: 6251
Send signal 2 to pid: 6251
Scan child pids of ppid: 6256
Send signal 2 to pid: 6256
Scan child pids of ppid: 6253
Send signal 2 to pid: 6253
Scan child pids of ppid: 6254
Send signal 2 to pid: 6254
Scan child pids of ppid: 6255
Send signal 2 to pid: 6255
Scan child pids of ppid: 6257
Send signal 2 to pid: 6257
Scan child pids of ppid: 6258
Send signal 2 to pid: 6258
   4: WRITELN echo success
   5: CTRL+C
Scan child pids of ppid: 6250
SIGINT
Send signal 2 to pid: 6250
Scan child pids of ppid: 6251
Send signal 2 

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.

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

Your Answer


        

JOJ Answer

mumsh $ 123

mumsh $ 
mumsh $ success
mumsh $ 
mumsh $ exit