Record Case Detail

Notes

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

Stderr

 pwd: /out/package
ppid: 306
   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: 306
SIGINT
Send signal 2 to pid: 306
Scan child pids of ppid: 307
Send signal 2 to pid: 307
Scan child pids of ppid: 308
Send signal 2 to pid: 308
Scan child pids of ppid: 311
Send signal 2 to pid: 311
Scan child pids of ppid: 309
Send signal 2 to pid: 309
   3: CTRL+C
Scan child pids of ppid: 306
SIGINT
Send signal 2 to pid: 306
Scan child pids of ppid: 307
Send signal 2 to pid: 307
Scan child pids of ppid: 308
Send signal 2 to pid: 308
Scan child pids of ppid: 315
Send signal 2 to pid: 315
Scan child pids of ppid: 318
Send signal 2 to pid: 318
Scan child pids of ppid: 316
Send signal 2 to pid: 316
   4: WRITELN echo success
   5: CTRL+C
Scan child pids of ppid: 306
SIGINT
Send signal 2 to pid: 306
Scan child pids of ppid: 307
Send signal 2 to pid: 307
Scan child pids of ppid: 308
Send signal 2 to pid: 308
Scan child pids 

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

mumsh $ 

JOJ Answer

mumsh $ 123

mumsh $ 
mumsh $ success
mumsh $ 
mumsh $ exit