1) 修改提示字符串: PS1('>>') >>PS1('input:')input:1 + 22) 运算 >> 1+2ans = 3>> 1*2ans = 2>> 1 == 2ans = 0>> 1 != 2ans = 1>> 1 && 0ans = 0>> 1 || 0ans = 13) 输.....
分类:
其他好文 时间:
2015-03-10 21:26:16
阅读次数:
312
CatTime Limit: 1500MSMemory Limit: 30000KTotal Submissions: 1580Accepted: 401Special JudgeDescriptionIn strong winds, sailboats tend to heel leeward (...
分类:
其他好文 时间:
2015-03-10 21:24:05
阅读次数:
112
//// main.m// 2-8 LessonClassExtension//// Created by lanouhn on 15/3/10.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import #import "Pen.h"...
分类:
其他好文 时间:
2015-03-10 21:24:26
阅读次数:
215
题意:传送门题目描述As you know, shadow95 is pretty good at maths, especially combinatorial mathematics. Now, he has made a problem for you. We call a subset wh...
分类:
其他好文 时间:
2015-03-10 21:24:27
阅读次数:
132
能启用GPU加速的几个CSS属性 translate3d translateZ rotate scale 解决可能的闪烁: -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visi...
分类:
其他好文 时间:
2015-03-10 21:24:58
阅读次数:
179
20150310 块设备驱动程序 2015-03-10 李海沿 接下来我们来实现块设备驱动程序。 一、块设备结构体 1. file_operations 结构体 和字符设备驱动中file_operations 结构体类似,块设备驱动中也有一个 block_device_operations 结构体,...
分类:
其他好文 时间:
2015-03-10 21:23:40
阅读次数:
157
//// main.m// 2-7 LessonBlock//// Created by lanouhn on 15/3/9.// Copyright (c) 2015年 lanouhn. All rights reserved.//#import #import "Student.h"#impor...
分类:
其他好文 时间:
2015-03-10 21:24:15
阅读次数:
163
项目中使用了SASS,一直觉得颜色的命名很乱,觉得有必要有一个工具告诉你对应的颜色应该叫什么名字。于是我写了一个小工具ColorNamer。
分类:
其他好文 时间:
2015-03-10 21:23:15
阅读次数:
218
As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some ro...
分类:
其他好文 时间:
2015-03-10 21:24:16
阅读次数:
139
MapFile是已经排过序的SequenceFile,它有索引,所以可以按键查找1.MapFile的写操作MapFile的写操作类似于SequenceFile的写操作。新建一个MapFile.Writer实例,然后调用append()方法顺序写入文件内容。如果不按顺序写入,就抛出一个IOExcept...
分类:
其他好文 时间:
2015-03-10 21:23:04
阅读次数:
123
先把参考的文档列出来:http://www.cnblogs.com/supercheng/archive/2012/11/26/singlemodal.htmlhttp://arthurchen.blog.51cto.com/2483760/642536/http://blog.csdn.net/d...
分类:
其他好文 时间:
2015-03-10 21:21:51
阅读次数:
144
我最近也遇到client端无法建立连接的问题。server端能够建立连接,但client无法建立连接(提示ipc connection error,connection refused)。我刚开始的方法是将客户端的这个软件卸载重装,发现果然好了,连接上了。但我把client端电脑重启后又出现无法建立...
分类:
其他好文 时间:
2015-03-10 21:21:02
阅读次数:
3201
题目:http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=1607题目描述A number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (...
分类:
其他好文 时间:
2015-03-10 21:20:25
阅读次数:
138
原作者:zouxy09原文链接:http://blog.csdn.net/zouxy09/article/details/9993371Deep Learning论文笔记之(四)CNN卷积神经网络推导和实现zouxy09@qq.comhttp://blog.csdn.net/zouxy09自己平时看...
分类:
其他好文 时间:
2015-03-10 21:19:19
阅读次数:
239
void add(char str1[N],char str2[N]){ int i,len1,len2; int number1[N]={0}; int number2[N]={0}; len1=strlen(str1); len2=strlen(str2); for(i=len1-1...
分类:
其他好文 时间:
2015-03-10 21:19:29
阅读次数:
131
#include//#include//#include using namespace std;#define OK 1#define TRUE 1#define FALSE 0#define ERROR 0#define MAXSIZE 100//数组的最大大小typedef int statu...
分类:
其他好文 时间:
2015-03-10 21:19:07
阅读次数:
159
https://leetcode.com/problems/plus-one/Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored suc...
分类:
其他好文 时间:
2015-03-10 21:17:35
阅读次数:
142