#include <stdio.h>
int main()
{
const float pi = 3.1416f;
float r, l;
scanf("%f %f", &l, &r);
printf("%.2f\n", pi*r*r + 2 * r*l);
return 0;
}
阅读全部
|
gougoudan
贴于 2020年6月24日 09:50
hide
bbsi
#include <stdio.h>
int main()
{
const float pi = 3.1416f;
float r, l;
scanf("%f %f", &l, &r);
printf("%.2f", pi*r*r + 2 * r*l);
return 0;
}
阅读全部
|
gougoudan
贴于 2020年6月24日 09:49
hide
bbsi
print("我在中国学Python\n")
# 练习一下循环的使用
for i in range(1, 21):
print("我爱编程中国 {0} 次".format(i))
阅读全部
|
xxwyyf007
贴于 2020年6月23日 20:39
hide
bbsi
package practice;
public class Four_Fortyfive_Array_User {
//数组空间
static Four_Fortyfive_Object_User[] Array=new Four_Fortyfive_Object_User[0];
//有效数据个数
static int num=0;
public Four_Fortyfive_Array_User(){
insert(new Four_Fortyfive_Object_User("张三","123456","17788888888"));
insert(new Four_Fortyfive_Object_User("李四","123456","17788888888"));
......................
阅读全部
|
诺亚1998
贴于 2020年6月23日 11:15
hide
bbsi
C语言初学者,请问这是啥意思,有啥子用呀
int m;
m = *a;
*a = *b;
*b = m;
阅读全部
|
wegame
贴于 2020年6月23日 00:08
show
bbsi
#include <stdio.h>
bool isPrime_2(int n){
if ((n == 2) || (n == 3)) return 1;
if ((n % 6 != 1) && (n % 6 != 5)) return 0;
for (int i = 5; i*i <= n; i += 6){
if ((n%i == 0) || (n % (i + 2) == 0))
return 0;
}
return 1;
}
void xuanxian2(int n, int m)
......................
阅读全部
|
gougoudan
贴于 2020年6月20日 18:06
hide
bbsi
ELF Header
Class: ELF32
Encoding: Little endian
ELFVersion: Current
Type: Shared object file
Machine: Intel 80386
Version: Current
Entry: 0x4d0
Flags: 0x0
Section Headers: Size=1d
......................
阅读全部
|
YT_zhai
贴于 2020年6月20日 12:24
hide
bbsi
/*
-----#####------#--------#--------#####------
----#-----#-----#--------#-------#-----------
---#------------#--------#------#------------
---#------------##########------#------------
---#--######----#--------#------#--######----
---#-----#------#--------#------#-----#------
----#----#------#--------#-------#----#------
-----#####------#--------#--------#####------
*/
//完整版下载链接:https://www.easeye.xyz/hack.html
......................
阅读全部
|
Nictheboy
贴于 2020年6月19日 15:06
hide
bbsi