时间:2021-07-01 10:21:17 帮助过:19人阅读
/*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点游戏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){ _+_ }