/ SeriousOJ /

Record Detail

Compile Error

foo.cc:3:52: error: extended character ’ is not valid in an identifier
    3 | n If a process spawns other processes, they become it’s children
      |                                                    ^
foo.cc:1:1: error: 'Parents' does not name a type
    1 | Parents and Children
      | ^~~~~~~

Code

Parents and Children
n On Unix/Linux, all processes have parents n i.e. which process executed this new process?
n If a process spawns other processes, they become it’s children
n This creates a tree of processes
n If a parent exits before its children, the children
become orphans
n If a child exits before the parent calls wait(), the
child becomes a zombie

Information

Submit By
Type
Submission
Problem
P1002 Office Space
Language
C++17 (G++ 13.2.0)
Submit At
2025-02-17 12:15:46
Judged At
2025-02-17 12:15:46
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes