11 2024 档案
摘要:#include <bits/stdc++.h> using namespace std; int main(){ int a[8]; int t,L=0,R=4,M=0; cin>>t; for(int i=0;i<8;i++){ cin>>a[i]; } int x=1000; // 1 2 2
阅读全文
摘要:字符串类: 构造string对象和初始化#include<iostream>#include<string> using namespace std;int main(){ string s;//空串 string s1="hello,hhh";//初始化为hello,hhh string s2("
阅读全文