摘要:
对于一个(n,n)大小的矩阵,使得对角线上的元素全为x,其他元素都是y #include<iostream> #include<vector> using namespace std; int main() { const int n=20; int x=4; int y=2; int M[n][n 阅读全文
摘要:
字符串操作 #include<iostream> #include<string> using namespace std; int main() { string name; cin>>name; cout<<"Hello ,"<<name<<endl; cout<<name.size()<<en 阅读全文