Basic Concepts of Block Media RecoveryWhenever block corruption has been automatically detected, you can perform block media recovery manually with th...
分类:
其他好文 时间:
2015-03-20 12:18:39
阅读次数:
158
【思路】:递归的使用。
【AC代码】:
#include
#include
#include
#include
#include
using namespace std;
void fj(int n)
{
if (1 == n)
{
cout << char('A'-1+n);
}
else
{
fj(n-1);
cout << char('A'-1+n);
...
分类:
其他好文 时间:
2015-03-20 00:00:17
阅读次数:
338
【思路】:注意0次幂是单位矩阵。
【AC代码】:
#include
#include
#include
#include
#include
using namespace std;
#define MAX 30+2
void cal(int m[MAX][MAX], int t[MAX][MAX], int r[MAX][MAX], int N)
{
int i = 0, j ...
分类:
编程语言 时间:
2015-03-20 00:00:06
阅读次数:
382
【思路】:先打表,后循环。
【AC代码】:
#include
#include
#include
#include
#include
using namespace std;
#define MAX 10000
int prime_list[MAX], cnt = 0;
int isPrime(int n)
{
int i = 0;
for (i = 2; i <= sqr...
分类:
其他好文 时间:
2015-03-19 23:58:45
阅读次数:
481
【思路】:模拟。注意一个是在兔子休息的时间乌龟可能到达了。刚开始没考虑WA80%。
【AC代码】:
#include
#include
#include
#include
#include
using namespace std;
int main()
{
//freopen("in.txt", "r", stdin);
//freopen("out.txt", "w", st...
分类:
其他好文 时间:
2015-03-19 16:30:13
阅读次数:
223
OpenCV is the most popular and advanced code library for Computer Vision related applications today, spanning from many very basic tasks (capture and pre-processing of image data) to high-level algorit...
分类:
系统相关 时间:
2015-03-19 16:26:16
阅读次数:
303
【思路】:需要用手写一下。如下图一目了然。
【AC代码】:
#include
#include
#include
#include
#include
using namespace std;
#define MAX 20+2
int test[MAX][MAX];
char str[MAX][MAX];
int cnt[MAX];
int main()
{
//freop...
分类:
编程语言 时间:
2015-03-19 16:23:51
阅读次数:
388
android bitmap compressandroid的照相功能随着手机硬件的发展,变得越来越强大,能够找出很高分辨率的图片。有些场景中,需要照相并且上传到服务,但是由于图片的大小太大,那么就上传就会很慢(在有些网络情况下),而且很耗流量,要想速度快,那么就需要减小图片的大小。减少图片的大小有...
分类:
移动开发 时间:
2015-03-19 13:08:45
阅读次数:
223
1 Tcl commandsThe basic syntax iscommand arg1 arg2 arg3 ...2 UNIX Tcl scriptsExample 2.1 puts -writes the string to I/O steam set - assign a...
分类:
其他好文 时间:
2015-03-18 20:00:20
阅读次数:
225
1、代码字体大小:菜单栏--window--preferences--general--appearance--colorandfonts--basic--textfont;2、双击后显示明显的颜色:菜单栏--window--preferences--editors--texteditors--annotations--occurrences,在右侧的“color”点击颜色栏换颜色;3、每行显示代码字数:菜..
分类:
系统相关 时间:
2015-03-18 18:36:39
阅读次数:
1757