指针数组法(直接翻译题意) 摘要:解题思路:将题干中出现的数字的英文单词对应储存在数组中,再对应输出注意事项:参考代码:#include<stdio.h>int main(){ char *a[60]={"zero","one","t…… 题解列表 2023年01月11日 0 点赞 0 评论 469 浏览 评分:9.9
3种方法教你求最大值-C++语言 摘要:> ***解题思路:设置变量 第一种:使用if条件判断语句 第二种:引入布尔常量 第三种:使用三目运算符【~~划重点~~】* **参考代码:第一种:使用if条件判断语句 注:这是初学者最常…… 题解列表 2023年01月11日 0 点赞 1 评论 257 浏览 评分:9.9
1855: 输出字符'A'个数 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; for(int i=1;i…… 题解列表 2023年01月12日 0 点赞 0 评论 292 浏览 评分:9.9
1780: 字符与它对应的ASC码 摘要:```cpp #include using namespace std; int main() { char ch; ch=getchar(); cout…… 题解列表 2023年01月12日 0 点赞 0 评论 362 浏览 评分:9.9
1620: 蓝桥杯算法训练VIP-字符串的展开 摘要:```cpp #include using namespace std; int p1,p2,p3,i=0,k; char ch[300],be,af,f,j,p; int main() …… 题解列表 2023年01月12日 0 点赞 0 评论 296 浏览 评分:9.9
1586: 蓝桥杯算法训练VIP-A+B problem 摘要:简单的A+B问题 ```cpp #include using namespace std; int main() { int a,b; cin>>a>>b; c…… 题解列表 2023年01月12日 1 点赞 0 评论 198 浏览 评分:9.9
1093: 字符逆序 摘要:只需将字符数组倒过来输出就行了 ```cpp #include #include using namespace std; int main() { char ch[101];…… 题解列表 2023年01月12日 0 点赞 0 评论 229 浏览 评分:9.9
1095: The 3n + 1 problem 摘要:```cpp #include #include using namespace std; int fun(int num) { int count=1; while(n…… 题解列表 2023年01月12日 0 点赞 0 评论 259 浏览 评分:9.9
1309: 表达式计算3 摘要:```cpp #include #include #include using namespace std; char ss1[2]={'+','-'},ss2[2]={'*','/'},s…… 题解列表 2023年01月12日 0 点赞 0 评论 334 浏览 评分:9.9
1631: 蓝桥杯算法训练VIP-数位分离 摘要:```cpp #include using namespace std; int main() { int n,a,b,c; cin>>n; a=n%10,b=n…… 题解列表 2023年01月12日 0 点赞 0 评论 217 浏览 评分:9.9