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 阅读全文
posted @ 2023-04-26 22:58 Verneyyx 阅读(17) 评论(0) 推荐(0) 编辑
摘要: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) 阅读全文
posted @ 2023-04-25 23:20 Verneyyx 阅读(15) 评论(0) 推荐(0) 编辑
摘要:1. #include<iostream>using namespace std; class Shape{public:virtual double area() const=0;}; class Circle:public Shape{public:Circle(double r):radius 阅读全文
posted @ 2023-04-24 22:15 Verneyyx 阅读(12) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2023-04-23 20:22 Verneyyx 阅读(10) 评论(0) 推荐(0) 编辑
摘要:1. #include<iostream>using namespace std;#define PI 3.1415926class Shape{ public: virtual double area()=0;}; class Circle:public Shape{private:double 阅读全文
posted @ 2023-04-22 21:13 Verneyyx 阅读(9) 评论(0) 推荐(0) 编辑
摘要: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_ 阅读全文
posted @ 2023-04-21 12:38 Verneyyx 阅读(12) 评论(0) 推荐(0) 编辑
摘要:1. #include<iostream>using namespace std; class Shape{ public: virtual double area() const=0;}; class Circle:public Shape{ public: Circle(double r):ra 阅读全文
posted @ 2023-04-18 22:53 Verneyyx 阅读(15) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2023-04-17 20:25 Verneyyx 阅读(15) 评论(0) 推荐(0) 编辑
摘要:1. #include "iostream"using namespace std;class Fu{public: double shi; double xv; void set() { cin>>this->shi; cin>>this->xv; } double fun1() { return 阅读全文
posted @ 2023-04-16 21:49 Verneyyx 阅读(9) 评论(0) 推荐(0) 编辑
摘要: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) 阅读全文
posted @ 2023-04-14 20:23 Verneyyx 阅读(15) 评论(0) 推荐(0) 编辑
摘要: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) 阅读全文
posted @ 2023-04-12 20:20 Verneyyx 阅读(19) 评论(0) 推荐(0) 编辑

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