04 2023 档案
摘要:1. # include <iostream>using namespace std;int main(){ int n,a; cin >> n; for (int i = 1;i <= n;i ++){ cin >> a; if(a % 4 == 0) printf("%d %d\n",a / 4
阅读全文
摘要:1. #include <bits/stdc++.h>using namespace std;class number{ int fz,fm; friend number operator+(number &n1,number &n2);public: number(int a=0,int b=1)
阅读全文
摘要:1. #include<iostream>using namespace std; class Shape{public:virtual double area() const=0;}; class Circle:public Shape{public:Circle(double r):radius
阅读全文
摘要:1. #include <bits/stdc++.h>using namespace std; string a, s;int b[1005], t, c[1005]; void division() { for (int i = t - 1; i >= 0; i--) { if (b[i] % 2
阅读全文
摘要:1. #include<iostream>using namespace std;#define PI 3.1415926class Shape{ public: virtual double area()=0;}; class Circle:public Shape{private:double
阅读全文
摘要:1. class Car:public Vehicle{public:Car(string no,int guest,int weight):Vehicle(no){m_no=no;m_guest=guest;m_weight=weight;}virtual int fee(){return (m_
阅读全文
摘要:1. #include<iostream>using namespace std; class Shape{ public: virtual double area() const=0;}; class Circle:public Shape{ public: Circle(double r):ra
阅读全文
摘要:1. #include<bits/stdc++.h>using namespace std;typedef long long ll;class Vehicle{protected: string NO;public: Vehicle(string str){ NO=str; } virtual v
阅读全文
摘要:1. #include "iostream"using namespace std;class Fu{public: double shi; double xv; void set() { cin>>this->shi; cin>>this->xv; } double fun1() { return
阅读全文
摘要:1. #include <bits/stdc++.h>using namespace std;class number{ int fz,fm; friend number operator+(number &n1,number &n2);public: number(int a=0,int b=1)
阅读全文
摘要:1. #include <bits/stdc++.h>using namespace std;class number{ int fz,fm; friend number operator+(number &n1,number &n2);public: number(int a=0,int b=1)
阅读全文