想实现网络启动,并且Acronis启动菜单中带有Acronis True Image Home,需要安装以下软件: 1.安装Acronis True Image Home 2011及plush pack 2.安装Acronis Disk Director Advanced 11 安装完成后,打开Ac...
分类:
其他好文 时间:
2015-05-11 12:14:47
阅读次数:
359
Problem Description
Happy New Term!
As having become a junior, xiaoA recognizes that there is not much time for her to AC problems, because there are some other things for her to do, which makes her...
分类:
其他好文 时间:
2015-05-11 09:08:53
阅读次数:
128
题目描述 输入一个链表,从尾到头打印链表每个节点的值。 题目比较水,一遍就 AC 了,来看代码:/**
* struct ListNode {
* int val;
* struct ListNode *next;
* ListNode(int x) :
* val(x), next(NULL) {...
分类:
其他好文 时间:
2015-05-10 18:46:42
阅读次数:
113
Determine whether an integer is a palindrome. Do this without extra space.思想: 先计算出这个整数的逆序数,然后比较它和原来的数每位是否都相同即可。另外要注意负数没有回文数,还应该考虑overflow一定不是回文数。AC代码:...
分类:
其他好文 时间:
2015-05-09 18:58:58
阅读次数:
121
Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321思想:一个整数的倒序,没啥说的,在long类型上比较来避免overflow。AC代码: 1 class Solution { ...
分类:
其他好文 时间:
2015-05-09 17:21:07
阅读次数:
88
这题,简单的BFS就可以搞定。题目的大概意思是最短时间从地图的r到达a。
一开始,用普通的队列来做,结果内存超了,原因是N和M最大200;普通的队列会浪费一大堆内存,所以应该改用优先队列来做。
下面是AC的代码:
#include
#include
#include
using namespace std;
class data
{
public:
int x, y, cost;
...
分类:
其他好文 时间:
2015-05-09 16:39:16
阅读次数:
374
Table K.3 – Table for luminance DC coefficient differencesCategory Code length Code word0 2 0001 3 0102 ...
分类:
其他好文 时间:
2015-05-09 14:57:07
阅读次数:
126
linux应用开发-Autotools
一 工具的使用
以一个案例为主,即打包一个hello的程序
1 编写hello.c
2 autoscan
3 改configure.scan后缀名为.ac
4 vi configure.ac 加上发行的信息和AM_INIT_AUTOMAKE(发行信息)和输出文件名(Makefile)
5 aclocal生成a...
分类:
系统相关 时间:
2015-05-09 10:21:39
阅读次数:
124
在我的电脑上code::blocks运行过不了,但代码是可以AC的,很是郁闷。
问了大神,知道了函数的参数是放在栈区,结构体太大的话,栈就爆了,如是后来就听从大神的意见用引用改写了。
传送门:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1853
#include
#include
#include
int ...
分类:
其他好文 时间:
2015-05-08 22:12:08
阅读次数:
140
http://acm.tzc.edu.cn/acmhome/problemdetail.do?&method=showdetail&id=4453
不会
http://acm.tzc.edu.cn/acmhome/problemdetail.do?&method=showdetail&id=4454
理论AC
http://acm.tzc.edu.cn/acmhome/problemdet...
分类:
其他好文 时间:
2015-05-08 22:03:59
阅读次数:
105