![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
字符串
12Dong
这个作者很懒,什么都没留下…
展开
-
shuoj 1084 字符串问题
#include #include using namespace std; bool used[1000]; int main() { string str=""; char c; memset(used,false,sizeof(used)); while(scanf("%c",&c)==1 && c!='}') { str+=c; } str+=c;//收集信息 stri原创 2017-06-14 22:05:34 · 274 阅读 · 0 评论 -
shuoj 1086 字符串+进制改变
#include #include #include using namespace std; struct network { int add[4]; }; int convert(char *p) { int ans=0; for(int i=0;i<strlen(p);i++) { ans=ans*10+(p[i]-'0'); }原创 2017-06-15 08:50:09 · 265 阅读 · 0 评论