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=
阅读全文
摘要:#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
阅读全文
摘要:~ #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
阅读全文
摘要:#include<iostream> using namespace std; class CPolygon{ protected: int width,height; public: void set_values(int a,int b) {width=a;height=b;} }; class
阅读全文
摘要:#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;
阅读全文