http://202.197.224.59/OnlineJudge2/index.php/Problem/read/id/1184
给定原字符串,和需要删掉的字符串集,然后输出删除后的字符串,如果长度变为0,输出LOSER。
考验编码能力 !!
#include
#include
#include
using namespace std;
char ss[10][10]={"HATE","...
分类:
其他好文 时间:
2014-09-02 17:57:35
阅读次数:
176
纯模拟
http://202.197.224.59/OnlineJudge2/index.php/Problem/read/id/1190
#include
int main()
{
//freopen("in.txt","r",stdin);
int k,i,a,b,sum1,sum2;
char x,y;
scanf("%d",&k);
...
分类:
其他好文 时间:
2014-09-02 17:55:24
阅读次数:
197
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1 is read off as "one 1" or 11.11 is read off ...
分类:
其他好文 时间:
2014-09-02 17:28:14
阅读次数:
208
http://202.197.224.59/OnlineJudge2/index.php/Problem/read/id/1185
判断 x3+y3 = c 是否存在正整数解,2≤c≤109
首先把给定范围内的所有情况打表用数组保存,然后直接二分查找c即可。
#include
#include
using namespace std;
int cnt,a[1010000];
bool fin...
分类:
其他好文 时间:
2014-09-02 15:52:14
阅读次数:
248
http://202.197.224.59/OnlineJudge2/index.php/Problem/read/id/1173
纯模拟,按步骤一个个来 判断就行。
#include
#include
int main()
{
//freopen("a.txt","r",stdin);
char map[10][10];
int t,i,j,s1,s2;
...
分类:
其他好文 时间:
2014-09-02 14:17:24
阅读次数:
212
Intra-thread semantics(线程内语义):
The memory model determines what values can be read at every point in the program. The actions of each thread in isolation must behave as governed by the se...
分类:
其他好文 时间:
2014-09-02 14:14:25
阅读次数:
493
一些函数方法常用的动词:get 获取/set 设置, add 增加/remove 删除create 创建/destory 移除 start 启动/stop 停止open 打开/close 关闭, read 读取/write 写入load 载入/save 保存, create 创建/destroy 销...
分类:
Web程序 时间:
2014-09-02 13:48:54
阅读次数:
159
warning:rpmts_HdrFromFdno:HeaderV3RSA/SHA256Signature,keyID0608b895:NOKEYRetrievingkeyfromfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6GPGkeyretrievalfailed:[Errno14]Couldnotopen/readfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6解决方案没有解决:今天更新为163的源..
分类:
其他好文 时间:
2014-09-02 12:38:35
阅读次数:
546
昨天帮舍友的win8 Dell本本装Win7的系统,想着是很简单(没用U盘装过,第一次),然后出现了种种问题,折腾了我四个多小时才弄好,主要是不了解bios boot跟相关的硬盘什么分区的知识,又查,乱弄一番,不过最后还是装上了,这说说我遇到的问题。
首先一开始用ghost装完重启电脑时显示这句话:
An error occurred while attempting to read b...
出于公司开发需求,这个暑假我开始搞Ruby on Rails,在业余时间捣鼓了一个在线笔记应用:http://raysnote.com。这是一个极简而优雅的笔记网站(至少我个人这么认为的)。笔记支持所见即所得的编辑器、markdown语法,时时预览,代码高亮、表格、数学公式等。除此之外,还具有保存网络文章的功能(类似read it later)。对于一个对于书写和阅读有强迫症的人来说,我在Rays...
分类:
Web程序 时间:
2014-09-02 10:29:34
阅读次数:
243