W dniu piątek, 12 czerwca 2015 08:43:01 UTC+2 użytkownik Luke Pebody napisał:
> Suppose node 180 does PutInt(280, 1); Send(280); PutInt(280, 2); Send(280);
> and then, 6 minutes later, node 280 does Receive(180); int x = GetInt(180); 
> Receive(180); int y = GetInt(180);.
> 
> Which of these describes the values of x and y?
> 
> 1) x=1 and y=2 (180 sent [1] and [2], 280 received both)

This one. Once you call "Send", the message is sent, and you can begin a new 
message, without any interaction with the previous one.

Onufry

> 2) x=1 and y=1 (180 sent [1] and [1,2], 280 received both)
> 3) x=2 and y hangs (180 sent [1], but overwrote it with [2], 280 received the 
> latter)
> 4) x=1 and y hangs (180 sent [1], but overwrote it with [1, 2], 280 received 
> the latter)
> 
> Sent from my eMail

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/8dca3978-297a-46f0-8d1c-bf107a9e8050%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to