自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (2)
  • 收藏
  • 关注

原创 题目1124:Digital Roots

点击打开链接 /* 时间:2014.2.16 目次: 题目1124:Digital Rootsac.jobdu.com/problem.php?pid=1124 */ #include #include int main() { char str[10001]; int i, t; while(~scanf("%s", str), str[0] - '0') { while

2014-02-16 14:17:35 1256

原创 题目1508:把字符串转换成整数

点击打开链接/* 时间:2014.2.11 目的:题目1508:把字符串转换成整数ac.jobdu.com/problem.php?pid=1508 */ #include int main() { char str[10]; int i, flag, ans, f, ff; while(~scanf("%s", str)) { f = ff = ans = flag = 0;

2014-02-11 15:28:37 1090

原创 题目1175:打牌

点击打开链接 /* 时间:2014.2.10 目的;题目1175:打牌http://ac.jobdu.com/problem.php?pid=1175 */ #include #include int main() { char str[101]; int a[10], i, len, t, f, flag; while(~scanf("%s", str))

2014-02-10 14:36:43 1300

原创 题目1511:从尾到头打印链表

点击打开链接 /* 时间:2014.2.7 目的: 题目1511:从尾到头打印链表ac.jobdu.com/problem.php?pid=1511 */ #include #include typedef struct LinkNode{ struct LinkNode*prior; struct LinkNode*next; int data; }LinkNode,*L

2014-02-07 12:54:43 937

原创 题目1184:二叉树遍历

点击打开链接 /* 时间:2014.2.6 目的:题目1184:二叉树遍历ac.jobdu.com/problem.php?pid=1184 */ #include #include #include char str[101]; typedef struct TreeNode{ struct TreeNode *left; struct TreeNode *right;

2014-02-06 20:28:18 1308

原创 题目1076:N的阶乘

点击打开链接 /* 时间:2014.2.6 目的: 题目1076:N的阶乘http://ac.jobdu.com/problem.php?pid=1076 */ #include int a[26000]; int main() { int n, i, j, len, t; while(~scanf("%d", &n)) { if(n==0)//小细节需要考虑0的!=1

2014-02-06 19:55:06 1800

原创 题目1179:阶乘

点击打开链接 /* 时间:2014.2.2 目的:题目1179:阶乘 http://ac.jobdu.com/problem.php?pid=1179 */ #include long long int fun(int n) { if(n==1) return 1; else return n*fun(n-1); } int main() { long long i

2014-02-02 11:45:52 635

原创 题目1181:遍历链表

点击打开链接 /* 时间:2014.2.2 目的: 题目1181:遍历链表http://ac.jobdu.com/problem.php?pid=1181 */ #include #include #include int cmp(const void *a,const void *b) { return *(int*)b-*(int*)a; } typedef struct Li

2014-02-02 10:48:55 1106

原创 题目1180:对称矩阵

点击打开链接 /* 时间:2014.2.2 目的: 题目1180:对称矩阵 */ #include int main() { int n,i,j,f,a[100][100]; while(~scanf("%d", &n)) { f=1; for(i=0;i<n;i++) for(j=0;j<n;j++) scanf("%d", &a[i][j]); for(

2014-02-02 10:20:15 678

原创 题目1183:守形数

点击打开链接 /* 时间:2014.2.1 目的:题目1183:守形数ac.jobdu.com/problem.php?pid=1183 */ #include int main() { int n,t; while(~scanf("%d", &n)) { t = n*n; while(t&&n) { if(t%10!=n%10) break; t

2014-02-01 23:05:22 1225

原创 题目1182:统计单词

点击打开链接 /* 时间:2014.2.1 目的: 题目1182:统计单词ac.jobdu.com/problem.php?pid=1182 */ #include int main() { char s[200]; int i,cnt; while(gets(s)) { cnt = 0; for(i=0;s[i];i++) { if(s[i] == ' '

2014-02-01 21:56:06 1143

原创 题目1187:最小年龄的3个职工

点击打开链接 /* 时间:2014.2.1 目的:题目1187:最小年龄的3个职工http://ac.jobdu.com/problem.php?pid=1187 */ #include #include #include typedef struct ZG{ int ID; char name[11]; int age; }ZG; ZG zg[30]; int cmp(c

2014-02-01 21:15:44 1101

原创 题目1186:打印日期

点击打开链接 /* 时间:2013.2.1 目的:题目1186:打印日期http://ac.jobdu.com/problem.php?pid=1186 */ #include int Month[13] = {13,31,28,31,30,31,30,31,31,30,31,30,31}; int main() { int year, day, i; int ye[4],yu[2],

2014-02-01 18:38:35 1009

JPEG图像获取GPS数据

关于如何用c++多JPEG图像文件提取GPS数据,具体细节参照我博客

2015-10-26

操作系统课件

经典操作系统课件啊,里面的课件都很经典,包括对操作系统的每个部分,都分析的很透彻,精辟

2012-10-06

空空如也

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

TA关注的人

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