Chinaunix首页 | 论坛 | 博客
  • 博客访问: 473344
  • 博文数量: 59
  • 博客积分: 345
  • 博客等级: 二等列兵
  • 技术积分: 1380
  • 用 户 组: 普通用户
  • 注册时间: 2011-06-18 22:44
个人简介

to be myself

文章分类

全部博文(59)

文章存档

2017年(5)

2013年(47)

2012年(3)

2011年(4)

发布时间:2013-03-02 17:09:32

Problem: 3006  User: angrad Memory: 136K  Time: 250MS Language: C  Result: Accepted 点击(此处)折叠或打开#include <stdio.h>int IsPrime(int a){  .........【阅读全文】

阅读(1183) | 评论(0) | 转发(0)

发布时间:2013-03-02 17:07:46

点击(此处)折叠或打开#include <stdio.h>typedef unsigned int uint;int IsPrime(uint a){  uint i;  if(1 == a)  {  .........【阅读全文】

阅读(1047) | 评论(0) | 转发(0)

发布时间:2013-03-02 17:04:06

点击(此处)折叠或打开#include struct{  ints;  int f;}MovingEvent[201];void swap(int *a, int *b){  int .........【阅读全文】

阅读(889) | 评论(0) | 转发(0)

发布时间:2013-03-02 17:02:56

#include (此处略>40000个的字,就是个2-10000之间的素数数组)点击(此处)折叠或打开int main(){   intnum,i,count,j,n;   while(scanf("%d",&num)==1&&nu.........【阅读全文】

阅读(1239) | 评论(0) | 转发(0)

发布时间:2013-03-02 17:00:43

举例说说这一题吧,比如下面ABBCFEA(假设为dst)CCGGHJB(假设为src)不关心怎么从src变到dst,我先qsort一遍,两者就变成:AABBCEFBCCGGHJ不深度题目,人工的都以为这个是NO.但非也,我们再找一下两个串的相同字母数字序列.两者分别是:2211112211这个你应该了解吧,就是AA为2,BB为2,C为1,E为1,F为1.然后再.........【阅读全文】

阅读(1870) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册