自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

ge_rui_jun的专栏

总有一天我会爱上代码的

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

原创 USACO1.2.5 Dual Palindromes 双重回文数

一.题目要求Dual PalindromesMario Cruz (Colombia) & Hugo Rickeboer (Argentina)A number that reads the same from right to left as when read from left to right is called a palindrome. The number 123

2013-11-27 20:10:22 508 1

原创 USACO1.2.1 Milking Cows 给奶牛挤奶

一.题目要求Milking CowsThree farmers rise at 5 am each morning and head for the barn to milk three cows. The first farmer begins milking his cow at time 300 (measured in seconds after 5 am) and e

2013-11-26 17:17:31 713

原创 USACO1.1.4 Broken Necklace 破碎的项链

一.题目要求Broken NecklaceYou have a necklace of N red, white, or blue beads (3 1 2 1 2 r b b r b r r b

2013-11-25 15:58:40 1515 1

原创 USACO1.1.3 Friday the Thirteenth 13日星期五

一.题目要求Friday the ThirteenthIs Friday the 13th really an unusual event?That is, does the 13th of the month land on a Friday less often than on any other day of the week? To answer thi

2013-11-05 14:47:04 498

原创 USACO1.1.2 Greedy Gift Givers 贪婪的送礼者

一.题目要求Greedy Gift GiversA group of NP (2 ≤ NP ≤ 10) uniquely named friends has decided to exchange gifts of money. Each of these friends might or might not give some money to any or all of

2013-11-04 21:21:28 695

原创 编程过程中遇到的问题汇总2

1.主函数中int main() 最后的return 0  和  return 1  有什么区别?答:这两者都有结束程序的功能,但在一些调试程序的工具中,主函数返回0则表示函数正常结束,返回1则表示函数异常结束。

2013-09-26 16:03:32 575

原创 编程过程中遇到的问题汇总1

1. & * 的作用  放在形参里 &是干什么的?答:2.null这个东西都什么时候哪里用?答:C语言把它作为字符串的最后一个字符,以表示字符串到此结束."\0"    把一个指针赋值为NULL,通常的说法是“将指针悬空”。这样,指针就无法再进行任何数据访问了。3.为什么析构函数有的时候要写函数内容,有的时候就放在那里就好了?答:4.什么时候要用友元函数,为什么很多时候重载

2013-09-26 01:11:16 712

原创 USACO1.1.1 Your Ride Is Here 你坐的是这里

一.题目要求Your Ride Is HereIt is a well-known fact that behind every good comet is a UFO. These UFOs often come to collect loyal supporters from here on Earth. Unfortunately, they only have

2013-01-18 09:12:40 324

空空如也

空空如也

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

TA关注的人

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