自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

左手倒影,右手年华

talk is cheap,show me the code...

  • 博客(13)
  • 资源 (6)
  • 收藏
  • 关注

原创 1030. Travel Plan

使用dfs即可。#include #include #include using namespace std;#define MAX 550#define INF 99999999typedef struct D{ int len ; int cost ;}D;D data[MAX][MAX];int visited[MAX];vectorans ;

2015-08-30 16:07:24 352

原创 1097. Deduplication on a Linked List

牺牲空间换时间。#include #include #include #include using namespace std ;#define MAX 10050typedef struct D{ int add ; int data ; int next ;}D ;vectororder ;vectorremoved ;int visited[

2015-08-30 11:25:10 287

原创 1096. Consecutive Factors

#include #include #include using namespace std;vectorans ;int main(void){ int num ; int i; scanf("%d" , &num); for( i = 2 ; i <= num; i ++ ) { int j ; int temp = num ; vectortemp

2015-08-30 10:09:11 363

原创 1083. List Grades

#include #include #define MAX 105 typedef struct D{ char name[15] ; char id[15] ; int grade ;}D ;D data[MAX];int main(void){ //freopen("input.txt" , "r" , stdin); int N ; int i ;

2015-08-24 19:01:51 372

原创 1094. The Largest Generation

#include #include #include #include #include using namespace std;#define MAX 100 map > data ;int ans[MAX] ;int maxChild = 0 , maxLevel = 0 ;void bfs(int p , int level){ int i ; int

2015-08-19 19:19:24 436

原创 1081. Rational Sum

#include #include #include #include #include using namespace std;#define MAX 20 typedef struct D{ int num ; int dem ; int exp ; int sig ;}D ; //求最大公约数int gcd(int a , int b ){ re

2015-08-19 16:57:29 375

原创 1094. The Largest Generation

#include #include #include #include using namespace std ;#define MAX 256int main(void){ string data ; int con[MAX]; int souLen , desLen ; int i ; memset(con , 0 , sizeof(con)) ; //

2015-08-19 16:56:26 346

原创 1028. List Sorting

#include #include #include "string.h"#include #include using namespace std;int flag = 1 ;typedef struct D{ char ID[10] ; char name[10] ; int grade ; bool operator < (const D d)const {

2015-08-18 12:33:09 461

原创 1073. Scientific Notation

#include #include #include #include using namespace std ;int main(void){ string data ; string di , exp ; string ans = "" ; char sysDi , sysE ; int nExp ; int eIndex ; //freopen("inp

2015-08-18 11:27:04 399

原创 1025. PAT Ranking

#include #include #include "string.h"#include using namespace std;typedef struct D{ char num[20] ; int grade ; int group ; int rank ; int grank ; bool operator < (const D d )const {

2015-08-18 09:58:08 383

原创 1037. Magic Coupon

#include #include #include using namespace std ;vectorC ;vectorP ;int main(void){ int Nc , Np ; int i , j ; int sum = 0; int last = -1 ; //freopen("input.txt" , "r" , stdin); scanf

2015-08-18 09:57:16 372

原创 1071. Speech Patterns

#include #include #include #include #include #include #include using namespace std;map result ;bool isLetter(char c){ if( '0' <= c && c <= '9' || 'a' <= c && c<= 'z' || 'A' <= c && c <=

2015-08-18 09:55:16 402

原创 1036. Boys vs Girls

#include #include using namespace std ;typedef struct S{ char name[20] ; char ID[20] ; int grade ; bool operator < (const S s)const { return grade > s.grade ; }}S ;int main(void){

2015-08-18 09:54:17 462

java求两圆相交坐标

使用java求两个圆相交的坐标,下载前请参见博客:http://blog.csdn.net/u013780605/article/details/52673223,文章中有具体的过程,该资源为工程文件,可直接编译运行。

2016-09-28

stm32f10x外设库函数与驱动

这个是意法半导体的stm32f10x系列的标准外设库,按照网上的地址没有找到,这是从官网下的,最新版本,希望给大家带来帮助。

2015-11-10

安卓软件无线控制电脑

安卓软件无线遥控电脑源代码,不知道是谁写的了,望原作者原谅。源代码亲测可用,但需要自己编译。可以实现手机端实时显示电脑桌面,并可以遥控电脑。

2015-02-21

html+js兼容性很好的留言墙源码

【积分已经不受我设置了,我也改不回去了。需要的留言我发邮箱】这是html+js写出的留言墙,可以随意拖动,兼容IE,Chrome,firefox,Opera,360等浏览器。

2014-11-12

火狐浏览器完整版

这是火狐浏览器完整版,就是不需要联网安装的版本。版本号为2014年10月的。

2014-10-26

安卓滑动导航延迟加载fragment

话说最近项目遇到点问题,就是类似网易的那种tab切换fragment,但是每次fagment都会遇到下面几个问题:要么这些fragment同时初始化,要么就是刚加载好的fragment滑出界面再滑回来又重新加载了。如果你遇到这样的问题,请继续看。 项目最开始的框架源码使用的是这个帖子的:仿网易新闻客户端的导航效果,在此谢谢原作者,在你的代码上做了些许改动,还望见谅。废话少说,效果见http://www.apkbus.com/forum.php?mod=viewthread&tid=173715&extra=page%3D1

2014-06-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除