摘要: 记2016-6杭州面试经历: 1.组合索引(a,b,c) where a and b and c 和 where a anc and b 是否都走索引,我回答是,问为什么,当时没回答上来; 后来查询是mysql查询优化器做了SQL优化,会把第二条SQL也变成where a anf b and c; 阅读全文
posted @ 2016-06-24 09:45 李白~~ 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 我的挚爱 似阳光普照 以灿烂的自由 将你拥抱 阅读全文
posted @ 2016-02-16 13:50 李白~~ 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 仓央嘉措 你见,或者不见我 我就在那里 不悲不喜 你念,或者不念我 情就在那里 不来不去 你爱,或者不爱我 爱就在那里 不增不减 你跟,或者不跟我 我的手就在你手里 不舍不弃 来我的怀里 或者 让我住进你的心里 默然相爱 寂静欢喜 阅读全文
posted @ 2016-02-16 13:44 李白~~ 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 无题 我终于明白世间有一种思绪无法用言语形容粗犷而忧伤回声的千结百绕而守候的是执着一如月光下的高原一抹淡淡痴痴的笑笑那浮华落尽月色如洗笑那悄然而逝飞花万盏谁是那轻轻颤动的百合在你的清辉下亘古不变谁有那灼灼热烈的双眸在你的颔首中攀援而上遥远的忧伤穿过千山万水纵使高原上的风吹不散执着的背影纵使清晨前的霜 阅读全文
posted @ 2016-02-16 13:42 李白~~ 阅读(241) 评论(0) 推荐(0) 编辑
摘要: #include <windows.h>#include <gl/gl.h>#include "glut.h"// 旋转参数static GLfloat xRot = 0.0f;static GLfloat yRot = 0.0f;//static GLfloat zRot = 0.0f;BOOL bDepth = FALSE;//深度测试开关BOOL bCull = FALSE;//剔除开关void SetupRC(void){ // 设置窗口背景颜色为黑色 glClearColor(0.0f, 0.0f, 0.0f, 1.0f );//指定多边形 阅读全文
posted @ 2013-06-05 18:53 李白~~ 阅读(264) 评论(0) 推荐(0) 编辑
摘要: package util;/** * 分页类 * @author teachershi * */public class Pager { private String url; private int size; private int rows; private int cpage; private int pagers; private int nums; /** * 构造方法 * @param url 链接 * @param size 每页显示数量 * @param cpage 当前页数 ... 阅读全文
posted @ 2012-10-24 19:24 李白~~ 阅读(1381) 评论(0) 推荐(0) 编辑
摘要: /////////////////////////////////////////////////////////////////////////////////////////////////#include<iostream>using namespace std;float func(float x0){ cout<<"输入节点数"<<endl; int num,i,j; cin>>num; float *px = new float[num]; float *py = new float[num]; float **m 阅读全文
posted @ 2012-10-24 17:47 李白~~ 阅读(4159) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>#include<cmath>#include<vector>using namespace std;void func(float**p,float *q,float *r,int n){ //Gauss消元 int i,j,k,t; for(i = 0;i<n-1;i++) { //选主元模块 顺序gauss消元可不要 int tmp = i; float max = fabs(p[i][i]); for(t = i+1;t<n;t++) { if(fabs(p[t][i]) > max) tmp = 阅读全文
posted @ 2012-10-24 17:45 李白~~ 阅读(672) 评论(0) 推荐(1) 编辑
摘要: 编写一个程序ALGO2-1.CPP,实现顺序表的各种基本运算,并在此基础上设计一个主程序完成如下功能:(1)初始化顺序表L(2)依次采用尾插法插入a,b,c,d,e元素(3)输出顺序表L:(4)输出顺序表L长度(5)判断顺序表L是否为空(6)输出顺序表L的第3个元素(7)输出元素a的位置(8)在第4个元素位置上插入f元素(9)输出顺序表L:(10)删除L的第3个元素(11)输出顺序表L:(12)释放顺序表L#include <stdio.h>#include <malloc.h>#define MaxSize 50typedef char ElemType;typede 阅读全文
posted @ 2012-10-11 20:19 李白~~ 阅读(5711) 评论(0) 推荐(0) 编辑
摘要: # include <iostream># include <cmath>using namespace std;float Formula(float x)//方程表达式{ float y; y=x*x*x-2*x-5; //范例方程 return y;}//求导float FormulaDao(float x){ float y; y=3*x*x-2; //范例方程的导数 return y;}void main(){int n=100,k=0;//最大迭代次数float x0=1.0;//初始X0的值float x; x=x0;while(fab... 阅读全文
posted @ 2012-10-11 20:15 李白~~ 阅读(1982) 评论(0) 推荐(1) 编辑