AngularJS Select(选择框) 使用 ng-options 创建选择框 在 AngularJS 中我们可以使用 ng-option 指令来创建一个下拉列表,列表项通过对象和数组循环输出,如下实例: ng-init 初始值,ng-options="x for x in names"读取数组 ...
分类:
Web程序 时间:
2017-03-30 21:34:46
阅读次数:
268
1501 二叉树最大宽度和高度 1501 二叉树最大宽度和高度 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 白银 Silver 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 白银 Silver 时间限制: 1 s 时间限制: 1 s 空间限制: 128000 ...
分类:
其他好文 时间:
2017-03-30 17:11:05
阅读次数:
134
1、简介 Laravel Excel 在 Laravel 5 中集成 PHPOffice 套件中的 PHPExcel ,从而方便我们以优雅的、富有表现力的代码实现Excel/CSV文件的导入和 导出 。 该项目的GitHub地址是: https://github.com/Maatwebsite/La ...
分类:
其他好文 时间:
2017-03-30 16:00:29
阅读次数:
261
两种方式的DynaAction都一样,如下: r1.jsp里:${param.name} ${param.age} >r1.jsp r2.jsp里:${param.name} ${param.age} >r2.jsp 第一种方式(推荐): index.jsp里:<a href="dynaAction ...
分类:
Web程序 时间:
2017-03-30 10:20:07
阅读次数:
218
#include #include using namespace std; //递归版本 void quickSort(int A[],int s,int t){ if (s >= t){ return; } int i = s; int j = t + 1; while (true){ do{ ... ...
分类:
编程语言 时间:
2017-03-30 00:36:25
阅读次数:
222
FFT板子。 将大整数看作多项式,它们的乘积即多项式的乘积在x=10处的取值。 ...
分类:
其他好文 时间:
2017-03-30 00:05:09
阅读次数:
236
Database Example Names ...
分类:
数据库 时间:
2017-03-29 22:41:11
阅读次数:
246
问题: 求给定输入字符串的最长回文子序列(子序列不要求连续)。 用LPS(i,j)表示从字符串第i个字符到第j个字符的最长回文子序列的长度,字符串的长度为n,则要求LPS(1,n),则: LPS(i,j)=0; i>j; LPS(i,j)=1; i==j; LPS(i,j)=LPS(i+1,j-1) ...
分类:
编程语言 时间:
2017-03-29 22:36:48
阅读次数:
261
php操作数据库 通过php连接上mysql数据库 $conn=mysql_connect("","",""); 选择数据库 mysql_select_db(""); 设置客户端和连接字符集 mysql_query("set names utf8"); 从表单收的数据 $name="yjh"; $p ...
分类:
数据库 时间:
2017-03-29 22:13:19
阅读次数:
191
#include<iostream>#include<string>#include<vector>#include<algorithm>using namespace std;int main(){ vector <string> names; names.push_back("WXH"); na ...
分类:
其他好文 时间:
2017-03-29 18:32:29
阅读次数:
99