闲的没事瞎打的

在win7下会走调,需要将win7的beep系统文件改成xp的,且主机装有蜂鸣器才能正常收听。

beep文件的度盘地址(不过应该没人为了听个这个去改系统文件)(P.S.如果想要尝试,尽管放心,不会给电脑带来影响博主亲自在班级多媒体上实践得出的结论

#include <windows.h>
//q前缀为低音,g为高音,s前缀为半音阶
const int q1 = 131;
const int q2 = 147;
const int q3 = 165;
const int q4 = 175;
const int q5 = 196;
const int q6 = 220;
const int q7 = 247;

const int p1 = 262;
const int p2 = 296;
const int p3 = 330;
const int p4 = 349;
const int p5 = 392;
const int p6 = 440;
const int p7 = 494;  

const int g1 = 523;
const int g2 = 587;
const int g3 = 659;
const int g4 = 698;
const int g5 = 784;
const int g6 = 880;
const int g7 = 988;  

#define sq1 277
#define sq2 311
#define sq4 370
#define sq5 415
#define sq6 466
#define s1 554
#define s2 622
#define s4 740
#define s5 831
#define s6 932
#define sg1 1046
#define sg2 1245
#define sg4 1480
#define sg5 1661
#define sg6 1865

int main()
{
int pai=500,ban=250;
int ting=128;

Sleep(1000);

Beep(p3,ban);
Beep(p5,ban);

Beep(p6,ban);
Sleep(pai);
Beep(p5,ban);
Beep(p6,ban);
Sleep(pai);
Beep(p5,ban);

Beep(p6,ban);
Beep(g1,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p3,ban);
Sleep(ban);
Beep(p3,ban);
Beep(p5,ban);

Beep(p6,ban);
Sleep(pai);
Beep(p5,ban);
Beep(p6,ban);
Sleep(pai);
Beep(p5,ban);

Beep(p6,ban);
Beep(g3,ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(p6,ban);
Sleep(ban);
Beep(p3,ban);
Beep(p5,ban);

Beep(p6,ban);
Sleep(pai);
Beep(p5,ban);
Beep(p6,ban);
Sleep(pai);
Beep(p5,ban);

Beep(p6,ban);
Beep(g1,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p3,ban);
Beep(p5,ban);
Beep(p1,ban);
Beep(p2,ban);

Beep(p3,pai);
Beep(g1,pai);
Beep(p6,pai);
Beep(g3,pai);

Beep(g2,ban);
Beep(g3,ban/2);
Beep(g2,ban/2);
Beep(g1,ban);
Beep(g2,ban);
Beep(p6,pai);
Sleep(pai);

// ||:
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban/2);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g3,ban/2);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban/2);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g3,ban/2);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban);
Beep(g4,ban);
Beep(g4,ban);
Beep(g3,ban);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban/2);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g3,ban/2);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban/2);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g3,ban/2);

Beep(g6,pai+ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p6,pai);

Sleep(pai);
Sleep(ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);

Beep(p5,ban);
Beep(p3,pai);
Beep(p5,ban/2);
Beep(p3,ban/2);
Beep(p3,pai);
Sleep(pai);

Sleep(pai);
Sleep(ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p7,ban);

Beep(g1,pai);
Beep(p7,pai);
Beep(p6,ban);
Beep(p7,ban/2);
Beep(p6,ban/2);
Beep(p5,pai);

Sleep(pai);
Sleep(ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p6,ban/2);
Beep(p5,ban/2);

Beep(p5,ban);
Beep(p3,ban);
Beep(p3,ban);
Beep(p5,ban/2);
Beep(p3,ban/2);
Beep(p3,pai);
Sleep(ban);
Beep(p5,ban);

Beep(p5,ban);
Beep(p6,ban);
Sleep(ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);
Sleep(ban);
Beep(p6,ban/2);
Beep(p7,ban/2);

Beep(g1,pai);
Beep(g2,pai);
Beep(p6,ban);
Beep(p3,ban);
Beep(p3,ban);
Beep(p5,ban);

Beep(p5,ban);
Beep(p6,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,pai);
Sleep(ban);
Beep(p6,ban);

Sleep(ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(g3,ban);
Beep(g2,pai);
Sleep(pai);

Sleep(ban);
Beep(g2,ban);
Beep(g2,ban);
Beep(s1,ban);
Beep(g2,ban);
Beep(g1,ban/2);
Beep(p6,ban/2);
Beep(p6,ban);
Beep(p5,ban);

Beep(p5,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(p3,ban);
Beep(p3,ban);
Beep(p5,ban);

Beep(p5,ban);
Beep(p6,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,pai);
Sleep(ban);
Beep(p6,ban);

Sleep(ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(g3,ban);
Beep(g2,pai);
Sleep(pai);

Sleep(ban);
Beep(g2,ban);
Beep(g2,ban);
Beep(s1,ban);
Beep(g2,ban);
Beep(g1,ban/2);
Beep(p6,ban/2);
Beep(p6,ban/2);
Beep(g3,ban/2);
Beep(p5,ban);

Beep(p5,ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p6,pai);
Sleep(ban);
Beep(p3,ban/2);
Beep(p5,ban/2);

Beep(p6,ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(g3,ban);
Beep(g3,pai);
Sleep(ban);
Beep(p7,ban/2);
Beep(g1,ban/2);

Beep(g2,ban);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g2,ban);
Beep(g3,ban);
Beep(p6,pai);
Sleep(ban);
Beep(p5,ban/2);
Beep(p5,ban/2);

Beep(p6,pai);
Beep(g3,ban+ban/2);
Beep(g3,ban/2);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(p5,ban);

Beep(p6,ban+ban/2);
Beep(p6,ban/2);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,pai);
Sleep(pai);

Beep(p6,ban);
Beep(p6,ban/2);
Beep(p6,ban/2);
Beep(p6,ban);
Beep(p5,ban/2);
Beep(p5,ban/2);
Beep(p6,ban);
Beep(g3,ban);
Sleep(ban);
Beep(g1,ban);

Beep(g2,ban);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g2,ban);
Beep(g3,ban);
Beep(g3,pai);
Sleep(ban);
Beep(p5,ban);

Beep(p6,ban);
Beep(g1,ban);
Sleep(ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(g3,ban);
Sleep(ban);
Beep(g3,ban/2);
Beep(g2,ban/2);

Beep(g1,ban);
Beep(p7,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,pai);
Sleep(ban);
// :||

// 又一遍循环
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban/2);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g3,ban/2);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban/2);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g3,ban/2);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban);
Beep(g4,ban);
Beep(g4,ban);
Beep(g3,ban);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban/2);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g3,ban/2);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban/2);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g3,ban/2);

Beep(g6,pai+ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p6,pai);

Sleep(pai);
Sleep(ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);

Beep(p5,ban);
Beep(p3,pai);
Beep(p5,ban/2);
Beep(p3,ban/2);
Beep(p3,pai);
Sleep(pai);

Sleep(pai);
Sleep(ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p7,ban);

Beep(g1,pai);
Beep(p7,pai);
Beep(p6,ban);
Beep(p7,ban/2);
Beep(p6,ban/2);
Beep(p5,pai);

Sleep(pai);
Sleep(ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p6,ban/2);
Beep(p5,ban/2);

Beep(p5,ban);
Beep(p3,ban);
Beep(p3,ban);
Beep(p5,ban/2);
Beep(p3,ban/2);
Beep(p3,pai);
Sleep(ban);
Beep(p5,ban);

Beep(p5,ban);
Beep(p6,ban);
Sleep(ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);
Sleep(ban);
Beep(p6,ban/2);
Beep(p7,ban/2);

Beep(g1,pai);
Beep(g2,pai);
Beep(p6,ban);
Beep(p3,ban);
Beep(p3,ban);
Beep(p5,ban);

Beep(p5,ban);
Beep(p6,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,pai);
Sleep(ban);
Beep(p6,ban);

Sleep(ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(g3,ban);
Beep(g2,pai);
Sleep(pai);

Sleep(ban);
Beep(g2,ban);
Beep(g2,ban);
Beep(s1,ban);
Beep(g2,ban);
Beep(g1,ban/2);
Beep(p6,ban/2);
Beep(p6,ban);
Beep(p5,ban);

Beep(p5,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(p3,ban);
Beep(p3,ban);
Beep(p5,ban);

Beep(p5,ban);
Beep(p6,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,pai);
Sleep(ban);
Beep(p6,ban);

Sleep(ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(g3,ban);
Beep(g2,pai);
Sleep(pai);

Sleep(ban);
Beep(g2,ban);
Beep(g2,ban);
Beep(s1,ban);
Beep(g2,ban);
Beep(g1,ban/2);
Beep(p6,ban/2);
Beep(p6,ban/2);
Beep(g3,ban/2);
Beep(p5,ban);

Beep(p5,ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p6,pai);
Sleep(ban);
Beep(p3,ban/2);
Beep(p5,ban/2);

Beep(p6,ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(g3,ban);
Beep(g3,pai);
Sleep(ban);
Beep(p7,ban/2);
Beep(g1,ban/2);

Beep(g2,ban);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g2,ban);
Beep(g3,ban);
Beep(p6,pai);
Sleep(ban);
Beep(p5,ban/2);
Beep(p5,ban/2);

Beep(p6,pai);
Beep(g3,ban+ban/2);
Beep(g3,ban/2);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(p5,ban);

Beep(p6,ban+ban/2);
Beep(p6,ban/2);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,pai);
Sleep(pai);

Beep(p6,ban);
Beep(p6,ban/2);
Beep(p6,ban/2);
Beep(p6,ban);
Beep(p5,ban/2);
Beep(p5,ban/2);
Beep(p6,ban);
Beep(g3,ban);
Sleep(ban);
Beep(g1,ban);

Beep(g2,ban);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g2,ban);
Beep(g3,ban);
Beep(g3,pai);
Sleep(ban);
Beep(p5,ban);

Beep(p6,ban);
Beep(g1,ban);
Sleep(ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(g3,ban);
Sleep(ban);
Beep(g3,ban/2);
Beep(g2,ban/2);

Beep(g1,ban);
Beep(p7,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,pai);
Sleep(ban);
// 循环结束

//new strat
Sleep(ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p3,ban);
Beep(p1,ban);
Beep(q5,ban);

Beep(q6,ban);
Beep(q5,ban);
Beep(q6,ban);
Sleep(ban);
Beep(q6,pai);
Sleep(pai);

Beep(q6,pai);
Sleep(pai);
Beep(q7,pai);
Sleep(pai);

Beep(q6,ban/2);
Beep(q7,ban/2);
Beep(q6,ban);
Beep(q6,ban/2);
Beep(q7,ban/2);
Beep(q6,ban);
Beep(p1,pai);
Sleep(pai);

Beep(q7,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p3,ban);
Beep(p1,ban);
Beep(q5,ban);

Beep(q6,ban);
Beep(q5,ban);
Beep(q6,ban);
Sleep(ban);
Beep(q6,pai);
Sleep(pai);

Beep(q6,pai);
Sleep(pai);
Beep(q7,pai);
Sleep(pai);

Beep(q6,ban/2);
Beep(q7,ban/2);
Beep(q6,ban);
Beep(q6,ban/2);
Beep(q7,ban/2);
Beep(q6,ban);
Beep(p1,pai);
Sleep(pai);

Beep(q7,pai);
Beep(q5,pai);
Beep(p6,ban/2);
Beep(p5,ban/2);
Beep(p3,ban/2);
Beep(p2,ban/2);
Beep(p1,ban/2);
Beep(q6,ban/2);
Beep(p2,ban/2);
Beep(p1,ban/2);

Beep(p6,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(p5,ban);

Beep(p5,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p1,ban);
Beep(p3,ban);
Beep(p2,ban);
Beep(p1,ban/2);
Beep(q6,ban/2);
Beep(q5,ban/2);
Beep(q6,ban/2);

Beep(p5,pai+ban);
Beep(q3,ban/2);
Beep(q2,ban/2);
Beep(q3,pai+pai);

Beep(q2,ban/2);
Beep(q3,ban/2);
Beep(q4,ban/2);
Beep(q5,ban/2);
Beep(q6,ban/2);
Beep(q7,ban/2);
Beep(p1,ban/2);
Beep(p2,ban/2);
Beep(p6,ban/2);
Beep(p7,ban/2);
Beep(g1,ban/2);
Beep(g2,ban/2);

Beep(g3,ban);
Beep(g3,pai+ban);
Beep(g3,pai);
Beep(g2,ban);
Beep(g1,ban);

Beep(p1,ban);
Beep(g1,pai);
Beep(g2,ban);
Beep(p7,ban);
Beep(p5,pai);
Beep(p2,ban);

Beep(g2,pai+ban);
Beep(g1,ban);
Beep(p7,pai);
Beep(p5,pai);

Beep(p7,pai*2);
Beep(p6,ban);
Beep(p3,ban);
Beep(p3,ban);
Beep(p5,ban);

Beep(p5,ban);
Beep(p6,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,pai);
Sleep(ban);
Beep(p6,ban);

Sleep(ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(g3,ban);
Beep(g2,pai);
Sleep(pai);

Beep(g1,pai+ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g3,ban);
Beep(g5,ban);

Beep(g7,pai);
Beep(g6,ban);
Beep(g5,ban);
Beep(g3,ban);
Beep(p3,ban);
Beep(p3,ban);
Beep(p5,ban);

Beep(p5,ban);
Beep(p6,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,pai);
Sleep(ban);
Beep(p6,ban);

Sleep(ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(g3,ban);
Beep(g2,pai);
Sleep(pai);

Sleep(ban);
Beep(g2,ban);
Beep(g2,ban);
Beep(s1,ban);
Beep(g2,ban);
Beep(g1,ban/2);
Beep(p6,ban/2);
Beep(p6,ban);
Beep(p3,ban/2);
Beep(p5,ban/2);

Beep(p5,ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p6,pai);
Sleep(ban);
Beep(p3,ban/2);
Beep(p5,ban/2);

Beep(p6,ban);
Beep(p6,ban);
Beep(p6,ban);
Beep(g3,ban);
Beep(g3,pai);
Sleep(ban);
Beep(p7,ban/2);
Beep(g1,ban/2);

Beep(g2,ban);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g2,ban);
Beep(g3,ban);
Beep(p6,pai);
Sleep(ban);
Beep(p5,ban/2);
Beep(p5,ban/2);

Beep(p6,pai);
Beep(g3,ban+ban/2);
Beep(g3,ban/2);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(p5,ban);

Beep(p6,pai);
Beep(g3,ban+ban/2);
Beep(g3,ban/2);
Beep(g2,ban);
Beep(g1,ban);
Beep(p6,ban);
Beep(p5,ban);

Beep(p6,ban+ban/2);
Beep(p6,ban/2);
Beep(p6,ban);
Beep(g1,ban);
Beep(g2,pai);
Sleep(pai);

Beep(p6,ban);
Beep(p6,ban/2);
Beep(p6,ban/2);
Beep(p6,ban);
Beep(p5,ban/2);
Beep(p5,ban/2);
Beep(p6,ban);
Beep(g3,ban);
Sleep(ban);
Beep(g1,ban);

Beep(g2,ban);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g2,ban);
Beep(g3,ban);
Beep(g3,pai);
Sleep(ban);
Beep(p3,ban);

Beep(g2,ban);
Beep(g2,ban);
Sleep(ban);
Beep(g1,ban);
Beep(g2,ban);
Beep(g2,ban);
Sleep(ban);
Beep(g3,ban);
Beep(g2,ban);

Beep(g1,ban);
Beep(p7,ban);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);
Sleep(ban);
Beep(p5,ban);

Beep(p6,ban);
Beep(g1,ban);
Sleep(ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(g5,ban);
Sleep(ban);
Beep(g3,ban/2);
Beep(g2,ban/2);

Beep(g2,ban);
Beep(g2,ban);
Beep(g3,ban);
Beep(g5,ban);
Beep(g5,pai);
Beep(g6,pai);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban/2);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g3,ban/2);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban/2);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g3,ban/2);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban);
Beep(g4,ban);
Beep(g4,ban);
Beep(g3,ban);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban/2);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g3,ban/2);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);

Beep(p6,pai);
Beep(p6,pai);
Beep(p6,pai);
Beep(p6,ban/2);
Beep(g1,ban/2);
Beep(g2,ban/2);
Beep(g3,ban/2);

Beep(g6,pai+ban);
Beep(p5,ban);
Beep(p5,ban);
Beep(p6,ban);
Beep(p6,pai);

Sleep(1000);

return 0;
}

有C++特色的极乐净土的更多相关文章

  1. wordpress 获取特色图片url方法

    制作主题是需要获取特色图片,直接获取到url能更好的编辑css样式 <?php $large_image_url = wp_get_attachment_image_src( get_post_ ...

  2. 阿里巴巴分布式服务框架Dubbo介绍(1)主要特色

    引言 互联网服务和BS架构的传统企业软件相比,系统规模上产生了量级的差距.例如 传统BS企业内部门户只需要考虑数百人以及几千人的访问压力,而大型互联网服务有时需要考虑的是千万甚至上亿的用户: 传统企业 ...

  3. 简单介绍Android应用特色及详解四大组件

    Android应用特色 Android主要有什么特色呢,有以下几个方面来体现: 四大组件 丰富的系统控件 SQLite数据库等持久化技术 地理位置定位 强大的多媒体 传感器 1,四大组件 Androi ...

  4. Android之路-------浅淡Android历史、系统架构与开发特色

    前言 离上一篇发表的博客差不多有两个星期了吧,相信有些博友差点就对LP失望了,因为上一篇博文中说了,这次不管怎样,LP都会坚持写博客的. 由于工作关系LP才隔了这么久才再次发表博文,这篇博文主要是总结 ...

  5. tableView特色用法

    // //  ViewController.m //  UITableView // //  Created by yhj on 15/12/15. //  Copyright © 2015年 QQ: ...

  6. 武汉新芯:已建成IP体系,欲以存储器为特色

    武汉新芯集成电路制造公司(XMC)是地方政府投资的半导体企业,2006年由湖北省.武汉市.武汉市东湖高新区投资,并由东湖高新区管理的全资国有企业,前几年委托SMIC(中芯国际)经营管理,从2012年底 ...

  7. ReSharper 8.1支持Visual Studio 2013的特色——超强滚动条

    自ReSharper 8.1发布以来,便支持Visual Studio 2013.其中peek功能是它的亮点,滚动条则是它的特色. 接下来小编将展示ReSharper在Visual Studio 20 ...

  8. 日语编程语言"抚子" - 第三版特色初探

    原址: https://zhuanlan.zhihu.com/p/30800689 原文: 日语编程语言"抚子" - 第三版特色初探 它山之石可以攻玉. 学习其他的母语编程语言, ...

  9. WordPress调用特色图片地址源,去除特色图片img标签其他样式

    我们在制作WordPress主题时候想要给wordpress特色图片,这也是为了更加的美观,但是我们直接使用wordpress特色图片引用代码的时候却发现,出现下面的情况. wordpress特色图片 ...

随机推荐

  1. HDU5119【dp背包求方案数】

    题意: 有n个数,问有多少方案满足取几个数的异或值>=m; 思路: 背包思想,每次就是取或不取,然后输出>=m的方案就好了. #include <bits/stdc++.h> ...

  2. js函数和变量的执行顺序【易错】

    js函数和变量的声明与执行顺序 一.函数执行顺序 1.正常顺序 function f(){ alert(2); } f(); //alert 2 所有浏览器都能测试通过. 2.倒序调用 f(); // ...

  3. C++内存泄漏检测

    CRT检测 定位内存泄漏位置 #include "stdafx.h" #ifdef _DEBUG #define DEBUG_NEW new( _NORMAL_BLOCK, __F ...

  4. hdu3949XOR(线性基)

    传送门 不知道线性基是什么东西的可以看看蒟蒻的总结 题目大意:求一堆数字能异或出的第$k$大的数是多少 线性基求第k大好珂怕…… 据大佬们说就是把$k$给二进制拆分,如果$k$的第$i$位为1,那么$ ...

  5. MySQL 派生表(Derived Table) Merge Optimization

    本文将通过演示告诉你:MySQL中派生表(Derived Table)是什么?以及MySQL对它的优化. Background 有如下一张表: mysql> desc city; +------ ...

  6. IT兄弟连 JavaWeb教程 JSP经典案例

    案例需求:定义一个javaBean叫XdlUser,有四个字段int id.String name.int age.double salary.写一个jsp页面,在页面中构建一个列表对象,里面存放几个 ...

  7. 【BZOJ1855】[Scoi2010] 股票交易

    →BZOJ任意门← 很显然的动态规划题(笑) 容易想到DP的数组 f[i][j] 表示第i天手上有j股股票时能赚到最多的钱. 接下来就是转移了,有这么多变量一定要看清楚,仔细地分情况讨论. 每次转移时 ...

  8. Redis的分布式锁

    一.锁的作用 当多线程执行某一业务时(特别是对数据的更新.新增)等操作,可能就会出现多个线程对同一条数据进行修改.其最终的结果一定与你期望的结果“不太一样”,这就与需要一把锁来控制线程排排队了 - j ...

  9. 牛客小白月赛13 E(图、矩阵幂)

    AC通道 如果建立第一天某点到某点有几条路的矩阵,做k次矩阵乘就是第k天某点到某点有几条路.统计即可. #include <bits/stdc++.h> using namespace s ...

  10. 洛谷P4095||bzoj3163 [HEOI2013]Eden 的新背包问题

    https://www.luogu.org/problemnew/show/P4095 不太会.. 网上有神奇的做法: 第一种其实是暴力(复杂度3e8...)然而可以A.考虑多重背包,发现没有办法快速 ...