自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Nothing gonna but our heart change

Keep quiet keep calm

  • 博客(7)
  • 收藏
  • 关注

原创 POJ1006 Biorhythms 题解

孙子定理 中国剩余定理 中国余数定理 POJ1006题解 Biorhythms题解

2024-01-03 16:43:35 930 1

原创 HDU1753 大明A+B题解

HDU1753题解 大明A+B题解

2023-12-07 11:16:11 368

原创 UVA 10010 - Where's Waldorf? 题解

Time limit: 3.000 seconds  Where's Waldorf? Given a m by n grid of letters, ( ), and a list of words, find the location in the grid at which the word can be found. A word match

2013-10-27 12:11:38 771

原创 循环链表实现Joseph环(约瑟夫环)猴子选大王类似问题

设有n 个人围坐在圆桌周围,现从某个位置m(1≤m≤n)上的人开始报数,报数到k 的人就站出来。下一个人,即原来的第k+1 个位置上的人,又从1 开始报数,再报数到k 的人站出来。依此重复下去,直到全部的人都站出来为止。试设计一个程序求出出列序列。这是一个使用循环链表的经典问题。因为要不断地出列,采用链表的存储形式能更好地模拟出列的情况。建立一个不带头结点的循环链表,其中的n 个人用n 个结点

2013-10-23 16:57:56 1344

原创 UVA 401 Palindromes 题解

Palindromes A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when the

2013-10-22 23:13:47 619

原创 HDU 1203 I NEED A OFFER! 题解

I NEED A OFFER!Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 13384    Accepted Submission(s): 5221Problem DescriptionSpeakless很早就想

2013-10-19 22:48:57 594

原创 顺序表链式结构实现多项式相加。参照《数据结构》中的伪代码

写了一个晚上,只是把多项式相加的实现了。#include #include #include using namespace std;#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define INFEASIBLE -1#define OVERFLOW -2typedef int BOOL;typedef

2013-10-17 22:34:48 3249 1

空空如也

空空如也

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

TA关注的人

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