方法 1、 analyze table: 本语句用于分析和存储表的关键字分布。在分析期间,使用一个读取锁定对表进行锁定。这对于MyISAM, BDB和InnoDB表有作用。 方法 2、 CHECK TABLE: 检查一个或多个表是否有错误...
分类:
数据库 时间:
2014-10-10 22:55:34
阅读次数:
280
FAT:Directorybread(block528150)failedFAT:Directorybread(block528151)failedEXT3-fserror(devicesda2):ext3_find_entry:readingdirectory#2offset0EXT3-fserror(devicesda2):ext3_find_entry:readingdirectory#2offset0FAT:Directorybread(block528144)failedFAT:Directoryb..
分类:
其他好文 时间:
2014-10-10 20:12:15
阅读次数:
1730
访问登记属性android.permission.ACCESS_CHECKIN_PROPERTIES ,读取或写入登记check-in数据库属性表的权限获取错略位置android.permission.ACCESS_COARSE_LOCATION,通过WiFi或移动基站的方式获取用户错略的经纬度信息...
分类:
移动开发 时间:
2014-10-10 16:57:34
阅读次数:
234
题意:
给定a串b串,问能否把a变成b串
方法:任选a的2个字母,ascil+=1 然后交换位置,可以操作任意多次。
3个及3个以上一定可以T^T
2个就暴力判一下
#include
#include
#include
#include
using namespace std;
const int N = 66;
char a[N], b[N];
bool check()...
分类:
其他好文 时间:
2014-10-10 15:33:14
阅读次数:
193
Android codebase都很大,编译一次都需要花很多时间,如果是preloader/lk/bootimage还好,但是Android的话都是非常久。
实际上这个编译时间还是可以进一步缩短!
1. 移除modules_to_check
(1). Android默认是所有模块都会编译的(不管需不需要),这个有些冗余,可以通过修改编译系统不编译哪些没有用到的模块
(2). 修改方法...
分类:
移动开发 时间:
2014-10-10 13:16:04
阅读次数:
202
poj 1118#includeusing namespace std;#define N 700struct point {int x,y;} pnt[N];int main(){ int n,i,j,k,max,cnt; while(scanf("%d",&n)&&n) { ...
分类:
其他好文 时间:
2014-10-10 11:28:54
阅读次数:
191
题目:判断卡号是否合法,给你4组4位的数字,偶数位的2倍的位和加上奇数位的和,判断尾数是否为0。
分析:简单题,模拟。直接按照提议判断即可。
说明:460题,加油!
#include
#include
using namespace std;
char data[4][5];
int main()
{
int n;
while (cin >> n)
for (int i =...
分类:
其他好文 时间:
2014-10-10 10:49:34
阅读次数:
235
最近事情太多了,也有一小段时间没更新了,本来原来还有个写哪些的计划的,也打乱了,我就想到什么写什么吧。
最近很多人在问Android Studio如何更改SDK版本,这边说的事不使用gradle来编译的情况下。什么时候会出现这个场景呢,比如你直接从server check工程。或者导入一个非gradle的工程。比如eclipse的工程,你没有export,然后直接import进入Android...
分类:
移动开发 时间:
2014-10-10 01:00:13
阅读次数:
276
1 // section_7.cpp : Defines the entry point for the console application. 2 //范磊 C++ 第7章 循环语句 3 4 #include "stdafx.h" 5 #include "iostream" 6 ...
分类:
编程语言 时间:
2014-10-09 19:02:27
阅读次数:
196