guozi6

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  192 随笔 :: 0 文章 :: 1 评论 :: 3692 阅读
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

04 2023 档案

摘要:#include<stdio.h>void print(int s[]);int judge(int c[]);int j=0;int main(){ int sweet[10]={10,2,8,22,16,4,10,6,14,20}; int i,t[10],l; printf("child 1 阅读全文
posted @ 2023-04-27 20:28 汀幻 阅读(13) 评论(0) 推荐(0) 编辑

摘要:#include<iostream>#include<math.h>using namespace std;int main(){int x1,x2,x3,x5,x8,b[10];double a,max=0.0;for(x8=0;x8<=2;x8++){//穷举法找到符合条件的结果从其中一个进行将 阅读全文
posted @ 2023-04-26 21:05 汀幻 阅读(11) 评论(0) 推荐(0) 编辑

摘要:#include<iostream>#define TAXBASE 3500using namespace std;typedef struct{ long start; long end; double taxrate; }TAXTABLE;TAXTABLE taxtable[]={{0,1500 阅读全文
posted @ 2023-04-25 20:42 汀幻 阅读(14) 评论(0) 推荐(0) 编辑

摘要:#include<iostream>#define N 10using namespace std;int main(){ int i,low=0,high=N-1,mid,k=-1,m; int a[N]={-3,4,7,9,13,45,67,89,100,180}; cout <<"a数组中的数 阅读全文
posted @ 2023-04-24 20:05 汀幻 阅读(16) 评论(0) 推荐(0) 编辑

摘要:#include<iostream>using namespace std;int main(){int N=10,k=-1,mid,high=N-1,low=0,m;int a[N]={-3,4,7,9,13,45,67,89,100,180};cout<<"输入所选的值"<<endl;cin>> 阅读全文
posted @ 2023-04-21 22:33 汀幻 阅读(18) 评论(0) 推荐(0) 编辑

摘要:#include<iostream>#include<math.h>#define N 10using namespace std; int main(){int a[N]={0};for(int i=0;i<N;i++){cin>>a[i];}for(int i=1;i<=N-1;i++){for 阅读全文
posted @ 2023-04-20 18:42 汀幻 阅读(24) 评论(0) 推荐(0) 编辑

摘要:#include<iostream>using namespace std;int main(){float a,b,c,d,e;e=1000/(12*0.0063+1);d=(e+1000)/(12*0.0063+1);c=(d+1000)/(12*0.0063+1);b=(c+1000)/(12 阅读全文
posted @ 2023-04-19 22:33 汀幻 阅读(12) 评论(0) 推荐(0) 编辑

摘要:#include<iostream>#include<cmath>using namespace std;int main(){ float fact(float a,float b,float c,float d);//定义 float a,b,c,d,x; cout<<"请输入方程的系数:"<< 阅读全文
posted @ 2023-04-18 20:35 汀幻 阅读(25) 评论(0) 推荐(0) 编辑

摘要:#include<iostream>using namespace std;int main(){ int a,b,c; int i; for(a=0;a<=9;a++) { for(b=0;b<=9;b++) { for(i=31;i<100;i++) { c=i*i; if(c==1000*a+ 阅读全文
posted @ 2023-04-17 19:51 汀幻 阅读(14) 评论(0) 推荐(0) 编辑

摘要:#include<stdio.h> typedef struct data{ int year;//年 int month;//月 int day;//日} Data;int LeapYear(int year)//判断这一年是不是闰年{ if((year%4==0&&year%100!=0)||y 阅读全文
posted @ 2023-04-14 22:30 汀幻 阅读(14) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2023-04-12 17:36 汀幻 阅读(7) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示