上一页 1 ··· 22 23 24 25 26
摘要: #include <bits/stdc++.h> using namespace std; int convert2ten(int a,int num)//将a进制转换为十进制{ int b=0; int t; int i=0; while(num!=0) { t=num%10; num=num/1 阅读全文
posted @ 2023-04-15 11:20 a_true 阅读(12) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ int cock, hen, chicken; for (cock = 0; cock <= 20; cock++) { for (hen = 0; hen <= 33; hen++) { chick 阅读全文
posted @ 2023-04-13 13:35 a_true 阅读(21) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std; class Complex{public: Complex(double r = 0, double i = 0) :real(r), imag(i) { } Complex operator+(Complex& c2) 阅读全文
posted @ 2023-04-12 12:43 a_true 阅读(47) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26