信息奥赛学习网

归档

2023 年 05 月

#include<bits/stdc++.h>using namespace std;const int m = 10; //树的度typedef struct node Node;typedef node *tree;struct node{char data;

2023-05-06

#include<bits/stdc++.h>using namespace std;struct student{//成员变量string name;int x,y;//无参数构造函数student(){}//带参数构造函数student(int x1,int y1):x(x1),y(

2023 年 03 月

2023-03-07

1198:逆波兰表达式1201:菲波那契数列1202:Pell数列1204:爬楼梯1205:汉诺塔问题1207:求最大公约数问题1208:2的幂次方表示

2023-03-04

传值与传地址#include<bits/stdc++.h>using namespace std;//传值void f1(int a,int b){int t=a;a=b;b=t;}//传地址void f2(int &a,int &b){int t=a;a=b;b=t;}

2023 年 02 月

#include<bits/stdc++.h>using namespace std;int main(){//char t='a';//cout<<(int)t<<endl; //输出ascii码char a[100]="hello w

2022 年 12 月

2022 年 11 月