#include <stdio.h>
#include <iostream>
#include <math.h>
float f(float x, float y, float z) {
float a = x * x + 9.0f / 4.0f * y * y + z * z - 1;
return a * a * a - x * x * z * z * z - 9.0f / 80.0f * y * y * z * z * z;
}
float h(float x, float z) {
for (float y = 1.0f; y >= 0.0f; y -= 0.001f)
if (f(x, y, z) <= 0.0f) {
......................
阅读全部
|
sundongnuan
贴于 2022年12月10日 20:47
hide
bbsi
#include <stdio.h>
#define A 60//树顶,以树顶为标杆
#define B 5//等差数列
void tree(int layer,int line)
{
char a = ' ',c = '*';
int x,y,z,l,d;
d=B;//等差
l=0;//用来确定打印范围
//1.画树身
for(x=0;x<layer;x++)//确定有几层
{
......................
阅读全部
|
坠空
贴于 2022年12月10日 08:05
hide
bbsi
#include <stdio.h>
int main() {
printf("我在编程中国学C语言\n\n");
// 练习一下循环的使用
int i;
for (i=1; i<=20; i++) {
printf("我爱编程中国 %d 次\n", i);
}
printf("\n\n绘制一个心形图案:");
......................
阅读全部
|
s2362938759
贴于 2022年12月5日 23:24
hide
bbsi
n = input()
m = input()
if n=='1' or m=='6':
print('钢笔')
else:
print('铅笔')
阅读全部
|
wjy20110727
贴于 2022年12月4日 12:26
hide
bbsi
n = input()
m = input()
if n=='1' or m=='6':
print('钢笔')
else:
print('铅笔')
阅读全部
|
wjy20110727
贴于 2022年12月4日 12:25
hide
bbsi
n = input()
print(n*1)
print(n*1)
print(n*1)
print(n*1)
print(n*1)
print(n*1)
print(n*1)
print(n*1)
print(n*10)
阅读全部
|
wjy20110727
贴于 2022年12月4日 12:20
hide
bbsi
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>爱心跳动,3D拖拽搬</title>
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
......................
阅读全部
|
泡泡魔王
贴于 2022年12月1日 22:09
hide
bbsi
public void EnableDHCP()
{
string ethernetDescription = "{5F632379-D5A7-4F26-89FC-C172212EDF65}";
ManagementClass wmi = new ManagementClass("Win32_NetworkAdapterConfiguration");
ManagementObjectCollection moc = wmi.GetInstances();
foreach (ManagementObject mo in moc)
{
//如果没有启用IP设置的网络设备则跳过
/* if (!(bool)mo["IPEnabled"])
continue;*/
string settingID = mo["SettingID"].ToString();
......................
阅读全部
|
巴厘岛
贴于 2022年12月1日 16:40
hide
bbsi