[ create a new paste ] login | about

Link: http://codepad.org/OM0cSaOG    [ raw code | output | fork ]

Perl, pasted on Aug 28:
1
2
3
4
5
6
7
8
$A=1; $B=1;

while(1)
   { if ($A==1){$B=0,$A=B}
    if ($A==0){$B=1}
  if ($A==$B){last
  }else{$A=$B}}
 


Output:
1
Timeout


Create a new paste based on this one


Comments: