题解列表
蓝桥杯算法训练VIP-学生成绩(c语言)
摘要:```c
#include
#include
typedef struct student
{
char name[20];
char sex[7];
int age;
int……
编写题解 2808: 买房子
摘要:解题思路:程序通过输入流Scanner读取年薪N和房价增长率K,并采用了一个循环结构,每年将年薪积攒到手头的积蓄中,然后判断积蓄是否足够买房子,如果足够则输出年份并退出程序。如果到了第20年仍然买不起……
阿尔法乘积(c语言代码)
摘要:```c
#include
//4018224312 → 4 * 1 * 8 * 2 * 2 * 4 * 3 * 1 * 2 → 3072 → 3 * 7 * 2 → 42 → ……
字符串输入输出函数(c语言)输出格式有大坑!
摘要:```c
#include
void GetReal(char*);
void GetString(char*);
int main()
{
char real[1000] = ……
最长字符串(c语言代码 简单易理解 有详细注释)
摘要:```c
#include
#include
int main()
{
char str[500] = { 0 };//用来存放输入的字符串
gets(str);
int ……
字符串比较(c实现strcmp)
摘要:```c
#include
int my_strcmp(char*, char*);
int main()
{
char str1[100] = { 0 }, str2[100] = ……
字符串中间和后边*号删除--简单易懂(c语言代码)
摘要:```c
#include
#include
int fun(char* a)
{
while (*a == '*')
{
a++;//找到第一个字母……
反置数(c语言)正确%90的看!
摘要:```c
#include
int reverse_num(int);
int main()
{
int a, b;
scanf("%d%d", &a, &b);
a = ……