自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 第一次周训 problem J

J - Problem J 给定一个日期,输出这个日期是该年的第几天。 Input 输入数据有多组,每组占一行,数据格式为YYYY/MM/DD组成,具体参见sample input ,另外,可以向你确保所有的输入数据是合法的。 Output 对于每组输入数据,输出一行,表示该日期是该年的第几天。 程序简述:输入年月日后,用循环把前面月份的天数全加上(要判断大小月),然后加上本月份的天数。其中还要判...

2018-12-09 11:08:56 134

原创 第一次周训 A

A - Problem A One hot summer day Pete and his friend Billy decided to buy a watermelon. They chose the biggest and the ripest one, in their opinion. After that the watermelon was weighed, and the scal...

2018-12-09 10:58:16 124

原创 A + B Problem Too

Text Reverse Problem Description This problem is also a A + B problem,but it has a little difference,you should determine does (a+b) could be divided with 86.For example ,if (A+B)=98,you should outpu...

2018-12-07 15:09:34 96

原创 计算球体积

Text Reverse Problem Description 根据输入的半径值,计算球的体积。 Input 输入数据有多组,每组占一行,每行包括一个实数,表示球的半径。 Output 输出对应的球的体积,对于每组输入数据,输出一行,计算结果保留三位小数。 问题简述:计算球体积,要注意的是,结果要保留小数点后三位。 程序简述:利用球体积公式,求出球的体积。在把结果保留小数点后三位。 #incl...

2018-12-07 15:00:01 643

原创 ASCII码排序

Text Reverse Problem Description 输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。 Input 输入数据有多组,每组占一行,有三个字符组成,之间无空格。 Output 对于每组输入数据,输出一行,字符中间用一个空格分开。 问题简述 这就是简单的排序问题。 程序简述:我利用冒泡排序将三个字母进行排序。 #include <iostream&...

2018-12-07 14:53:53 156

原创 A + B Problem

Text Reverse Problem Description Calculate A + B. Input Each line will contain two integers A and B. Process to end of file. Output For each case, output A + B in one line. 问题简述:就是一题简单的加法问题。但是要注意的是,题...

2018-12-05 23:50:00 79

原创 Stones on the Table

Text Reverse Problem Description There are n stones on the table in a row, each of them can be red, green or blue. Count the minimum number of stones to take from the table so that any two neighborin...

2018-12-05 23:17:19 114

原创 George and Accommodation

Text Reverse Problem Description George has recently entered the BSUCP (Berland State University for Cool Programmers). George has a friend Alex who has also entered the university. Now they are movi...

2018-12-05 22:15:27 147

空空如也

空空如也

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

TA关注的人

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