摘要: sizeof(类型):求出所占的空间(单位(字节)) s.size():s这个字符串的长度 strlen:同上(C) 阅读全文
posted @ 2018-07-24 16:55 无言丶 阅读(142) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>#include<string.h> using namespace std; string s; #include<iostream>#include<string.h> using namespace std; string s; int n,z,len,y, 阅读全文
posted @ 2018-07-24 13:11 无言丶 阅读(100) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; string s; int n,z,len,y,a[10000],b,k; void multi(int b){ for(int i=1;i<=len;i++)a[i]*=b; for(int i=1;i<=l 阅读全文
posted @ 2018-07-24 12:55 无言丶 阅读(137) 评论(0) 推荐(0) 编辑