摘要: int febonaci(int n){ vector<int> v; v.push_back(1); v.push_back(2); for(int i=2;i<n;i++){ v.push_back(v[i-1]+v[i-2]); } cout<<v[n-1]<<endl;} 阅读全文
posted @ 2021-10-01 01:40 白-white 阅读(97) 评论(0) 推荐(0)
摘要: lengh = float(input(" "))width = float(input(" "))area =lengh*widthprint(str(area)) 阅读全文
posted @ 2021-09-13 15:10 白-white 阅读(83) 评论(0) 推荐(0)
摘要: ython是一门非常有潜力的高级语言,历经多年的发展,其在编程上发挥着越来越大的作用。在字符串上的处理,python相对于c语言也是给程序员极大的便利。而python不仅如此,它的库也很多,正因为它强大的库,让编程变得不再艰难。python的强大,也是足足地吸引着我,希望自己能够在不断地学习中,将p 阅读全文
posted @ 2021-09-06 22:34 白-white 阅读(78) 评论(0) 推荐(0)
摘要: print(''' * * * * * * * * @ @ * * * * @ * * * * * * * * * * * * ''') 阅读全文
posted @ 2021-09-06 22:30 白-white 阅读(80) 评论(0) 推荐(0)