题解列表
蓝桥杯基础练习VIP-报时助手
摘要: #include
using namespace std;
string nums[]={"zero","one","two","three","four","five",……
运用string巧妙解决
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string s; while(cin>>s) { ……
题解 1461: FJ的字符串(递归)
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<string>
using namespace std;
string s;
char a[28]="AB……
可以用字符串数组的形式写
摘要:解题思路:通过字符串的形式可以直接得出长度,在者通过转换输出的方法可以直接得出想要的顺序。注意事项:需要特别注意的是字符串数组的长度不小于五,因为题目要求小于等于五位数。参考代码:#include <……