看代码: 1 #include <stdio.h> 2 #include <fcntl.h> 3 int key1(){ 4 asm("mov r3, pc\n"); 5 } 6 int key2(){ 7 asm( 8 "push {r6}\n" 9 "add r6, pc, $1\n" 10 " ...
分类:
其他好文 时间:
2017-08-03 12:37:05
阅读次数:
290
Description Description Stan has n sticks of various length. He throws them one at a time on the floor in a random way. After finishing throwing, Stan ...
分类:
其他好文 时间:
2017-08-03 11:21:16
阅读次数:
176
今天碰到了个郁闷的问题,svn执行clean up命令时报错“Previous operation has not finished; run 'cleanup' if it was interrupted”。无论你到那个父层次的目录执行“clean up “,都是报一样的错。执行cleanup时候 ...
分类:
其他好文 时间:
2017-08-03 01:05:46
阅读次数:
201
先看源码: 得出如果password1和password2与条件稳合便得出结论,但是scanf没有取地址符 思路是got覆写技术: 先看got信息: 得到fflush@GLIBC_2.0地址为0x0804a004, 再看一下程序汇编 得到name_addr=ebp-0x70 password1_ad ...
分类:
其他好文 时间:
2017-08-02 18:57:45
阅读次数:
206
一、LinuxCentOS7IP地址配置输入命令“ifconfig”查看本机IP地址.[root@localhost~]#ifconfig
ens33:flags=4163<UP,BROADCAST,RUNNING,MULTICAST>mtu1500
inet192.168.42.170netmask255.255.255.0broadcast192.168.42.255
ether00:0c:29:36:d5:9ftxqueuelen1000(Ethernet..
分类:
系统相关 时间:
2017-08-02 13:57:06
阅读次数:
226
最近遇到dell 的主机 raid1,坏盘更换后,rebulid 一会,就是白了。重启机器,对应硬盘 状态变成 Unconfigured(good), Spun Up 按照常规首先清理 外来配置 1 /opt/MegaRAID/MegaCli/MegaCli64 -CfgForeign -clear ...
分类:
其他好文 时间:
2017-08-02 13:06:01
阅读次数:
2074
Petya recieved a gift of a string s with length up to 105 characters for his birthday. He took two more empty strings t and u and decided to play a ga ...
分类:
其他好文 时间:
2017-08-02 00:43:18
阅读次数:
142
Outlines Grouped Data Before After Preparing the Workbook In order to make this feature easy to use, you must do two things to your excel set up. (1) ...
分类:
其他好文 时间:
2017-08-02 00:28:35
阅读次数:
154
HDU - 1540 POJ - 2892 题意:n个点,有3种操作D a表示摧毁a这个点,R 表示修复上一个点,Q x表示查询x所在的区间没被摧毁的连续最大区间 思路:线段树区间合并,区间合并主要就是对lsum rsum 和sum的动态维护,注意合并的条件,写的时候主要注意push_up和push ...
分类:
其他好文 时间:
2017-08-02 00:26:24
阅读次数:
166
Description Farmer John wants to set up a telephone line at his farm. Unfortunately, the phone company is uncooperative, so he needs to pay for some o ...
分类:
其他好文 时间:
2017-08-01 20:44:55
阅读次数:
180