%dxm%1996%yds@@@蓝筹股是什么意思思

nslog_百度百科
关闭特色百科用户权威合作手机百科
收藏 查看&nslog
在Objective-C中,NSLog相当于C语言中的printf,常用于文字输出。应&&&&用Objective-C作&&&&用文字输出
在Objective-C中,NSLog相当于C语言中的printf,常用于文字输出。NSLog定义在NSObjCRuntime.h中,如下所示:
void NSLog(NSString *format, …);
基本上,NSLog很像printf,同样会在console中输出显示结果。不同的是,传递进去的格式化字符是NSString的对象,而不是char *这种字符串。NSLog可以如下面的方法使用:
NSLog (@&this is a test&);
NSLog (@&string is :%@&, string);
NSLog (@&x=%d, y=%d&, 10, 20);
但是下面的写法是不行的:
int i = 12345;
NSLog( @&%@&, i );
原因是, %@需要显示对象,而int i明显不是一个对象,要想正确显示,要写成:
int i = 12345;
NSLog( @&%d&, i )。NSLog的格式如下所示:
十六进制整数
浮点/双字 (科学计算)
Pascal字符串
64位长整数(long long)
无符64位长整数
%hhdBOOL布尔类型
新手上路我有疑问投诉建议参考资料 查看i73940xm@3.4 3.9ghz什么意思_百度知道
i73940xm@3.4 3.9ghz什么意思
它目前的工作频率是3您好,型号是I7 3940XM。这是一款非常高端的笔记本CPU,默认主频是3.0GHz,最大睿频(也就是自动超频)是3.9GHz,在你的描述里.4GHz,基本是上一代的最高端型号之一了,WP8酷七网团队为你解答这是一款笔记本CPU
来自团队:
其他类似问题
为您推荐:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁fprintf_百度百科
关闭特色百科用户权威合作手机百科
收藏 查看&fprintf
fprintf是C/C++中的一个格式化写—;其作用是输出到一个流/文件中;原型是int fprintf( FILE *stream, const char *format, [ argument ]...),fprintf()函数根据指定的format(格式)发送信息(参数)到由stream(流)指定的文件。功 能传送格式化输出到一个文件中错误返回值返回负值
int fprintf (FILE* stream, const char*format, [argument])
其中,FILE*stream为文件指针,const char* format以什么样的格式输出,[argument]为输入列表传送格式化输出到一个文件中,
可用于打印机输出。#include &&
#include&stdlib.h&
int fprintf( FILE *stream, const char *format, ... );
fprintf()函数根据指定的format(格式)发送信息(参数)到由stream(流)指定的文件. fprintf()只能和printf()一样工作. fprintf()的返回值是输出的字符数,发生错误时返回一个.%d 十进制有符号整数
%e 指数形式的浮点数
%x, %X 无符号以表示的整数
%0 无符号以表示的整数
%g 自动选择合适的表示法[1]示例一[1]
/*ProgramtocreatebackupoftheAUTOEXEC.BATfile*/
#include&&stdio.h&
int&main(void)
&&&&FILE&*in,*
&&&&in&=&fopen(&\\AUTOEXEC.BAT&,&&rt&);
&&&&if(in&==&NULL)
&&&&&&&&fprintf(stderr,&&Can&not&open&inputfile.\n&);
&&&&&&&&return&1;
&&&&out&=&fopen(&\\AUTOEXEC.BAT&,&&wt&);
&&&&if(out&==&NULL)
&&&&&&&&fprintf(stderr,&&Can&not&open&outputfile.\n&);
&&&&&&&&return&1;
&&&&while(!feof(in))
&&&&&&&&fputc(fgetc(in),&out);
&&&&fclose(in);
&&&&fclose(out);
&&&&return&0;
#include&&stdio.h&
#include&&stdlib.h&
#include&&process.h&
int&main(void)
&&&&int&i&=&10;
&&&&double&fp&=&1.5;
&&&&char&s[]&=&&this&is&a&string&;
&&&&char&c&=&'\n';
&&&&stream&=&fopen(&fprintf.out&,&&w&);
&&&&fprintf(stream,&&%s%c&,&s,&c);
&&&&fprintf(stream,&&%d\n&,&i);
&&&&fprintf(stream,&&%f\n&,&fp);
&&&&fclose(stream);
&&&&system(&typefprintf.out&);
&&&&return&0;
屏幕输出:
this&is&a&string
#include&&stdio.h&
int&main()
&&&&FILE*&
&&&&int&i&=&617;
&&&&char*&s&=&&that&is&a&good&new&;
&&&&fp&=&fopen(&text.dat&,&&w&);
&&&&fputs(&total&,&fp);
&&&&fputs(&:&,&fp);
&&&&fprintf(fp,&&%d\n&,&i);
&&&&fprintf(fp,&&%s&,&s);
&&&&fclose(fp);
&&&&return&0;
that&is&a&good&new
新手上路我有疑问投诉建议参考资料 查看杨辉三角_百度百科
关闭特色百科用户权威合作手机百科
收藏 查看&杨辉三角
杨辉三角,又称形,,是在三角形中的一种几何排列。在欧洲,这个表叫做。帕斯卡(1623----1662)是在1654年发现这一规律的,比杨辉要迟393年,比贾宪迟600年。右图的表在我国南宋数学家杨辉1261年所著的《》一书里就出现了。现在,在小学课本中就有出现,它的规律是一个又简单又复杂的概念,因此,没有多少人真正理解了它。外文名Pascal's Triangle别&&&&称贾宪三角形、帕斯卡三角形表达式不详提出时间约1050年应用学科数学适用领域范围数学
 &&&&&&&&&&&&&&&&&&&&&&&&&1
&&&&&&&&&&&&&&&&&&&&&&&&&1&&&1&&&
&&&&&&&&&&&&&&&&&&&&&&&1&&&2&&&1&&&
&&&&&&&&&&&&&&&&&&&&&1&&&3&&&3&&&1&&&
&&&&&&&&&&&&&&&&&&&1&&&4&&&6&&&4&&&1&&&
&&&&&&&&&&&&&&&&&1&&&5&&&10&&10&&5&&&1&&&
&&&&&&&&&&&&&&&1&&&6&&&15&&20&&15&&6&&&1&&&
&&&&&&&&&&&&&1&&&7&&&21&&35&&35&&21&&7&&&1&&&
&&&&&&&&&&&1&&&8&&&28&&56&&70&&56&&28&&8&&&1&&&
&&&&&&&&&1&&&9&&&36&&84&&126&126&84&&36&&9&&&1&&&
&&&&&&&1&&&10&&45&&120&210&252&210&120&45&&10&&1&&&
&&&&&1&&&11&&55&&165&330&462&462&330&165&55&&11&&1&&&&
&&&1&&&12&&66&&220&495&792&924&792&495&220&66&&12&&1
以上即为杨辉三角的排列性质。杨辉三角有多种重要的性质。前提:端点的数为1.
每个数等于它上方两数之和。
每行数字左右对称,由1开始逐渐变大。
第n行的数字有n项。
第n行数字和为2n-1。
第n行的m个数可表示为 C(n-1,m-1),即为从n-1个不同元素中取m-1个元素的组合数。
第n行的第m个数和第n-m+1个数相等 ,为性质之一。
每个数字等于上一行的左右两个数字之和。可用此性质写出整个杨辉三角。即第n+1行的第i个数等于第n行的第i-1个数和第i个数之和,这也是组合数的性质之一。即 C(n+1,i)=C(n,i)+C(n,i-1)。
(a+b)n的展开式中的各项依次对应杨辉三角的第(n+1)行中的每一项。
将第2n+1行第1个数,跟第2n+2行第3个数、第2n+3行第5个数……连成一线,这些数的和是第4n+1个;将第2n行第2个数(n&1),跟第2n-1行第4个数、第2n-2行第6个数……这些数之和是第4n-2个斐波那契数。
将各行数字相排列,可得11的n-1(n为行数)次方:1=11^0; 11=11^1; 121=11^2……当n≥5时会不符合这一条性质,此时应把第n行的最右面的数字&1&放在个位,然后把左面的一个数字的个位对齐到十位... ...,以此类推,把空位用“0”补齐,然后把所有的数加起来,得到的数正好是11的n-1次方。以n=11为例,第十一行的数为:1,10,45,120,210,252,210,120,45,10,1,结果为 =1110。
性质5和性质7是杨辉三角的基本性质,是研究杨辉三角其他规律的基础。
与杨辉三角联系最紧密的是二项式乘方展开式的系数规律,即。例如在杨辉三角中,第3行的三个数恰好对应着两数和的平方的展开式的每一项的系数(性质 8),第4行的四个数恰好依次对应两数和的立方的展开式的每一项的系数,即,以此类推。
又因为性质5:第n行的m个数可表示为C(n-1,m-1),即为从n-1个不同元素中取m-1个元素的。因此可得出二项式定理的公式为:
因此,二项式定理与杨辉三角形是一对天然的数形趣遇,它把带进了。求二项式展开式系数的问题,实际上是一种组合数的计算问题。用系数来计算,称为“式算”;用杨辉三角形来计算,称作“图算”。由1开始,正在杨辉三角形出现的次数为∞,1, 2, 2, 2, 3, 2, 2, 2, 4, 2, 2, 2, 2, 4, ... (OEIS:A003016)。最小而又大于1的数在贾宪三角形至少出现n次的数为2, 3, 6, 10, 120, 120, , ... (OEIS:A062527)
除了1之外,所有都出现有限次,只有2出现刚好一次,6,20,70等出现三次;出现两次和四次的数很多,还未能找到出现刚好五次的数。120,210,1540等出现刚好六次。(OEIS:A098565)
因为丢番图方程 有无穷个解,所以出现至少六次的数有无穷个多。解为,其中Fn表示第n个斐波那契数(F1=F2=1)。
3003是第一个出现八次的数。北宋人约1050年首先使用“”进行高次开方运算。
,字谦光,南宋时期杭州人。在他1261年所著的《详解九章算法》一书中,辑录了如上所示的三角形数表,称之为“开方作法本源”图,并说明此表引自11世纪中叶(约公元1050年)贾宪的《释锁算术》,并绘画了“古法七乘方图”。故此,杨辉三角又被称为“贾宪三角”。
元朝数学家在《四元玉鉴》(1303年)扩充了“贾宪三角”成“古法七乘方图”。
意大利人称之为“塔塔利亚三角形”(Triangolo di Tartaglia)以纪念在16世纪发现一元三次解的。
在欧洲直到1623年以后,法国数学家在13岁时发现了“帕斯卡三角”。
的著作Traité du triangle arithmétique(1655年)介绍了这个三角形。帕斯卡搜集了几个关于它的结果,并以此解决一些上的问题,影响面广泛,Pierre Raymond de Montmort(1708年)和(1730年)都用帕斯卡来称呼这个三角形。
21世纪以来国外也逐渐承认这项成果属于中国,所以有些书上称这是“中国三角形”(Chinese triangle)
历史上曾经独立绘制过这种图表的数学家有:
贾宪 中国北宋 11世纪 《释锁算术》
杨辉 中国南宋1261《详解九章算法》记载之功
朱世杰 中国元代 1299《》求和公式
阿尔·卡西 阿拉伯 1427《算术的钥匙》
阿皮亚纳斯 德国 1527
米歇尔.斯蒂费尔 德国 1544《综合算术》二项式展开式系数
薛贝尔 法国 1545
B·帕斯卡 法国 1654《论算术三角形》
其实,中国古代数学家在数学的许多重要领域中处于遥遥领先的地位。中国古代数学史曾经有自己光辉灿烂的篇章,而杨辉三角的发现就是十分精彩的一页。杨辉三角在编程实现中较为容易。最常见的算法便是用上一行递推计算;也有运用和组合的对应关系而使用计算的,然而后者速度较慢且阶乘容易。编程的输出大多相类,此处并不过多添加截图。
C、C++、C#、Java 语言之间的语法也大多相类,因此这里也不会将每一种算法都在这些语言中各实现一遍。要在这些语言的版本间修改,实际上只需注意一些简单的语法和函数名称的改变,如 C 的 int yh[M][M] 应改写为 Java 的 int[][] yh = new int[M][M]、C# 的 int[,] yh=new int[M,M];C printf 应使用 Java 的 System.out.print、C# 的 Console.Write 、C++ 中更智能的 cout 来替换。#!&/bin/bash
#&用法:./pasTrig&[个数],若不指明个数为&5。
#&填充指定个数的空格
pad(){&for&((k=0;k&$1;k++));&do&echo&-n&'&';&&}
#&层数和新旧层
lyrs=${1-5}
curr[0]=1&#&接下来每行第一个始终为一,无需重复赋值
pad&$(((lyrs-1)*2))
for&((i=2;&i&=&i++));&do&#&略过&1,已处理
&&pad&$(((lyrs-i)*2))&#&填充空格,注意这里不会怎么顾及三位以上的数,即第&14&层开始会混乱
&&curr[i]=1
&&printf&'%-4d'&${curr[0]}
&&for&((j=1;&j&i-1;&j++));&do&#&首尾极值已处理,略过
&&&&((curr[j]=prev[j-1]+prev[j]))
&&&&printf&'%-4d'&${curr[j]}
&&printf&'%-4d\n'&${curr[i]}&#&最后一个和换行
&&prev=(${curr[*]})
Bash 输出杨辉三角并使用 nl 表明行号class&Program
&&public&int&yanghui(int&value)
&&if(value&3)&return&1;
&&int[,]arry=new&int[value,value];
&&Console.WriteLine(&数组为:&);
&&for(int&i=0;i&i++)
&&&&string&str=&&;
&&&&str=str.PadLeft(value-i);
&&&&Console.Write(str);
&&&&for(int&j=0;j&=i;j++)
&&&&&&if(i==j||j==0)
&&&&&&&&arry[i,j]=1;
&&&&&&else
&&&&&&&&arry[i,j]=arry[i-1,j-1]+arry[i-1,j];
&&&&&&Console.Write(arry[i,j]+&&);
&&&&Console.WriteLine();
static&void&Main(string[]args)
&&Program&p=new&Program();
&&Console.WriteLine(&请输入数组值:&);
&&if&(p.yanghui(Convert.ToInt16(Console.ReadLine())))
&&&&Console.WriteLine(&输入数值必须大于3&);
&&Console.Readkey();
以下的代码均用标准 C 语言写成,可以被包括 MSVC(含 VC6)、GCC 的多种 C 编译器编译。
这个算法使用只行列位置和左侧的数值算出数值:
/*&yh-rt1.c&-&时间和空间最优算法&*/
#include&&stdio.h&
#include&&stdlib.h&
int&main()
&&&&int&s&=&1,&h;&&&&&&&&&&&&&&&&&&&&//&数值和高度
&&&&int&i,&j;&&&&&&&&&&&&&&&&&&&&&&&&//&循环计数
&&&&scanf(&%d&,&&h);&&&&&&&&&&&&&&&&&//&输入层数
&&&&printf(&1\n&);&&&&&&&&&&&&&&&&&&&//&输出第一个&1
&&&&for&(i&=&2;&i&&=&h;&s&=&1,&i++)&&&&&&&&&//&行数&i&从&2&到层高
&&&&&&&&printf(&1&&);&&&&&&&&&&&&&&&&//&第一个&1
&&&&&&&&for&(j&=&1;&j&&=&i&-&2;&j++)&//&列位置&j&绕过第一个直接开始循环
&&&&&&&&&&&&//printf(&%d&&,&(s&=&(i&-&j)&/&j&*&s));
&&&&&&&&&&&&printf(&%d&&,&(s&=&(i&-&j)&*&s&/&j));
&&&&&&&&printf(&1\n&);&&&&&&&&&&&&&&&//&最后一个&1,换行
&&&&getchar();&&&&&&&&&&&&&&&&&&&&&&&//&暂停等待
&&&&return&0;
默认状态下不启用金字塔和菱形的输出
默认求直角三角形,可通过注释的开关或使用编译器的 -D 定义开关调节等腰三角形和菱形输出。如果觉得复杂,可按照 define 使用的情况剔除因不符合 ifdef 条件从而未启用的代码之后阅读。
这个算法创建了一个二维数组,并且通过上一行的数值求当前行。在反过来再次打印时,这个程序会使用以前算好的值,从而节省了重复迭代的时间。
/*&yh-2d.c&-&二维数组迭代&*/
#include&stdio.h&
#define&M&10&&&&&&&//&行数
//&#define&PYRAMID&//&金字塔,会额外填充空格
//&#define&REVERSE&//&反向再来一次,得到菱形
int&main(void)
&&int&a&[M][M],&i,&j;&&&//&二维数组和循环变量,a[行][列]
&&for&(i&=&0;&i&M;&i++)&//&每一行
#ifdef&PYRAMID
&&&&for&(j&=&0;j&&=&M-i;&j++)&printf&(&&&&);
#endif&//&填充结束
&&&&for&(j&=&0;&j&&=&i;&j++)&//&赋值打印
&&&&&&printf(&%4d&,&(a[i][j]&=&(i&==&j&||&j&==&0)&?&1&:&//&首尾置&1
&&&&&&&&a[i&-&1][j]&+&a[i&-&1][j&-&1]&));&//&使用上一行计算
&&&&printf(&\n&);
#ifdef&REVERSE
&&for(i&=&M-2;&i&&=&0;&i--)
#ifdef&PYRAMID
&&&&for&(j&=&0;j&&=&M&-&i;&j++)&printf(&&&&);
#endif&//&填充结束
&&&&for&(j&=&0;j&&=&i;&j++)&printf(&%4d&,a[i][j]);&//&直接使用以前求得的值
&&&&printf(&\n&);
#endif&//&菱形结束
&&getchar();&//&暂停等待
}这一个使用大数组写成,风格更接近教科书上的 VC6 代码。
/*&yh-rt3.c&-&较为暴力的大数组&*/
#include&&stdio.h&
#include&&string.h&
int&main()
&&&&int&a[10000];&&&&&&&&//容器,由n*(n+1)/2&=10000可知,n&=141
&&&&int&b,CR,i;&&&&&&&&//b为当前行数,CR为要求显示的行数,i为循环数
&&&&printf(&请输入要显示的行数(3~141):&);
&&&&scanf(&%d&,&CR);
&&&&YHSJ(CR);
&&&&a[1]=a[2]=1;&&&&&&&&//前两行数值少且全为1,故直接输出
&&&&printf(&%d\n&,a[1]);
&&&&printf(&%d&%d\n&,a[1],a[2]);
&&&&for(b=3;b&=CR;b++)&&&&&&&&//从第三行开始判断
&&&&&&&&for(i=b;i&=2;i--)&&&&&&&&//从倒数第一个数开始加
&&&&&&&&&&a[i]=a[i]+a[i-1];&&&&&&&&//杨辉三角的规律,没有值的数组默认为0
&&&&&&&&for(i=1;i&=b;i++)&&&&&&&&//显示循环
&&&&&&&&&&printf(&%d&&,a[i]);
&&&&&&&&printf(&\n&);&&&&&&&&//&换行
&&&&return&0;
这个版本使用队列的方式输出。
#include&&stdio.h&
#include&&stdlib.h&
#define&EMPTY&1
#define&OFLOW&2
#define&INVAL&3
#define&MAX_Q&100
typedef&int&DataT&//&数据类型选择
typedef&struct{&DataType&elem[MAX_Q];&int&front,&&}&LinkQ;
//&队列及检查宏
#define&InitQ(Q)&LinkQ&Q;&Q.front=Q.rear=-1;
#define&_EQ(Q,e)&Q.elem[(Q.rear=(Q.rear+1)%MAX_Q)]=e
#define&EnQ(Q,e)&if((Q.rear+1)%MAX_Q==Q.front)&Exit(OFLOW,&Overflow&);&_EQ(Q,e)
#define&DeQ(Q,e)&e=Q.elem[(Q.front=(Q.front+1)%MAX_Q)]
#define&Front(Q)&Q.elem[(Q.front+1)%MAX_Q]
int&Exit(int&err,&char&msg[])&{&puts(msg);&exit(err);&return&&}
int&main(void){
&&&&int&n=1,i,j,k,t;
&&&&InitQ(Q);
&&&&printf(&please&enter&a&number:&);
&&&&scanf(&%d&,&n);
&&&&if&(n&=0)&{
&&&&&&&&printf(&ERROR!\n&);
&&&&&&&&exit(INVAL);
&&&&for(i=0;i&n;i++)&printf(&&&);
&&&&puts(&1&);&EnQ(Q,1);&EnQ(Q,1);
&&&&for(i=1;i&n;i++)&{
&&&&&&&&for(k=0;k&n-i;k++)&printf(&&&);
&&&&&&&&EnQ(Q,1);
&&&&&&&&for(j=0;j&i;j++){
&&&&&&&&&&&&DeQ(Q,t);
&&&&&&&&&&&&printf(&%3d&&,t);
&&&&&&&&&&&&EnQ(Q,t+Front(Q));
&&&&&&&&EnQ(Q,1);
&&&&&&&&DeQ(Q,t);
&&&&&&&&printf(&%d\n&,t);
&&&&return&0;
Private&Sub&Form_click()
&&n=Val(Text1.Text)
&&ReDim&a(n+1,n+1),b(n+1,n+1)
&&For&i=1&To&n
&&&&PrintString((n-i)*k/2+1,&&);
&&&&For&j=1&To&i
&&&&&&a(i,1)=1
&&&&&&a(i,i)=1
&&&&&&a(i+1,j+1)=a(i,j)+a(i,j+1)
&&&&&&b(i,j)=Trim(Str(a(i,j)))
&&&&&&Printb(i,j);
&&&&&&String(k-Len(b(i,j)),&&);
&&&&Next&j
创建一个text和command,在text中输入所需行数,点击command即可。--&使用组合的计算公式和阶乘计算杨辉三角,对大数容易溢出。
create&function&Factorial&(@count&int)&returns&int&as&begin
&&declare&@ret&int,@index&int
&&set&@ret&=&1&--初始值为&1
&&set&@index&=&1
&&while(@index&&=&@count)&begin
&&&&set&@ret&=&@ret&*&@index
&&&&set&@index&=&@index&+&1
&&return&(@ret)
create&function&Combination&(@num&int,@count&int)&returns&int&as&begin
&&declare&@up&int,@L1&int,@R1&int,@ret&int
&&set&@up&=&dbo.Factorial(@count)
&&set&@L1&=&dbo.Factorial(@num)
&&set&@R1&=&dbo.Factorial(@count&-&@num)
&&set&@ret&=&@up/(@L1&*&@R1)
&&return&(@ret)
create&function&PrintRow&(@num&int)&returns&nvarchar(100)&as&begin
&&declare&@i&int
&&declare&@str&nvarchar(100)
&&set&@str&=&''
&&set&@i&=&1
&&while&(@i&&&@num)&begin
&&&&set&@str&=&@str&+&replace(bination(@i,@num)),'&','')&+&'&,'
&&&&set&@i&=&@i&+&1
&&return&(@str)
create&proc&PasTrigLines(@num&int)&as&begin&--&主程序
&&declare&@i&int
&&set&@i&=&1
&&while(@i&&=&@num&)&begin
&&&&if&(@i&=&0&)&print&1&+&','
&&&&else&if&(@i&=&1)&print&'1,1,'
&&&&else&print&'1,'&+&dbo.PrintRow(@i)&+&'1,'
&&&&set&@i&=&@i&+&1
exec&PasTrigLines&10&--&十个
来自易语言自带的例子。
以下为全文。
.程序集&启动窗口程序集
 .程序集变量&帕斯卡三角阶数,&整数型,&,&,&帕斯卡三角行数
 .程序集变量&帕斯卡三角,&文本型,&,&,&形成的帕斯卡三角
.子程序&__启动窗口_创建完毕
'&使用算法:递归调用
 '&问题:求帕斯卡(杨辉)三角
 '&问题描述:取N阶的帕斯卡(杨辉)三角并显示
 '&问题分析:
 '& 运用递归的方法取N层帕斯卡三角,并显示。三角形边界上的数都是1,内部的每个数是位于它上面的两个数之和。
 '& 假设f(row,&col)表示杨辉三角的第row行的第col个元素,那么:f(row,&col)&=&1&(col&=&1&或者&row&=&col),也就是递归的停止条件。f(row,&col)&=&f(row&-&1,&col&-&1)&+&f(row&-&1,&col),也就是上一行的两个相邻元素的和。递归调用求解。
 '&备注:
.子程序&_计算图形按钮_被单击
 .局部变量&行数,&整数型,&,&,&帕斯卡三角行数
 .局部变量&列数,&整数型,&,&,&帕斯卡三角列数
 .局部变量&询问返回,&整数型,&,&,&信息框返回的结果
编辑框2.内容&=&“”
 帕斯卡三角&=&“”
 '&判断输入的值
 .判断开始&(编辑框1.内容&=&“”)
 信息框&(“输入错误!”,&0,&)
 '&当数值过大时,给出提示
 .判断&(到数值&(编辑框1.内容)&&&20)
 询问返回&=&信息框&(“您输入的数值过大,处理数据时程序将会有一段时间无响应,是否继续?”,&#是否钮&+&#询问图标,&“请问:”)
 .如果真&(询问返回&=&#是钮)
 '&如果确定,调用求帕斯卡三角
 求帕斯卡三角&()
 .如果真结束
 '&数据较小时调用求帕斯卡三角
 .判断&(编辑框1.内容&≠&“”&且&到数值&(编辑框1.内容)&≤&20)
 求帕斯卡三角&()
 .子程序&求帕斯卡三角
 .局部变量&行数,&整数型,&,&,&帕斯卡三角行数
 .局部变量&列数,&整数型,&,&,&帕斯卡三角列数
'&要求的帕斯卡三角的总行数
 帕斯卡三角阶数&=&到数值&(编辑框1.内容)&-&1
 .变量循环首&(0,&帕斯卡三角阶数,&1,&行数)
 .变量循环首&(0,&行数,&1,&列数)
 '&取帕斯卡三角元素放到当前行里
 帕斯卡三角&=&帕斯卡三角&+&到文本&(取帕斯卡三角元素&(行数&+&1,&列数&+&1))&+&“,”
 .变量循环尾&()
 帕斯卡三角&=&取文本左边&(帕斯卡三角,&取文本长度&(帕斯卡三角)&-&1)&+&#换行符
 '&没层需去尾都好加换行符
 .变量循环尾&()
 '&显示结果
 编辑框2.内容&=&帕斯卡三角
 .子程序&取帕斯卡三角元素,&整数型,&,&取帕斯卡三角中元素的子程序
 .参数&行数,&整数型,&,&帕斯卡三角行数
 .参数&列数,&整数型,&,&帕斯卡三角列数
.如果&(列数&=&1&或&行数&=&列数)
 '&每行的外围两个元素为1
 返回&(1)
 '&其余的部分为上一行的(行数&-&1)和(行数)元素之和
 返回&(取帕斯卡三角元素&(行数&-&1,&列数&-&1)&+&取帕斯卡三角元素&(行数&-&1,&列数))
 .如果结束
/*&默认输出十行,用T(值)的形式可改变输出行数&*/
&&private&$
&&public&function&__construct($var=10)&{
&&&&if&($var&3)&die(&值太小啦!&);
&&&&$this-&num=$
&&public&function&display(){
&&&&$n=$this-&
&&&&$arr=array();
&&//$arr=array_fill(0,$n+1,array_fill(0,$n+1,0));
&&&&$arr[1]=array_fill(0,3,0);
&&&&$arr[1][1]=1;
&&&&echo&str_pad(&&&,$n*12,&&&);
&&&&printf(&%3d&,$arr[1][1]);
&&&&echo&&&br/&&;
&&&&for($i=2;$i&=$n;$i++){
&&&&&&$arr[$i]=array_fill(0,($i+2),0);
&&&&&&for($j=1;$j&=$i;$j++){
&&&&&&&&if($j==1)
&&&&&&&&&&echo&str_pad(&&&,($n+1-$i)*12,&&&);
&&&&&&&&printf(&%3d&,$arr[$i][$j]=$arr[$i-1][$j-1]+$arr[$i-1][$j]);
&&&&&&&&echo&&&&&;
&&&&&&echo&&br/&&;
$yh=new&T();&//$yh=new&T(数量);
$yh-&display();
#&-*-&coding:&utf-8&-*-
#!/usr/bin/env&python
def&pas_triangles():
&&&&a&=&[1]
&&&&while&True:
&&&&&&&&yield&a
&&&&&&&&a&=&[sum(i)&for&i&in&zip([0]&+&a,&a&+&[0])]
if&__name__&==&&__main__&:
&&&&g&=&pas_triangles()
&&&&for&n&in&range(10):
&&&&&&&&print(next(g))
新手上路我有疑问投诉建议参考资料 查看Global.exe_百度百科
关闭特色百科用户权威合作手机百科
收藏 查看&Global.exe本词条缺少名片图,补充相关内容使词条更完整,还能快速升级,赶紧来吧!
Global.exe 是一种U盘病毒,病症表现为创建名为 Global.exe 进程的木马病毒综合体,使电脑速度明显下降,不能切换中英文输入。分&&&&类U盘病毒建&&&&议下载安装所有系统安全病&&&&症创建 Global.exe 进程 病毒资料
病毒资料 U盘病毒
病症:创建 Global.exe 进程! 木马病毒综合体 电脑速度明显下降,不能切换中英文输入。
危险程度:高
建议:下载安装所有系统安全
一种病毒进程,现象是每隔30秒有个飘动的图片写的your computer is being attacked(翻译成中文为:您的计算机受到攻击),,还不停地发出噔噔的声音。
附上自己在网上找到的几个,以方便大家。
title 未来病毒_专杀病毒批处理
mode con: cols=100 lines=50
echo ——————————————————————-
echo 病毒资料
echo 病毒资料 U盘病毒
echo 病症:创建 Global.exe 进程! 木马病毒综合体 电脑速度明显下降
echo 危险程度:高 (不高才怪)
echo 病毒:是
echo 木马:是
echo 建议:下载安装所有系统安全
echo BY: 未来病毒
echo ———————————————–
set /p tmp=以上是该病毒的资料,按开始清除该病毒…
taskkill /im Global.exe /f
taskkill /im Fonts.exe /f
taskkill /im explorer.exe /f
del C:\WINDOWS\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\*.*
del c:\windows\system32\dllcache\*.*
del %System%\autorun.inf
for /D %%d in (c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) do if exist %%d:\autorun.inf attrib -s -h -r %%d:\autorun.inf
for /D %%d in (c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) do if exist %%d:\autorun.inf del %%d:\autorun.inf /q
for /D %%d in (c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) do if exist %%d:\autorun.inf attrib -s -h -r %%d:\lcg.exe
for /D %%d in (c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) do if exist %%d:\autorun.inf del %%d:\lcg.exe /q
cd C:\windows\
attrib -s -h -r c:\windows\system32\drivers\drivers.cab.exe
del c:\windows\system32\drivers\drivers.cab.exe
attrib -s -h -r C:\WINDOWS\system32\
del C:\WINDOWS\system32\
attrib -s -h -r C:\WINDOWS\pchealth\Global.exe
del C:\WINDOWS\pchealth\Global.exe
attrib -s -h -r C:\WINDOWS\system\KEYBOARD.exe
del C:\WINDOWS\system\KEYBOARD.exe
attrib -s -h -r C:\WINDOWS\Help\microsoft.hlp
del C:\WINDOWS\Help\microsoft.hlp
attrib -s -h -r C:\WINDOWS\system32\regedit.exe
del C:\WINDOWS\system32\regedit.exe
attrib -s -h -r C:\WINDOWS\system32\drivers\drivers.cab.exe
del C:\WINDOWS\system32\drivers\drivers.cab.exe
attrib -s -h -r C:\WINDOWS\system32\dllcache\autorun.inf
del C:\WINDOWS\system32\dllcache\autorun.inf
attrib -s -h -r C:\WINDOWS\system32\dllcache\Default.exe
del C:\WINDOWS\system32\dllcache\Default.exe
attrib -s -h -rC:\WINDOWS\system32\dllcache\svchost.exe
del C:\WINDOWS\system32\dllcache\svchost.exe
attrib -s -h -r C:\WINDOWS\system32\dllcache\Global.exe
del C:\WINDOWS\system32\dllcache\Global.exe
attrib -s -h -r C:\WINDOWS\system32\dllcache\tskmgr.exe
del C:\WINDOWS\system32\dllcache\tskmgr.exe
attrib -s -h -r C:\WINDOWS\system32\dllcache\explorer.exe
del C:\WINDOWS\system32\dllcache\explorer.exe
attrib -s -h -r C:\WINDOWS\system32\dllcache\rndll32.exe
del C:\WINDOWS\system32\dllcache\rndll32.exe
attrib -s -h -r C:\WINDOWS\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\system.exe
del C:\WINDOWS\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\system.exe
C:\WINDOWS\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\Global.exe
del C:\WINDOWS\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\Global.exe
attrib -s -h -r C:\WINDOWS\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\svchost.exe
del C:\WINDOWS\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\svchost.exe
attrib -s -h -r C:\WINDOWS\Fonts\tskmgr.exe
del C:\WINDOWS\Fonts\tskmgr.exe
attrib -s -h -r C:\WINDOWS\Fonts\Fonts.exe
del C:\WINDOWS\Fonts\Fonts.exe
attrib -s -h -r C:\WINDOWS\Media\rndll32.pif
del C:\WINDOWS\Media\rndll32.pif
attrib -s -h -r C:\WINDOWS\Cursors\Boom.vbs
del C:\WINDOWS\Cursors\Boom.vbs
del /f /s /q %systemdrive%\*.tmp
del /f /s /q “%userprofile%\Local Settings\Temporary Internet Files\*.*”
del /f /s /q “%userprofile%\Local Settings\Temp\*.*
del /f /q %userprofile%\cookies\*.*
start explorer.exe
set /p tmp=清理病毒完毕! 重新启动计算机后 重新运行 本批处理 以便于彻底 清理病毒,按退出该程序
echo  BY:未来病毒
title Global.exe 病毒______________冷轧电气:常江
rem ptcd_hdd=&protected_harddisk&
rem ptcd_usb=&protected_usbdevice&
echo. 欢迎使用
echo.==============================================
echo. Global.exe 病毒
echo. 中毒现象
echo. this computer is being attack
echo. 在上乱飞
echo. 提示
echo. 如果不是上述情况请不要使用本
echo. 本有一定的危险性 请慎重使用
echo. 以免造成不必要的损失
echo. 使用时请确定WINDOWS安装在C盘 否则可能无法删除
echo.==============================================
echo.下一步后进入杀毒主界面
rem 版本:23
echo ===================================
echo. 建议在安全模式下杀毒
echo. 输入Y查杀本机病毒
echo. 输入U查杀U盘病毒
echo. 输入R重启计算机
echo. 输入Q退出本程序
echo ===================================
set /p c=(y/u/r/q/n)
if &%c%& == &y& goto begin
if &%c%& == &u& goto usb
if &%c%& == &r& goto restart
if &%c%& == &q& goto end
taskkill /f /im Global.exe
taskkill /f /im Fonts.exe
del /f /a /q %systemroot%\Cursors\Boom.vbs
del /f /a /q %systemroot%\Help\microsoft.hlp
del /f /a /q %systemroot%\pchealth\Global.exe
del /f /a /q %systemroot%\system\KEYBOARD.exe
del /f /a /q %systemroot%\Help\microsoft.hlp
del /f /a /q %systemroot%\system32\regedit.exe
del /f /a /q %systemroot%\system32\drivers\drivers.cab.exe
del /f /a /q %systemroot%\system32\dllcache\autorun.inf
del /f /a /q %systemroot%\system32\dllcache\Default.exe
del /f /a /q %systemroot%\system32\dllcache\svchost.exe
del /f /a /q %systemroot%\system32\dllcache\Global.exe
del /f /a /q %systemroot%\system32\dllcache\tskmgr.exe
del /f /a /q %systemroot%\system32\dllcache\explorer.exe
del /f /a /q %systemroot%\system32\dllcache\rndll32.exe
del /f /a /q %systemroot%\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\system.exe
del /f /a /q %systemroot%\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\Global.exe
del /f /a /q %systemroot%\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\svchost.exe
del /f /a /q %systemroot%\Fonts\tskmgr.exe
del /f /a /q %systemroot%\Fonts\Fonts.exe
del /f /a /q %systemroot%\Media\rndll32.pif
del /f /a /q %systemroot%\Cursors\Boom.vbs
del /f /a /q %systemroot%\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}
::生成注册表恢复文件
@echo.Windows Registry Editor Version 5.00&kregvir.reg
@echo.; 清除病毒屏保&&kregvir.reg
@echo.[HKEY_CURRENT_USER\Control Panel\Desktop]&&kregvir.reg
@echo.&ScreenSaveTimeOut&=&600&&&kregvir.reg
@echo.&SCRNSAVE.EXE&=-&&kregvir.reg
@echo.&AutoEndTasks&=&0&&&kregvir.reg
@echo.; 修复文件关联&&kregvir.reg
@echo.@echo.[HKEY_CLASSES_ROOT\MSCFile\Shell\Open\Command]&&kregvir.reg
@echo.@=&%SystemRoot%\system32\mmc.exe \&%1\& %*&&&kregvir.reg
@echo.[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MSCFile\Shell\Open\Command]&&kregvir.reg
@echo.@=&%SystemRoot%\system32\mmc.exe \&%1\& %*&&&kregvir.reg
@echo.[HKEY_CLASSES_ROOT\regedit\shell\open\command]&&kregvir.reg
@echo.@=&regedit %1&&&kregvir.reg
@echo.[HKEY_CLASSES_ROOT\regfile\shell\open\command]&&kregvir.reg
@echo.@=&regedit \&%1\&&&&kregvir.reg
@echo.[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\regedit\shell\open\command]&&kregvir.reg
@echo.@=&regedit %1&&&kregvir.reg
@echo.[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\regfile\shell\open\command]&&kregvir.reg
@echo.@=&regedit \&%1\&&&&kregvir.reg
@echo.&&kregvir.reg
@echo.; 删除开关机&&kregvir.reg
@echo.[-HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System\Scripts]&&kregvir.reg
@echo.[-HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System\Scripts]&&kregvir.reg
@echo.&&kregvir.reg
@echo.; 恢复显示com和exe的扩展名&&kregvir.reg
@echo.[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\comfile]&&kregvir.reg
@echo.&NeverShowExt&=-&&kregvir.reg
@echo.[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile]&&kregvir.reg
@echo.&NeverShowExt&=-&&kregvir.reg
@echo.&&kregvir.reg
@echo.; 清除启动项&&kregvir.reg
@echo.[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]&&kregvir.reg
@echo.@=-&&kregvir.reg
@echo.&%systemroot%\system\KEYBOARD.exe&=-&&kregvir.reg
@echo.[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]&&kregvir.reg
@echo.@=-&&kregvir.reg
@echo.[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\Run]&&kregvir.reg
@echo.&sys&=-&&kregvir.reg
@echo.[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]&&kregvir.reg
@echo.@=-&&kregvir.reg
@echo.&&kregvir.reg
@echo.; 清除&&kregvir.reg
@echo.[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\ctfmon.exe]&&kregvir.reg
@echo.[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe]&&kregvir.reg
@echo.[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\boot.exe]&&kregvir.reg
@echo.[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\autorun.exe]&&kregvir.reg
@echo.[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\autoruns.exe]&&kregvir.reg
@echo.[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\auto.exe]&&kregvir.reg
@echo.[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msconfig.exe]&&kregvir.reg
@echo.[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\procexp.exe]&&kregvir.reg
@echo.&&kregvir.reg
@echo.; 恢复显示选项相关&&kregvir.reg
@echo.[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]&&kregvir.reg
@echo.&ShowSuperHidden&=dword:&&kregvir.reg
@echo.[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\SuperHidden]&&kregvir.reg
@echo.&ValueName&=&ShowSuperHidden&&&kregvir.reg
@echo.&&kregvir.reg
@echo.; MUICache&&kregvir.reg
@echo.[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]&&kregvir.reg
@echo.&%systemroot%\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\Global.exe&=-&&kregvir.reg
@echo.&%systemroot%\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\svchost.exe&=-&&kregvir.reg
@echo.&%systemroot%\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\system.exe&=-&&kregvir.reg
@echo.&%systemroot%\system32\dllcache\Default.exe&=-&%systemroot%\Fonts\Fonts.exe&=-&&kregvir.reg
@echo.&&kregvir.reg
@echo.; Global在干什么在注册表中的信息但不知道是什么&&kregvir.reg
@echo.[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\Components#CONTENT#]&&kregvir.reg
@echo.@=&&&&kregvir.reg
@echo.&Source&=-&&kregvir.reg
@echo.&SubscribedURL&=-&&kregvir.reg
@echo.&FriendlyName&=-&&kregvir.reg
@echo.&Flags&=-&&kregvir.reg
@echo.&Position&=-&&kregvir.reg
@echo.&CurrentState&=-&&kregvir.reg
@echo.&OriginalStateInfo&=-&&kregvir.reg
@echo.&RestoredStateInfo&=-&&kregvir.reg
@echo.[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\Components]&&kregvir.reg
@echo.&DeskHtmlVersion&=-&&kregvir.reg
@echo.&Settings&=-&&kregvir.reg
@echo.&GeneralFlags&=-&&kregvir.reg
@echo.[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]&&kregvir.reg
@echo.&DisableStatusMessages&=-&&kregvir.reg
@echo.&&kregvir.reg
@echo.; 清除残留信息&&kregvir.reg
@echo.[-HKEY_CURRENT_USER\Software\VB and VBA Program Settings]&&kregvir.reg
@echo.[-HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows]&&kregvir.reg
@echo.[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\Run]&&kregvir.reg
@echo.[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]&&kregvir.reg
reg import kregvir.reg
echo.清除病毒屏保
echo.修复文件关联
echo.删除开关机
echo.恢复显示com和exe的扩展名
echo.清除启动项
echo.恢复显示选项相关
echo.清除残留信息
del /a /f /q kregvir.reg
del /a /f /s /q *.tmp
del /a /f /s /q *pf
::============================================================
echo 请输入除光盘外的最后一个盘符c/d/e/f/g/h/i/j/k/l
echo 反回请输入Q
set /p hd=最后一个盘符为(c/d/e/f/g/h/i/j/k/l/Q)
if &%hd%&==&c& goto hdc
if &%hd%&==&d& goto hdd
if &%hd%&==&e& goto hde
if &%hd%&==&f& goto hdf
if &%hd%&==&g& goto hdg
if &%hd%&==&h& goto hdh
if &%hd%&==&i& goto hdi
if &%hd%&==&j& goto hdj
if &%hd%&==&k& goto hdk
if &%hd%&==&l& goto hdl
if &%hd%&==&q& goto main
goto anti_hdd
del /a /q /f autorun.inf
del /a /f /q
del /a /f /q recycler.exe
echo.====================================
echo.是否为您的硬盘添加保护文件夹
echo.它会降低您的电脑感染AUTO病毒的机率
set /p hdp=为计算机添加保护文件夹(y/n)
echo.====================================
if &%hdp%&=&y& goto ptcd_hdd
if &%hdp%&=&n& goto _begin
del /a /q /f autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /q /f autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /q /f autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /q /f autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /q /f autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /q /f autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /q /f autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /q /f autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /q /f autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
echo.开始建立保护文件
if &%hd%&==&c& goto pdc
if &%hd%&==&d& goto pdd
if &%hd%&==&e& goto pde
if &%hd%&==&f& goto pdf
if &%hd%&==&g& goto
if &%hd%&==&h& goto pdh
if &%hd%&==&i& goto pdi
if &%hd%&==&j& goto pdj
if &%hd%&==&k& goto pdk
if &%hd%&==&l& goto pdl
if &%hd%&==&q& goto main
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在硬盘建立autorun.inf文件夹----完成
goto _begin
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在硬盘建立autorun.inf文件夹----完成
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在硬盘建立autorun.inf文件夹----完成
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在硬盘建立autorun.inf文件夹----完成
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在硬盘建立autorun.inf文件夹----完成
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在硬盘建立autorun.inf文件夹----完成
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在硬盘建立autorun.inf文件夹----完成
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在硬盘建立autorun.inf文件夹----完成
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在硬盘建立autorun.inf文件夹----完成
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在硬盘建立autorun.inf文件夹----完成
echo.restart computer
echo.查杀完成 请重启您的计算机
echo.输入Y立刻重启计算机
echo.输入N稍候手动重启
set /p rs=现在重启动我的计算机(y/n)
if &%rs%&==&y& goto restart
if &%rs%&==&n& goto main
goto _begin
echo 请输入USB设备的盘符d/e/f/g/h/i/j/k/l
echo 反回请输入Q
set /p ud=USB设备盘符为(d/e/f/g/h/i/j/k/l/Q)
::if &%ud%&==&c& goto kuc
if &%ud%&==&d& goto kud
if &%ud%&==&e& goto kue
if &%ud%&==&f& goto kuf
if &%ud%&==&g& goto kug
if &%ud%&==&h& goto kuh
if &%ud%&==&i& goto kui
if &%ud%&==&j& goto kuj
if &%ud%&==&k& goto kuk
if &%ud%&==&l& goto kul
if &%ud%&==&q& goto main
del /a /f /q autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /f /q /s recycled\*.*
del /a /f /q /s recycler\*.*
del /a /f /q /s *.tmp
del /a /f /q /s *.pf
echo.为此USB设备添加保护文件请输入A
echo.查杀下一个USB设备添请在输入N后弹出本USB设备并插入下一个USB设备
echo.结束U盘杀毒请输入Q
set /p ku=(a/n/q)
if &%ku%&==&a& goto pud
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
del /a /f /q autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /f /q /s recycled\*.*
del /a /f /q /s recycler\*.*
del /a /f /q /s *.tmp
del /a /f /q /s *.pf
echo.为此USB设备添加保护文件请输入A
echo.查杀下一个USB设备添请在输入N后弹出本USB设备并插入下一个USB设备
echo.结束U盘杀毒请输入Q
set /p ku=(a/n/q)
if &%ku%&==&a& goto pue
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
del /a /f /q autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /f /q /s recycled\*.*
del /a /f /q /s recycler\*.*
del /a /f /q /s *.tmp
del /a /f /q /s *.pf
echo.为此USB设备添加保护文件请输入A
echo.查杀下一个USB设备添请在输入N后弹出本USB设备并插入下一个USB设备
echo.结束U盘杀毒请输入Q
set /p ku=(a/n/q)
if &%ku%&==&a& goto puf
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
del /a /f /q autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /f /q /s recycled\*.*
del /a /f /q /s recycler\*.*
del /a /f /q /s *.tmp
del /a /f /q /s *.pf
echo.为此USB设备添加保护文件请输入A
echo.查杀下一个USB设备添请在输入N后弹出本USB设备并插入下一个USB设备
echo.结束U盘杀毒请输入Q
set /p ku=(a/n/q)
if &%ku%&==&a& goto pug
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
del /a /f /q autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /f /q /s recycled\*.*
del /a /f /q /s recycler\*.*
del /a /f /q /s *.tmp
del /a /f /q /s *.pf
echo.为此USB设备添加保护文件请输入A
echo.查杀下一个USB设备添请在输入N后弹出本USB设备并插入下一个USB设备
echo.结束U盘杀毒请输入Q
set /p ku=(a/n/q)
if &%ku%&==&a& goto puh
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
del /a /f /q autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /f /q /s recycled\*.*
del /a /f /q /s recycler\*.*
del /a /f /q /s *.tmp
del /a /f /q /s *.pf
echo.为此USB设备添加保护文件请输入A
echo.查杀下一个USB设备添请在输入N后弹出本USB设备并插入下一个USB设备
echo.结束U盘杀毒请输入Q
set /p ku=(a/n/q)
if &%ku%&==&a& goto pui
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
del /a /f /q autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /f /q /s recycled\*.*
del /a /f /q /s recycler\*.*
del /a /f /q /s *.tmp
del /a /f /q /s *.pf
echo.为此USB设备添加保护文件请输入A
echo.查杀下一个USB设备添请在输入N后弹出本USB设备并插入下一个USB设备
echo.结束U盘杀毒请输入Q
set /p ku=(a/n/q)
if &%ku%&==&a& goto puj
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
del /a /f /q autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /f /q /s recycled\*.*
del /a /f /q /s recycler\*.*
del /a /f /q /s *.tmp
del /a /f /q /s *.pf
echo.为此USB设备添加保护文件请输入A
echo.查杀下一个USB设备添请在输入N后弹出本USB设备并插入下一个USB设备
echo.结束U盘杀毒请输入Q
set /p ku=(a/n/q)
if &%ku%&==&a& goto puk
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
del /a /f /q autorun.inf
del /a /f /q recycled.exe
del /a /f /q recycler.exe
del /a /f /q /s recycled\*.*
del /a /f /q /s recycler\*.*
del /a /f /q /s *.tmp
del /a /f /q /s *.pf
echo.为此USB设备添加保护文件请输入A
echo.查杀下一个USB设备添请在输入N后弹出本USB设备并插入下一个USB设备
echo.结束U盘杀毒请输入Q
set /p ku=(a/n/q)
if &%ku%&==&a& goto pul
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在USB存储器建立autorun.inf文件夹----完成
echo.继续查杀下一个USB设备请输入n
echo.返回请输入Q
set /p ku=NEXT(n/q)
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在USB存储器建立autorun.inf文件夹----完成
echo.继续查杀下一个USB设备请输入n
echo.返回请输入Q
set /p ku=NEXT(n/q)
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在USB存储器建立autorun.inf文件夹----完成
echo.继续查杀下一个USB设备请输入n
echo.返回请输入Q
set /p ku=NEXT(n/q)
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在USB存储器建立autorun.inf文件夹----完成
echo.继续查杀下一个USB设备请输入n
echo.返回请输入Q
set /p ku=NEXT(n/q)
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在USB存储器建立autorun.inf文件夹----完成
echo.继续查杀下一个USB设备请输入n
echo.返回请输入Q
set /p ku=NEXT(n/q)
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在USB存储器建立autorun.inf文件夹----完成
echo.继续查杀下一个USB设备请输入n
echo.返回请输入Q
set /p ku=NEXT(n/q)
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在USB存储器建立autorun.inf文件夹----完成
echo.继续查杀下一个USB设备请输入n
echo.返回请输入Q
set /p ku=NEXT(n/q)
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在USB存储器建立autorun.inf文件夹----完成
echo.继续查杀下一个USB设备请输入n
echo.返回请输入Q
set /p ku=NEXT(n/q)
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在USB存储器建立autorun.inf文件夹----完成
echo.继续查杀下一个USB设备请输入n
echo.返回请输入Q
set /p ku=NEXT(n/q)
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
md autorun.inf
cd autorun.inf
md changjiang..\
echo.在USB存储器建立autorun.inf文件夹----完成
echo.继续查杀下一个USB设备请输入n
echo.返回请输入Q
set /p ku=NEXT(n/q)
if &%ku%&==&n& goto usb
if &%ku%&==&q& goto main
set /p ku=重新启动计算机(y/n)
if &%ku%&==&y& shutdown /r /t 10 /c &重启时按 F8 可进入安全模试&
if &%ku%&==&n& goto main
goto restart
使用方法为把以上文字复制到,然后后缀为.bat的文件,双击运行。
Windows Registry Editor Version 5.00
; 以分号开头的行为注释的废话
; 清除病毒屏保
[HKEY_CURRENT_USER\Control Panel\Desktop]
&ScreenSaveTimeOut&=&600&
&SCRNSAVE.EXE&=-
&AutoEndTasks&=&0&
; 修复文件关联
[HKEY_CLASSES_ROOT\MSCFile\Shell\Open\Command]
@=&%SystemRoot%\system32\mmc.exe \&%1\& %*&
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MSCFile\Shell\Open\Command]
@=&%SystemRoot%\system32\mmc.exe \&%1\& %*&
[HKEY_CLASSES_ROOT\regedit\shell\open\command]
@=&regedit %1&
[HKEY_CLASSES_ROOT\regfile\shell\open\command]
@=&regedit \&%1\&&
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\regedit\shell\open\command]
@=&regedit %1&
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\regfile\shell\open\command]
@=&regedit \&%1\&&
; 删除开关机脚本
[-HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System\Scripts]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System\Scripts]
; 恢复显示com和exe的扩展名
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\comfile]
&NeverShowExt&=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile]
&NeverShowExt&=-
; 清除启动项
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
&C:\WINDOWS\system\KEYBOARD.exe&=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\Run]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]
; 清除映像劫持
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\ctfmon.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\boot.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\autorun.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\autoruns.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\auto.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msconfig.exe]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\procexp.exe]
; 恢复显示选项相关
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
&ShowSuperHidden&=dword:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\SuperHidden]
&ValueName&=&ShowSuperHidden&
; MUICache有什么用不大清楚,这一堆似乎不重要
[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
&C:\WINDOWS\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\Global.exe&=-
&C:\WINDOWS\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\svchost.exe&=-
&C:\WINDOWS\system32\dllcache\Recycler.{645FF040-F08-00AA002F954E}\system.exe&=-
&C:\WINDOWS\system32\dllcache\Default.exe&=-&C:\WINDOWS\Fonts\Fonts.exe&=-
; 不知道Global在干什么
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\Components#CONTENT#]
&Source&=-
&SubscribedURL&=-
&FriendlyName&=-
&Position&=-
&CurrentState&=-
&OriginalStateInfo&=-
&RestoredStateInfo&=-
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\Components]
&DeskHtmlVersion&=-
&Settings&=-
&GeneralFlags&=-
; 还是不知道在干什么
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]
&DisableStatusMessages&=-
; 清除残留信息
[-HKEY_CURRENT_USER\Software\VB and VBA Program Settings]
[-HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\Run]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
使用方法为把以上文字复制到,然后后缀为.reg的文件,双击运行。
新手上路我有疑问投诉建议参考资料 查看

我要回帖

更多关于 o2o是什么意思 的文章

 

随机推荐