好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

举例时厌倦了HelloWorld,42,foobar,还有什么其它选择么?

最好充满学院派气质,辞藻华丽而又有典故,即使想装x或恶搞但又要显得不动声色?

回复内容: 烫烫烫 棍斤拷 0xB16B00B C string Console.WriteLine("你好,世界");

/*C#*/

  class   Fuck 
 { 
     public   Shit   Shit  {  get  ;  protected   set  ;}   =   new   Shit  (  Bitch  .  OriginalBitch  ); 
     public   string   ShitName   =>   Shit  .  Name  ; 
     public   bool   IsFuckable  (  Bitch   bitch  )   =>   Shit  .  Shitter  .  Mother   ==   bitch  .  Sister  ; 
 } 
  
goodbye world! 0xfull int mian() 好久没有看到烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫烫了,敢问42是什么东西? 1. 实现24点游戏
规则大家都知道的,用程序实现

2. 花式Fibonacci数列(in scala):

  def   fib1  (  n  :   Int  )  :   Int   =   n   match   { 
   case   0  |  1   =>   n 
   case   _     =>   fib1  (  n  -  1  )   +   fib1  (  n  -  2  )  
 } 


 def   fib2  (  n  :   Int  )  :   Int   =   { 
   def   itr  (  k  :   Int  ,   f0  :   Int  ,   f1  :   Int  )  :   Int   = 
     if  (  k   ==   n  )   f0   else   itr  (  k  +  1  ,   f1  ,   f0  +  f1  ) 
   itr  (  0  ,   0  ,   1  ) 
 } 

 val   fib3  :   Stream  [  Int  ]   =   0   #::   fib3  .  scanLeft  (  1  ){   _  +  _   } 
  

查看更多关于举例时厌倦了HelloWorld,42,foobar,还有什么其它选择么?的详细内容...

  阅读:42次