272. 爬楼梯 II 中文English 一个小孩爬一个 n 层台阶的楼梯。他可以每次跳 1 步, 2 步 或者 3 步。实现一个方法来统计总共有多少种不同的方式爬到最顶层的台阶。 样例 Example 1: Input: 3 Output: 4 Explanation: 1 + 1 + 1 = ...
分类:
其他好文 时间:
2021-01-13 10:36:17
阅读次数:
0
委托就是把一个函数封装成对象,强化了c#的面向对象特性, 用法还在摸索 事件是委托的特殊拓展,事件的使用主要包括: 1.被委托者的创建 public delegate void XXEventHandler(Parameter A,~); //多播时返回只能是void,且使用该被委托者时 3,5中的 ...
package com.androidstudy.uicomponenttest; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import android.content ...
分类:
其他好文 时间:
2021-01-12 11:26:00
阅读次数:
0
Given n, how many structurally unique BST's (binary search trees) that store values 1 ... n? Example: Input: 3 Output: 5 Explanation: Given n = 3, the ...
分类:
其他好文 时间:
2021-01-12 11:12:21
阅读次数:
0
参考:Tutorial: Quickstart - TextBlob (sentiment analysis) 参考:An overview of sentiment analysis python library: TextBlob 参考:How does TextBlob calculate s ...
分类:
其他好文 时间:
2021-01-12 11:07:20
阅读次数:
0
起因 折腾一下老手机 刷机流程 解BL锁 刷入第三方REC 手机分区 分区 含义 /recovery Android刷机功能(对数据、系统进行修改的模式) /boot Android的引导程序 /system Android操作系统 /data 保存着用户数据 (通讯录、短信、app) /cache ...
分类:
其他好文 时间:
2021-01-12 10:56:40
阅读次数:
0
1、 #include <stdio.h> #define NUMBER 5 int main(void) { int i; int sum = 0; int a[NUMBER]; puts("please input the scores."); for (i = 0; i < NUMBER; i ...
分类:
编程语言 时间:
2021-01-12 10:33:53
阅读次数:
0
<?php header("content-type:text/html;charset=utf-8"); // $a = 1; // echo $GLOBALS; // echo $_SERVER; // echo $_ENV; // var_dump($_REQUEST); var_dump($ ...
分类:
Web程序 时间:
2021-01-12 10:31:53
阅读次数:
0
public function add() { $data = input('post.'); $img = request()->file('img_banner'); $info = $img->move("./static/uploads/lunbo"); if ($info) { // 输出 ...
分类:
Web程序 时间:
2021-01-12 10:30:06
阅读次数:
0
explode() 使用一个字符串分割另一个字符串。 array explode( string $delimiter , string $string [, int $limit ]) 参数描述delimiter 边界上的分隔字符。 string 输入的字符串。 limit 如果设置了 limit ...
分类:
Web程序 时间:
2021-01-11 10:54:17
阅读次数:
0