标签:code can cin nod strong tor scanf 字符 second
1、printf字符串
1 printf("%s", s,c_str());
输入字符串
1 cin >> s;
而不能用
1 scanf_s("%s", &s);
2、map的遍历
1 map<string, vector<Node>> mapp; 2 3 for (auto it : mapp) 4 { 5 string s = it.first; 6 vector<Node> v = it.second; 7 }
标签:code can cin nod strong tor scanf 字符 second
原文地址:https://www.cnblogs.com/lxc1910/p/9497555.html