自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Blankj

Blankj的CSDN博客

  • 博客(23)
  • 资源 (9)
  • 收藏
  • 关注

原创 Round and Round We Go

DescriptionProblemA cyclic number is an integer n digits in length which, when multiplied by any integer from 1 to n, yields a ��cycle�� of the digits of the original number. That is, if

2014-03-30 16:23:56 1574

原创 Arne Saknussemm

DescriptionFollowing the account of Jules Verne, a scrambled message written by the middle age alchemist Arne Saknussemm, and deciphered by professor Lidenbrock, started the incredible travel to t

2014-03-30 15:12:47 679

原创 WERTYU

DescriptionA common typing error is to place the hands on the keyboard one row to the right of the correct position. So "Q" is typed as "W" and "J" is typed as "K" and so on. You are to

2014-03-30 09:04:46 935

原创 Automatic Editing

DescriptionText-processing tools like awk and sed allow you to automatically perform a sequence of editing operations based on a script. For this problem we consider the specific case in which we wa

2014-03-29 20:35:48 782

原创 Reverse Text

DescriptionIn most languages, text is written from left to right. However, there are other languages where text is read and written from right to left. As a first step towards a program that automat

2014-03-29 18:58:14 557

原创 Word Reversal

#include #include using namespace std;int main(){ int n,t; cin>>t; while(t--) { char c[1000]; cin>>n; cin.get();//去回车 while(n--) { gets(c); int len=strlen(c); for(int

2014-03-29 18:14:55 1003

原创 HTML

DescriptionIf you ever tried to read a html document on a Macintosh, you know how hard it is if no Netscape is installed.Now, who can forget to install a HTML browser? This is very easy becaus

2014-03-26 11:52:35 623

原创 Who is the Smartest Man

DescriptionCao Cao is very pround of his newly finished book named "The Book of Mengde". He thinks the book contains all the wisdom of the world. But in order to prove this, he need to prove

2014-03-25 23:45:17 785

原创 Conic Section

The conic sections are the nondegenerate curves generated by the intersections of a plane with one or two nappes of a cone. For a plane perpendicular to the axis of the cone, a circle is produced. For

2014-03-25 23:39:18 652

原创 Quicksu

DescriptionA checksum is an algorithm that scans a packet of data and returns a single number. The idea is that if the packet is changed, the checksum will also change, so checksums are often used

2014-03-25 23:36:09 535

原创 Ordinal Numbers

DescriptionOrdinal numbers refer to a position in a series. Common ordinals include zeroth, first, second, third, fourth and so on. Ordinals are not often written in words, they are written using di

2014-03-25 11:47:50 899

原创 Binary Number

DescriptionFor 2 non-negative integers x and y, f(x, y) is defined as the number of different bits in the binary format ofx and y. For example, f(2, 3)=1, f(0, 3)=2, f(5, 10)=4. Now give

2014-03-25 11:28:03 1986

原创 Wu XING

DescriptionIntroductionThe Wu Xing, or the Five Movements, Five Phases or Five Steps/Stages, are chiefly an ancient mnemonic device, in many traditional Chinese fields.The doctrine of five p

2014-03-24 21:34:49 1547

原创 Somali Pirates

DescriptionIt is said that the famous Somali Pirates hate digits. So their QQ passwords never contain any digit. Given some lines of candidate passwords, you are asked to delete all the digi

2014-03-24 20:54:51 686

原创 Clock

DescriptionIt is known that, in one day the hour hand and the minute hand of a clock meet 22 times. But in one day, how long is the time that the angle between the hour hand and the minute h

2014-03-24 20:07:19 591

原创 ICPC Score Totalizer Software

DescriptionThe International Clown and Pierrot Competition (ICPC), is one of the most distinguished and also the most popular events on earth in the show business.One of the unique features of

2014-03-24 18:13:05 556

原创 Equal Total Scores

DescriptionTaro and Hanako have numbers of cards in their hands. Each of the cards has a score on it. Taro and Hanako wish to make the total scores of their cards equal by exchanging one card

2014-03-24 16:32:02 1054

原创 Ambiguous permutations

DescriptionSome programming contest problems are really tricky: not only do they require a different output format from what you might have expected, but also the sample output does not show t

2014-03-23 19:20:48 625

原创 No Brainer

DescriptionZombies love to eat brains. Yum. InputThe first line contains a single integer n indicating the number of data sets.The following n lines each represent a data set. Ea

2014-03-23 19:14:23 548

原创 Image Perimeters

简单题oj

2014-03-23 19:10:37 938

原创 HangOver

DescriptionHow far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We're assuming that the cards must be perpe

2014-03-23 19:01:28 538

原创 Gridland

DescriptionBackgroundFor years, computer scientists have been trying to find efficient solutions to different computing problems. For some of them efficient algorithms are already available,

2014-03-23 18:53:16 739

原创 2014蓝桥杯C语言本科B组初赛试题(个人答案)

2014年3月22号蓝桥杯C语言本科B组初赛试题(个人答案)

2014-03-23 15:08:17 8445 3

C#TXT转图片

实现文本文件转为相应的图片,该文本文件必须为图片导出的文本文件

2013-10-19

C语言小学数学学习系统

要求:小学数学学习系统 要求:具有随机出题、自动评分、查看正确答案、错题重做等功能的测试系统。 [设计要求] (1) 设计程序运行界面 (2) 用户登录功能 (3) 能用菜单选择测试系统的各功能等。

2013-10-19

C语言班级管理

对一个有N个学生的班级,通过该系统实现对该班级学生的基本信息进行录入、显示、修改、删除、保存等操作的管理。 功能要求: (1)本系统采用一个包含N个数据的结构体数组,每个数据的结构应当包括:学号、姓名、性别、年龄、备注。 (2)本系统显示这样的菜单: 请选择系统功能项: a 学生基本信息录入 b 学生基本信息显示 c 学生基本信息保存 d 学生基本信息删除 e 学生基本信息修改(要求先输入密码) f 学生基本信息查询 (1)按学号查询 (2)按姓名查询 (3)按性别查询 (4)按年龄查询 g. 退出系统 (3)执行一个具体的功能之后,程序将重新显示菜单。 (4)将学生基本信息保存到文件中。 (5)进入系统之前要先输入密码。

2013-10-19

C语言括号匹配

假设表达式中只允许两种括号:圆括号和方括号,它们可以任意的嵌套,例如[()[()]]都是合法的。但是要求括号必须成对出现,像[()]或者([)]的形式都是非法的。编写一个程序,从终端输入一组括号,以字符#作为结束标志,判断输入的括号是否匹配合法。

2013-10-19

C语言分解因数

给出一个正整数a,要求分解成若干个正整数的乘积,即a = a1×a2×a3×…an,并且1<a1≤a2≤a3≤…≤an,问这样分解的方案有多少种。注意a=a也是一种分解方案。

2013-10-19

两个C语言做的计算器

用C语言设计一个简单的计算器,要求能够对输入的数 1.进行+,-,*,/,运算; 2.可以带括号( ); 3.不限定运算式的输入长度.

2013-10-19

原理图元件库及PCB封装库.rar

原理图元件库及PCB封装库,

2013-03-29

你必须知道的495个C语言问题

你必须知道的495个C语言问题

2013-03-29

空空如也

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

TA关注的人

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