进入超级用户进入超级用户权限:此时会在最底层目录中/home的上一层目录中 1 sudo –i修改或隐藏Linux终端命令行中的用户名和主机名只需要修改.bashrc文件中的内容:原来的内容: 1 # ~/.bashrc: executed by bash(1) for non-login shel... ...
分类:
系统相关 时间:
2020-01-24 21:14:44
阅读次数:
113
学习数据结构和算法相关的知识,参考的书籍是《啊哈!算法》这本书籍,很多算法的书籍只适合当做工具书来查阅,(例如我的算法导论,现在还在垫桌角),所以找到一本简单易懂的算法书籍是非常重要的,当然很多算法还有深入的部分,这些都可以在自己心里面有了算法的基本概念之后再看工具书进行扩展的学习。 书里面的排序算 ...
分类:
编程语言 时间:
2020-01-24 18:56:45
阅读次数:
130
#include "stdio.h" void main() { int s,c; float d=0,p,w,f; scanf("%f,%f,%d",&p,&w,&s); if(s>=3000) {c=12;} else {c=s/250;} switch(c) { case 0:d=0;brea ...
分类:
其他好文 时间:
2020-01-24 18:54:37
阅读次数:
112
#include "stdio.h" void main() { int score; printf("输入分数\n"); scanf("%d",&score); if(score<60) { printf("the score is E"); } else if((score>60||score= ...
分类:
其他好文 时间:
2020-01-24 18:53:35
阅读次数:
96
#include "stdio.h" void main() { int i,j; for(i=1;i<=4;i++) {for(j=1;j<=i;j++) { printf("*"); } printf("\n"); } } ...
分类:
其他好文 时间:
2020-01-24 18:53:17
阅读次数:
86
这三道使用工具shellcode类型的题目复现的真的是炒鸡自闭emmm,社工能力极弱+敏感度极低+脑子缺筋的我...... ...
分类:
系统相关 时间:
2020-01-24 18:51:49
阅读次数:
128
#include "stdio.h" #include "math.h" void main() { double a,b,c,x1,x2,p,q,dis; printf("输入abc的值\n"); scanf("a=%lf b=%lf c=%lf",&a,&b,&c); dis=sqrt(b*b- ...
分类:
其他好文 时间:
2020-01-24 18:44:38
阅读次数:
68
#include "stdio.h" void main() { int y; printf("请输入年份\n"); scanf("%d",&y); if(y%4==0&&y%400==0) printf("是闰年"); else printf("不是闰年"); } ...
分类:
其他好文 时间:
2020-01-24 18:42:05
阅读次数:
63
#include "stdio.h" void main() { int a,b,c,t; scanf("%d%d%d",&a,&b,&c); if(a>b) { t=b; b=a; a=t; } if(a>c) { t=a; a=c; c=t; } if(b>c) { t=b; b=c; c=t; ...
分类:
其他好文 时间:
2020-01-24 18:41:18
阅读次数:
98
转跳点:🐏 1039 到底买不买 (20分) 小红想买些珠子做一串自己喜欢的珠串。卖珠子的摊主有很多串五颜六色的珠串,但是不肯把任何一串拆散了卖。于是小红要你帮忙判断一下,某串珠子里是否包含了全部自己想要的珠子?如果是,那么告诉她有多少多余的珠子;如果不是,那么告诉她缺了多少珠子。 为方便起见,我 ...
分类:
其他好文 时间:
2020-01-24 17:22:13
阅读次数:
119