摘要:        
对于一个(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    阅读全文
posted @ 2019-08-28 17:43
Wangtn
阅读(233)
评论(0)
推荐(0)
        
            
        
        
摘要:        
字符串操作 #include<iostream> #include<string> using namespace std; int main() { string name; cin>>name; cout<<"Hello ,"<<name<<endl; cout<<name.size()<<en    阅读全文
posted @ 2019-08-28 16:56
Wangtn
阅读(344)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号