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 阅读全文
posted @ 2024-11-16 10:03 fushuxuan1 阅读(7) 评论(0) 推荐(0) 编辑
摘要:字符串类: 构造string对象和初始化#include<iostream>#include<string> using namespace std;int main(){ string s;//空串 string s1="hello,hhh";//初始化为hello,hhh string s2(" 阅读全文
posted @ 2024-11-09 08:17 fushuxuan1 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-11-02 09:58 fushuxuan1 阅读(2) 评论(0) 推荐(0) 编辑

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