自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 C语言 online judge Problem E: 求圆的面积和周长

Description 从键盘输入圆的半径,求圆的面积和周长,圆周率取3.14。 Input 输入一个浮点型数据,有效数字不会超过十进制的6位。 Output 输出为两行。 第一行为圆的面积,第二行为圆的周长,格式见sample。 Sample Input 3 Sample Output Area: 28.260000 Perimeter: 18.840000 HINT 了解浮点类型的输入、输出和算术运算符 Append Code Submit #include<stdio.h> int mai

2020-10-22 19:31:31 677

原创 Problem D: 算术基本运算

Description 计算两整数x和y(0<x,y<1000)的和、差、积、商、余数、x的平方和y的三次方。 Input 输入只有一行,格式见sample。 Output 输出为多行,按顺序每行输出x,y的和、差、积、商、余数、x的平方和y的三次方,格式见sample Sample Input x = 11, y = 3 `` Sample Output ```c x + y : 14 x - y : 8 x * y : 33 x / y quotient: 3, remainder: 2

2020-10-22 19:21:36 699

原创 Problem C: Hello world!

Description Xiao_ming有两个哥哥,大哥叫Da_min,二哥叫Er_min。三兄弟放学回家,父母分别跟他们打招呼。 Input 无 Output 请输出: Hello Da_min, Hello Er_min, Hello Xiao_ming! Sample Input Sample Output Hello Da_min, Hello Er_min, Hello Xiao_ming! HINT 请注意换行符 Append Code Submit #include<stdio.

2020-10-22 19:13:54 185

原创 Problem B:I/O练习

Problem B: I/O练习 Description I/O是Input/Output的缩写,是“输入与输出”的意思。 从键盘输入一个整数,然后输出这个整数。 Input 一个整数,在int类型的表示范围内。 Output 输入的整数。 Sample Input 10 Sample Output 10 HINT Append Code Submit #include<stdio.h> int main() { int a=0;//定义变量a scanf("%d",&a

2020-10-20 22:11:56 212

原创 Problem A:问候世界

问候世界 :Hello world Description 输出:Hello world Input 无 Output Hello world Sample Input Sample Output Hello world HINT Append Code Submit #include<stdio.h> //主函数 int main() //定义主函数 { printf("Hello world!\n");//输出 return 0;//返回函数值为0 }//结束

2020-10-20 21:52:31 106

空空如也

空空如也

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

TA关注的人

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