题解列表
数据结构-字符串连接(C语言)
摘要:#include<stdio.h>
#include<string.h>
int main()
{
char str1[100],arr1[100];
char str2[100], a……
定义两个函数,分别对应奇数和偶数的情况
摘要:解题思路:定义函数--》while循环定义--》if else语句判断。注意事项:用while循环可以完美定义结束条件。参考代码:#include<stdio.h>int O(int n){ i……
蓝桥杯算法提高VIP-删除数组中的0元素
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[1000],i,t=0; scanf("%d",&n); for(……
编写题解 1016: [编程入门]水仙花数判断
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int x,y,z; for(int a=100; a<1000; ……
蓝桥杯算法训练VIP-最长字符串(C语言)
摘要:#include <stdio.h>
#include <string.h>
int main()
{
int i;
int n = 0;
char p[100] ……
编写题解 1015: [编程入门]求和训练
摘要:解题思路:注意事项:cout<<std::fixed<<setprecision(2)<<xxx=====cout<<setiosflags(ios::fixed)<<setprecision(2)<……