Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~519 People Reached
Favorite Tags
c x 1
Member Avatar for alien2006.happy

Let say we have N number and N is odd. Among the N numbers, two of them equal to each other except one. For example, let's say we have 7 numbers, which could be 5, 3, 4, 1, 3, 5, 1. Only 4 is distinct, other number always has anther …

Member Avatar for Rashakil Fol
0
198
Member Avatar for alien2006.happy

I have a algorithm problem to ask: There are N persons, and each of them knows one distinct gossip message. The two of them just make a phone call, so they could share messages they know. Then at least how many phone calls do they need make , so that …

Member Avatar for alien2006.happy
0
86
Member Avatar for alien2006.happy

This code is just handling the SIGCHLD signal, but as you can see, the parent process should ignore this SIGCHLD signal according to the signal function. But in fact, the parent process will omit the signal function, and handling the child process using "wait". I wonder why the parent do …

0
151
Member Avatar for k2k

can anyone tell me what do I have to do to protect my server? In windows, we install anti virus and firewall immediately after operating system is installed. What about linux server? Do we use firewall? And how do i close all the ports? and leave some open for programs? …

Member Avatar for jbennet
0
84