05 2023 档案

摘要:#include<iostream> #include<iomanip> using namespace std; int main() { int N,i,sex,b=0,g=0;float score,aver1,aver2,aver3,b1=0.0,g1=0.0; cin>>N; for(i= 阅读全文
posted @ 2023-05-22 20:45 KuanDong24 阅读(8) 评论(0) 推荐(0) 编辑
摘要:#include<iostream> #include<math.h> using·namespace·std; int·main() { ····int·N;int·num1=0,num2=0,num3=0; ····cin>>N; ····if(N<=1000) ····{int·pork=15 阅读全文
posted @ 2023-05-17 21:17 KuanDong24 阅读(11) 评论(0) 推荐(0) 编辑
摘要:~ #include<iostream> 2 #include<string> 3 using namespace std; 4 int recostring() 5 " fint i, c, b; 6 •while (1) 7 " {cin>>i; 8 if(i>>100111<0) 9 icou 阅读全文
posted @ 2023-05-16 20:23 KuanDong24 阅读(6) 评论(0) 推荐(0) 编辑
摘要:#include<iostream> using namespace std; class CPolygon{ protected: int width,height; public: void set_values(int a,int b) {width=a;height=b;} }; class 阅读全文
posted @ 2023-05-09 20:41 KuanDong24 阅读(13) 评论(0) 推荐(0) 编辑
摘要:#include <vector> #include <iostream> int main() { std::vector<int> my_vector = {1, 2, 3}; my_vector[1] = 10; std::cout << my_vector[1] << std::endl; 阅读全文
posted @ 2023-05-05 21:48 KuanDong24 阅读(6) 评论(0) 推荐(0) 编辑