蓝桥杯基础练习VIP-FJ的字符串(C++) 摘要:参考代码:#include <iostream>#include <string>using namespace std;string getAN(int n) { if (n == 1) { …… 题解列表 2023年07月12日 0 点赞 0 评论 369 浏览 评分:9.9
编写题解 1034: [编程入门]自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void fun (int n){ int i; int cnt[10]; for(i=0;i<4;i++){ cnt[3-i]=n…… 题解列表 2023年07月12日 0 点赞 0 评论 309 浏览 评分:0.0
判断数的正负 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); if(n>0) printf("posi…… 题解列表 2023年07月12日 0 点赞 0 评论 361 浏览 评分:0.0
用基本自定义函数的知识解决 编写题解 1033: [编程入门]自定义函数之字符提取 摘要:解题思路:遍历字符串数组,判断每一个字符是不是原因字母,如果是元音字母就赋值到一个新的字符数组当中。遍历完成之后,将新的字符串数组输出即可。注意事项:参考代码:#include<stdio.h>voi…… 题解列表 2023年07月12日 0 点赞 0 评论 362 浏览 评分:9.9
三角形面积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ float x1,x2,x3,y1,y2,y3,d1,d2,d3,s;…… 题解列表 2023年07月12日 0 点赞 0 评论 314 浏览 评分:0.0
鸡你太美问题(简单到会《Hello world!》的人就会) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>int main() {printf("cock=0,hen=25,chicken=75\ncock=4,hen=18,c…… 题解列表 2023年07月12日 0 点赞 1 评论 785 浏览 评分:9.9
题解 2818: 分离整数的各个数位(while循环的引入) 摘要:解题思路:还记得如何分离整数的各个数位吗?//以三位数为例 cout<<n%10<<endl; cout<<n/10%10<<endl; cout<<n/10/10%10<<endl;但本题中,…… 题解列表 2023年07月12日 1 点赞 0 评论 1385 浏览 评分:6.3
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <ctype.h> int main() { int p1, p2, p…… 题解列表 2023年07月12日 0 点赞 0 评论 457 浏览 评分:0.0
1+1=3型号计算器 摘要:解题思路:参考代码:#include<bits/stdc++.h> int choise_F(char A); int main(){ int x,y; char A; while(sc…… 题解列表 2023年07月12日 0 点赞 0 评论 617 浏览 评分:6.0
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int m,k,ans=0; cin>>m>>…… 题解列表 2023年07月12日 0 点赞 0 评论 356 浏览 评分:0.0