Hi, imagine this situation.
There is an IRC channel #wechall on irc.idlemonkeys.net.
The server sends the messages to all people in the channel, also back to the sender himself.
When every minute one person joins and says hi,
how many "hi" messages were totally sent for this channel after 0xfffbadc0ded minutes ?
No one ever leaves the channel, so there are 0xfffbadc0ded people at the end ;)
Further explanation for 3 minutes:
the channel is empty and there have been sent 0 messages 1st person joins, sends hi, the server sends hi back to 1 persons.
2nd person joins, sends hi, the server sends hi back to 2 persons.
3rd person joins, sends hi, the server sends hi back to 3 persons.
Minute 1: 2 messages sent
Minute 2: 3 messages sent
Minute 3: 4 messages sent
Adding these up means for 3 minutes are 9 messages sent.
Conversion Notes: 0xfffbadc0ded is hexadecimal which converts to 17.591.026.060.781 (Thats around 20 trillion minutes).Please submit your solution in the decimal system.
Solution:
- The answer equals to: (17591026060782+2)*17591026060781/2
154722098935564539692256152
- Your answer is correct. Congratulations you have solved this challenge.