题解列表
编写题解 1032: [编程入门]自定义函数之字符串连接
摘要:解题思路:用strcat()函数注意事项:参考代码:#include <stdio.h>
#include <string.h>
int main()
{
char a[100……
题解 1058: 二级C语言-求偶数和(C)
摘要:参考代码:#include<stdio.h>
int main(void){
int num;
scanf("%d",&num);
int array[num];
int ……
题解 1057: 二级C语言-分段函数(C)
摘要:解题思路:if嵌套选择即可解决参考代码:#include<stdio.h>
int main(void){
float x,y;
scanf("%f",&x);
if(x<1)……
题解 1056: 二级C语言-温度转换(C)
摘要:解题思路:注意数据类型用float最后输出正确的格式即可。参考代码:#include<stdio.h>
int main(void){
float F,C;
scanf("%f",&F)……
编写题解 1031: [编程入门]自定义函数之字符串反转
摘要:解题思路:会用到的标准库函数,gets(),puts(),strlen(),前两个是在头文件stdio.h中,后一个是在string.h里,用法如下: 1、gets():与scanf("……
题解 1055: 二级C语言-进制转换
摘要:解题思路:没啥好说的,不明白为什么会放到数组的课后题。参考代码:#include<stdio.h>
int main(void){
int num;
scanf("%d",&num);
……
可以使用递归的思想输出正反序列
摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "math.h"void fun(int p,int a){ if(p==0) return ; if(……
1031: [编程入门]自定义函数之字符串反转(C)
摘要:解题思路:a=123abc ->exchang()->b=cba321->strcat()注意事项:b[j] = '\0';参考代码:#include<stdio.h>
#inclu……
C# 蓝桥杯算法提高VIP-扑克排序
摘要:```cpp
#include
using namespace std;
struct fun
{
char qw;
char qe;
int qa;
int qs;
};
……